Phil, or anyone--
Was there ever a solution for this? I am having the same problem & can't figure it out. Your help is appreciated.
-Sullo
Phil Le Sueur wrote:
I have successfully configured php as an NSAPI module in Netscape Enterprise Server and when I access a test script the php in it is executed correctly.
However if I try to browse to a php script which doesn't exist, I get the following message:
Warning: Failed opening '/xxx.php' for inclusion (include_path='.:/usr/local/lib') in Unknown on line 0
instead of an HTTP 404 error.
If I turn off displaying of errors (display_errors = Off in php.ini), the server returns nothing at all (but still thinks the request has succeeded).
Is there any way of getting PHP to return a 404 not found error for a request for a php file which doesn't exist?