apache 404 handler

From: Date: Mon, 23 Apr 2001 09:44:16 +0000
Subject: apache 404 handler
Groups: php.windows 
Request: Send a blank email to php-windows+get-6978@lists.php.net to get a copy of this message
Hi, I know this is slightly off topic but I thought people using apache on windows might well be able to help me out... I have edited my httpd.conf file so that it now contains the line: ErrorDocument 404 /404handler.php This means that if someone goes to a dummy URL (which doesn't exist) on my site then a php page can redirect them to the relevant place. It works fine on netscape but IE notices that a 404 is being returned and prints out a default 404 page instead of what apache has returned. I can avoid this if I disable "Show friendly HTTP errors" in my "Internet Options" in IE but I can't rely on my users doing this. When you are using IIS and you change the default error page then IE doesn't have this problem. Has anyone come across this before and know a work around? Thanks in advance for any ideas, Kelvin.

« previous php.windows (#6978) next »