[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] htpasswd authentication
- Subject: Re: [cobalt-users] htpasswd authentication
- From: "satan" <satan@xxxxxxxxxxxxxxxx>
- Date: Thu Jun 7 13:13:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
First of all, eliminate all stupid problem, call the folder something else,
"manage" as exemple.
In it throw a .htaccess that should contain someting like that
# Access file
order allow,deny
allow from all
require valid-user
Authname Members_Login
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/site#/web/members/.htpasswd
<Limit GET POST>
require valid-user
</Limit>
Put the htpasswd into the same folder. Make sure htaccess is enabled, I
think in access.conf, srm or httpd, you have a setting there that i cannot
remember exactly but you may have to change to allow the htaccess to work in
your client directory.
Stephen Gilbert
santan@xxxxxxxxxxxxxxxx
----- Original Message -----
From: "Kamran Khan" <khank@xxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, June 06, 2001 8:30 AM
Subject: Re: [cobalt-users] htpasswd authentication
> Hi Satan,
> I have the same issue. i am trying to protect the web site for users.
> whenever I write the .htaccess file, it says internal error. Can you help
me
> how to write the .htacess and .htpasswd file and where should they be
saved ?
>
> thanks
> Kamran khan
>
> satan wrote:
>
> > Hi,
> >
> > Calling your folder admin is not a too good idea. A link already exist
to
> > www.domain.com/admin for the cobalt administration !!!!
> >
> > This may cause you problem is you create a folder admin in the web
> > directory, which will pop up first ?
> >
> > Simply call the folder a other name it may correct the problem.
> >
> > Stephen Gilbert
> > god help you, duh i have a cobalt too, god help us !!
> > satan@xxxxxxxxxxxxxxxx
> >
> > ----- Original Message -----
> > From: <flash22@xxxxxxx>
> > To: <cobalt-users@xxxxxxxxxxxxxxx>
> > Sent: Tuesday, June 05, 2001 3:03 PM
> > Subject: RE: [cobalt-users] htpasswd authentication
> >
> > > On Tue, 5 Jun 2001, Footballist wrote:
> > >
> > > > I am trying to password protect a (web) directory called admin.
> > > >
> > > > Below is my .htaccess for the admin directory:
> > > > ---------------------------------------------------------
> > > > AuthUserFile /home/sites/sitex/etc/passwd
> > > > AuthGroupFile /dev/null
> > > > AuthName Admin
> > > > AuthType Basic
> > >
> > > If you are authentication users who aren't *real* users on the
machine,
> > > you have to tell PAM it's ok...
> > >
> > > AuthPAM_Enabled off
> > >
> > > (the rest looks about right)
> > > gsh
> > >
> > >
> > > _______________________________________________
> > > cobalt-users mailing list
> > > cobalt-users@xxxxxxxxxxxxxxx
> > > To Subscribe or Unsubscribe, please go to:
> > > http://list.cobalt.com/mailman/listinfo/cobalt-users
> > >
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To Subscribe or Unsubscribe, please go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>