Re: Password protect all but one directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 23, 2011 at 5:40 PM, Jon Drukman <jsd@xxxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux