On Wed, Feb 23, 2011 at 5:40 PM, Jon Drukman <[email protected]> wrote: > I want to password protect my entire site, except for one URL (which is needed > for a load balancer health check). I've done this: > > <Location /> > AuthType Digest > AuthName "password protected" > AuthUserFile /srv/passwd.digest > Require valid-user > </Location> > > <Location /ping> > Satisfy any > Allow from all > </Location> > > > It doesn't work. Requests for /ping are still requiring password > authentication. > > Is there a way to make this work? > >
<LocationMatch ^(?!/ping) AuthType Digest AuthName "password protected" AuthUserFile /srv/passwd.digest Require valid-user </LocationMatch> Cheers Tom --------------------------------------------------------------------- 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]
