[Wolves] password protect a directory on my site

Baza baza at themauvezone.fsnet.co.uk
Mon Feb 27 21:07:42 GMT 2006


On 27 Feb 2006, at 20:30, Wayne Morris wrote:

> Baza wrote:
>
>> Hi folks,
>>
>> I'm trying to password protect a directory in /var/www/ 
>> passwordthisone
>>
>> I've dropped this .htaccess file into passwordthisone
>>
>> AuthUserFile /home/user/.htpasswd
>> AuthGroupFile /dev/null
>> AuthName "Private Area"
>> AuthType Basic
>> <Limit GET POST>
>> require valid-user
>> </Limit>
>>
>> and i've set a password for user, but it still seems to let anyone  
>> in  without asking for the password, what am I doing wrong?
>>
>> Baza
>
> Have you edited your httpd.conf to show AllowOveride AuthConfig?  
> similar to this
>
> Directory "/usr/local/apache/htdocs/admin">
>    AllowOverride AuthConfig
>    Options Indexes FollowSymLinks Includes
>    Order allow,deny
>    Allow from all
> </Directory>
>
> This is a useful tutorial
> http://www.linuxhelp.ca/guides/htaccess/
>
>


I'm using apache2; I've had a look through apache2.conf, but can't  
see a section that looks like that.


Baza
-------------------------
http://walkertopia.com
-------------------------
Eagles may soar high, but weasels don't get sucked into jet engines.






More information about the Wolves mailing list