[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] .htaccess issue
- Subject: [cobalt-users] .htaccess issue
- From: "Paul Mullett" <paul.mullett@xxxxxxxxxxxxxxxxxx>
- Date: Tue Dec 11 02:02:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello,
I wonder if anyone can shed any light on this for me. I have a RaQ4i
dedicated server with Verio in the UK, and I am having trouble with the
.htaccess settings.
I am using the .htaccess files with no problem when it comes to turning off
directory snooping, making Symlinks and denying IP addresses access etc.
BUT, my problem is as soon as I try to use htpasswd it's falls flat on it's
face. That is to say, I create the .htaccess file in a sub-directory which
looks like this:
order allow,deny
allow from all
require valid-user
AuthName "Private Area"
Authtype basic
AuthUserFile /home/sites/site1/web/whateverfolder/.htpasswd
AccessList
AuthPAM_Enabled off
I then create the auth file using:
htpasswd -c .htpasswd username
As far as I can tell this is correct. I then attempt to access the password
protected folder (which I could access with no problems before creating the
.htaccess file) and I am strangely greeted with a Cannot find server or DNS
Error message?! When I remove the htaccess file, it works again.
I believe I have changed all the conf files correctly and I have read all
that I can. As I say it works for symlinks etc, but not for password
protecting.
Any help greatly appreciated.
Paul Mullett