User Authorization Not Working

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

 



I maintain a 2.2 server and am building a 2.4 one. I have a file in a
sites-enabled directory containing all the directives I need to define
security for my open and password-protected directories. There is an
"include" directive in the master configuration file
/etc/httpd/conf/httpd.conf. httpd -t tells me the syntax is OK. I know
it's reading the included config file because there was an error in it
which 'httpd -t' found and which I fixed. The open-access area works
fine, but the password-protected one doesn't. Here's the "Directory"
block for the non-working one, with pathnames replaced with the
generic "MyDir":

<Directory /MyDir>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
		AuthType Basic
		AuthName "My Area"
		AuthBasicProvider file
		AuthUserFile /MyDir/.htpasswd
		require valid-user
        </Directory>

Any thoughts greatly appreciated, with my thanks in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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