[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Password protection problems
- Subject: Re: [cobalt-users] Password protection problems
- From: "Fathi Said" <fathi@xxxxxx>
- Date: Mon Feb 7 09:27:56 2000
- Organization: Hosting-Network, Inc.
Hi
Add the following to your htaccess file and it will work:
Authname 'Restricted Stuff'
AuthPAM_Enabled off
Regards,
Fathi
----- Original Message -----
From: Rik Thomas <rikt@xxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, February 07, 2000 6:17 PM
Subject: Re: [cobalt-users] Password protection problems
>
> First and most importantly, you are asking for security problems keeping
> your .htpasswd there. Keep it in /home/sites/mysite.
>
> Next for some reason on the RAQs the only way we have successfully done
> this is to have the user that needs to be authenticated as a user on the
> system. Don't ask me but that is the only way it was worked for us.
> Kinda lame.
>
> I seem to recall in the knowledgebase that it wasn't a requirement.
> But it is on on our boxes.
>
>
> On Sat, 5 Feb 2000, Simon Pierce wrote:
>
> > I'm having BIG problems password protecting a directory. I have ween
working on it for nearly two months now and still to no avail.
> >
> > Basically, I have set up a .htaccess file and .htpasswd file. Everything
seems OK until I try to visit the directory. On inputting my user name and
password in my browser window I am prompted to do it again, and again, until
I am presented with an access denied message. The server my account is on is
a Cobalt RAQ and here is the contents of my .htaccess and .htpasswd files
(for security reasons I've masked out the password with question marks and
changed the path to the directory in this example):
> >
> > .htaccess:
> >
> > order allow,deny
> > allow from all
> > require valid-user
> > AuthType Basic
> > AuthName "Restricted stuff"
> > AuthUserFile
/home/sites/mysite/web/cgi-bin/directory/directory/.htpasswd
> >
> >
> >
> > .htpasswd:
> >
> > myusername:mypassword
> >
> >
> >
> > I can't figure out what's wrong - I've double checked all paths and
restarted the whole process many times. What am I doing wrong?
> >
> > Also: I created the .htpasswd file using htpasswd located at
/usr/bin/htpasswd
> >
> > Simon,
> > Ethos Online.
> > mailto:simon@xxxxxxxxxxxxxxx
> >
>
> Rik Thomas CTO rikt@xxxxxxxxxxxx
> Delaware.Net, Inc. http://www.delaware.net
> P:302.736.5515 F:302.736.5947 ICQ:879956
>
> Check out our Tucows Linux Mirror
> http://delaware.linux.tucows.com
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>