httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Ionescu <bobsie...@googlemail.com>
Subject Re: [users@httpd] exclude errorDocument from authentication
Date Mon, 02 Mar 2009 18:15:40 GMT
2009/3/2  <thomas.black@accenture.com>:
> Given that I have a root “<location />” locked down with authentication and
> that I want a custom "ErrorDocument 401 /register.html", how can I exclude
> the /register.html page from the authentication location pattern?

You can to override the setting with another location section:

<Location />
    ....
</Location>

<Location /register.html>
    Order deny,allow
    Allow from all
    Satisfy any
</Location>


Bob

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message