This does not seem to work for some reason. I tried putting the override
<location> section above, then below the authenticated <location> section,
but always got the standard 401 page versus the custom register.html page.
It also appeared that maybe the proxy configuration of one location is being
applied to both. Is this possible?
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "D:/java/Apache2.2-file/htdocs"
ServerName dummy-host.accenture.com
ServerAlias www.dummy-host.accenture.com
ErrorLog "logs/dummy-host.accenture.com-error.log"
CustomLog "logs/dummy-host.accenture.com-access.log" common
<Location / >
Options None
Order allow,deny
Allow from all
AuthName "Network Login"
AuthType Digest
AuthDigestProvider file
AuthUserFile D:/java/Apache2.2-file/conf/.htdigest
Require valid-user
ProxyPass http://localhost:8080/
ProxyPassreverse http://localhost:8080/
</Location>
<Location /register.html >
Order deny,allow
Allow from all
Satisfy Any
</Location>
</VirtualHost>
Bob Ionescu wrote:
>
> 2009/3/2 <[email protected]>:
>> 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: [email protected]
> " from the digest: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/exclude-errorDocument-from-authentication-tp22255632p22312792.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]