RE: CGI error?
| From: | Fernando Madruga | Date: | Fri, 09 Mar 2001 17:01:35 +0000 |
| Subject: | RE: CGI error? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5916@lists.php.net to get a copy of this message | ||
Do you NEED to run PHP instead of using mod_php? I use mod_php and I get my
error handler executed if the .php file requested does not exists...
Besides, using mod_php is faster than running the external php.exe... :)
HTH,
Fernando Madruga
-----Original Message-----
From: OoCobra97@aol.com [mailto:OoCobra97@aol.com]
Sent: sexta-feira, 9 de Março de 2001 5:00
To: php-windows@lists.php.net
Subject: CGI error?
Hello everyone,
This may be a simple answer, but ive looked through php.net and apache.org.
I have both ISS5 and Apache on my windows 2000 machine.
IIS5 has a setting under the extention mappings that let the server check if
a file exists before sending it to the php executable...that way I get a 404
not found error instead of CGI Error: ect...
Is there a setting similar to this that I can set in apache or php. I
simply
want a 404 errordocument to be shown if a php file is not on my server
instead of the current CGI Error (in apache). Thanks for any help!
~Jeff