RE: [PHP] Sorry - Way OT but I need helpIf you place something like:

ErrorDocument 404 /errors/404.php

inside your .htaccess file and then create a file called 404.php in the
errors directory it should work.

You can also echo plain text to he screen using

ErrorDocument 404 "Error Message Goes Here....."

HTH

Andy Woolley
www.databasewatch.com


----- Original Message -----
From: Boget, Chris
To: 'Andy Woolley' ; [EMAIL PROTECTED]
Sent: Monday, April 09, 2001 7:57 PM
Subject: RE: [PHP] Sorry - Way OT but I need help


> I know this has nowt to do with PHP so I'll keep it as short
> as possible.
> My problem is, I'd like to get 404 error redirecting to work
> in IE under Apache. I've set the ErrorDocument in apache.conf
> and in .htaccess. It works in Netscape et al but not in IE.
> IE seems to be issuing it's own error page. I know there must
> be a config somewhere other than the client side "Show friendly
> error messages", but can't seem to find it. I have RTFM and
> scanned the Web but still not found it. Hope you can help.
> Once again I apologize for being Off Topic.

Does someone have an example of how to do this within .htaccess?
I've tried everything and all I ever get is an Internal Server Error
when the .htaccess file is in place... :/

Chris


-- 
PHP General 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]

Reply via email to