404 pages aren't being served for incorrect urls ending in .php

Associate
Joined
25 Oct 2002
Posts
488
Location
Brighton
I have a weird problem on a clients server. If you type in an incorrect url which ends in .php it doesnt show a 404 page and returns a blank page with a 200 header.

www.example.com/nothere/ - gives servers 404 page
www.example.com/nothere.html - gives servers 404 page
www.example.com/nothere.php - gives blank page with 200 header.

Any ideas what is causing this? disabled all my htacess and i removed my CMS files...
 
directories and html files that dont exist get forwarded to the error page specified (the url actually changes, I thought it just serves that file but the url should stay the same?)

php files that dont exist still produce a blank white page
 
Back
Top Bottom