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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 9 de Março de 2001 5:00 To: [EMAIL PROTECTED] 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 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]