Author Login
Post Reply
I'm trying to password protect my entire site, but leave the URI /ping open for
the load balancer healthcheck. Here is my configuration:
SetEnvIf Request_URI "^/ping" allow_access=1
<Location />
Order Deny,Allow
Deny from all
Allow from env=allow_access
authuserfile /etc/httpd/conf.d/passwd
AuthDigestDomain http://mydomain.com/
AuthType digest
AuthName "Protected Website"
require valid-user
Satisfy any
</Location>
This doesn't work. Requests for /ping are still requiring digest
authentication, and if I go directly to the machine bypassing the load balancer,
I get prompted for a password repeatedly. Entering the correct user/pass pair
doesn't work, it just keeps popping the auth box over and over.
What am I doing wrong?
Apache 2.2.15 on CentOS 5
-jsd-
---------------------------------------------------------------------
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@(protected)
" from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)