php-windows | 2001042
Date: 04/23/01
- Next message: Piotr Pluciennik: "Re: [PHP-WIN] Installing GDLib"
- Previous message: Daniel Sichta: "[PHP-WIN] Interbase again"
- Next in thread: Ben Cairns: "RE: [PHP-WIN] apache 404 handler"
- Maybe reply: Ben Cairns: "RE: [PHP-WIN] apache 404 handler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe <email protected> For additional commands, e-mail: php-windows-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Piotr Pluciennik: "Re: [PHP-WIN] Installing GDLib"
- Previous message: Daniel Sichta: "[PHP-WIN] Interbase again"
- Next in thread: Ben Cairns: "RE: [PHP-WIN] apache 404 handler"
- Maybe reply: Ben Cairns: "RE: [PHP-WIN] apache 404 handler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

