Re: FilesMatch Problem

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

 



Thanks for the reply. I tried a few things and I guess I don't really
understand where to use it. I can't use it in the directory outer
directory block as that would give access to the entire thing. When I
use it within the FilesMatch block it does something weird. It displays
the page but still puts up the authentication window. I can cancel the
window and go on but that doesn't help.

On 3/14/2011 7:22 PM, Igor Cicimov wrote:
> http://wiki.apache.org/httpd/BypassAuthenticationOrAuthorizationRequirements
>
> Check the Satisfy directive.
>
> On Tue, Mar 15, 2011 at 10:17 AM, Dennis Putnam <dap1@xxxxxxxxxxxxx
> <mailto:dap1@xxxxxxxxxxxxx>> wrote:
>
>     Sometimes the config file seems like black magic and I am no
>     magician. I
>     have a password required for one of my directories but I need for a
>     couple of files to be unprotected. The authorization works just
>     fine but
>     it also requires authorization for the FilesMatch files. Here is my
>     config file for that directory:
>
>     <Directory "/var/www/html/cufs">
>     AuthName "xxxxxxxxx"
>     AuthType Basic
>     AuthMySQLUser xxxxxxxx
>     AuthMySQLPassword xxxxxxxxx
>     AuthMySQLEnable on
>     AuthMySQLPwEncryption scrambled
>     AuthMySQLDB cufsalumni
>     AuthMySQLUserTable alumni
>     AuthMySQLNameField username
>     AuthMySQLPasswordField pwdp
>     require valid-user
>     <FilesMatch "index.htm,cufslogin.html,cufsregister.php">
>     allow from all
>     </FilesMatch>
>     </Directory>
>
>     Is there some directive I need to add to turn off authentication for
>     these files? Thanks.
>
>


Attachment: signature.asc
Description: OpenPGP digital signature


[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