httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Miller" <srmil...@interbel.net>
Subject Re: .htaccess file
Date Wed, 13 Mar 2002 22:16:19 GMT
allow/override was not set correctly.  I changed it to:

<Directory />
AllowOverride All
</Directory>

And it worked great.  I also removed the ref to ErrorDocument 401

Thanks!
Scott

----- Original Message -----
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>
Sent: Wednesday, March 13, 2002 2:31 PM
Subject: Re: .htaccess file


> 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


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.336 / Virus Database: 188 - Release Date: 3/11/2002


---------------------------------------------------------------------
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