httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: .htaccess file
Date Wed, 13 Mar 2002 21:31:06 GMT
Scott Miller wrote:
> I'm trying to create a .htaccess file with the following:
> 
> ErrorDocument 404 http://www.domain.com/404.html
> ErrorDocument 401 http://www.domain.com/401.html
> ErrorDocument 403 http://www.domain.com/403.html
> ErrorDocument 500 http://www.domain.com/500.html
> 
> but for some reason it is not working.  Is there something extra that needs
> to be done to apache to make these work?

What does "not working" mean?  Do you have AllowOverride set correctly 
in httpd.conf for the relevant directory?

In addition, please read the documentation for ErrorDocument.  The 
ErrorDocument 401 format that you are using is explictly forbidden.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message