added default body for error pages
handle gif files as static files