fixes issues php short-open tag problem, and correct 404 method for
serve static content