[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] HTACCESS
- Subject: Re: [cobalt-users] HTACCESS
- From: "Audric Leperdi" <aleperdi@xxxxxxxxxxxxx>
- Date: Fri Jun 23 08:44:45 2000
- Organization: evolutiva srl
To start:
/home/sites/home/cgi-bin/pw/.htpasswd
/home/sites/home/cgi-bin/.htpasswd
they differ so make up your mind.
Then you can check in the archive for other many threads about the content
of .htaccess
If your lazy try this:
order allow,deny
allow from all
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/home/cgi-bin/.htpasswd
Authname Secured_Zone
<Files ".ht*">
deny from all
</Files>
<Limit GET POST>
require valid-user
</Limit>
have fun
Audric
----- Original Message -----
From: Howard
To: cobalt-users@xxxxxxxxxxxxxxx
Sent: Friday, June 23, 2000 4:39 PM
Subject: [cobalt-users] HTACCESS
Here's a good one that I can't figure out:
I have :
/home/sites/home/cgi-bin/pw/
I want to password protect this directory.
I have:
.htaccess:
require valid-user
AuthName EnterPW
AuthType Basic
AuthUserFile /home/sites/home/cgi-bin/pw/.htpasswd
I then did usr/sbin/htpasswd -c /home/sites/home/cgi-bin/.htpasswd username
However, when the password box comes up. It doesn't work.
Any ideas why?
Thanks