Re: Sorry - Way OT but I need help
| From: | Andy Woolley | Date: | Tue, 10 Apr 2001 09:05:02 +0000 |
| Subject: | Re: Sorry - Way OT but I need help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47983@lists.php.net to get a copy of this message | ||
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' ; php-general@lists.php.net
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