Problem with mod_auth

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

 



Title: Problem with mod_auth

I have this docroot i want to password protect, but I want to bypass authentication for certain URL requests.

I have this for a vhost:

 <Directory "/usr/local/sites/someproj.prod/htdocs">
                AllowOverride None
                AuthName "SomeProject: Authorized Access Only"
                AuthType Basic
                AuthUserFile /usr/local/sites/someproj.htpasswd
                Require valid-user
          <FilesMatch "\.(png|gif|flv|js)$">
                Allow from all
          </FilesMatch>
                Satisfy any
        </Directory>
I can confirm that the htpasswd file is there.

When i go to vhost url i bypass all authentication, same for when i pass the URL request i want bypassing authentication.


[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