Nathan,
> > I appreciate everyone trying to help me but I must have been unclear in
what
> > I wanted. I understand how to set up .htaccess protected sites in the
manor
> > described below. I am wanting to replicate what the cobalts do by
default
> > (require that the user/passwd exist in /etc/passwd and not have to use
> > htpasswd) on my redhat 6.1 machine. Thank you for your help.
This can be done very easily:
Just do it with the AuthPAM_Enabled directive...... (it must be turned ON,
not OFF), and don't specify a path to a htpasswd file, then it should work.
It does for me.
An appropriate htaccess file would look like this:
<snip>
order allow,deny
allow from all
require valid-user
Authname 'Some Text'
Authtype Basic
</snip>
--> Only users on the RaQ can log-in.
> That will require you to rebuild Apache with the PAM authentication turned
> on.
This is not true. It works with a htaccess file, there is no necessity to
rebuild stuff.....
Regards,
Fathi
> >
> > -Nathan Martinez
> > ----- Original Message -----
> > From: "Debbie Doerrlamm" <wkdwich@xxxxxxxxxxxx>
> > To: <cobalt-users@xxxxxxxxxxxxxxx>
> > Sent: Tuesday, February 08, 2000 8:39 PM
> > Subject: Re: [cobalt-users] apache - sorta off topic
> >
> > > My .htaccess is different and working well, none of the people in the
> > > .htpasswd files ( I have many scattered thru the domain) are users on
the
> > site
> > >
> > > # Access file
> > > order allow,deny
> > > allow from all
> > > require valid-user
> > > AuthPAM_Enabled off
> > > Authname some_babble_here
> > > Authtype Basic
> > > AuthUserFile /home/sites/home/path/to/.htpasswd
> > >
> > > then I created the .htpasswd
> > > htpasswd -c .htpasswd [username]
> > > it prompts me for the password 2x's and I'm done..
> > >
> > > The AuthPAM line is REQUIRED.. it won;t work without it...
> > >
> > > >Within your .htaccess file you must have the following:
> > > >
> > > >AuthType Basic
> > > >AuthPAM_Enabled off
> > > >AuthName your_site_name_here
> > > >AuthUserFile /some_location/htpasswd
> > > ><Limit GET POST>
> > > > require user user1 user2
> > > ></Limit>
> > > >
> > > >You will then need to add the users to the htpasswd file via
> > > >the htpasswd program:
> > >
> > > Regards,
> > > Debbie -->> <a href="http://beautytech.com/contest">New Millennium
Nailart
> > > & Makeover Contest</a>
> > >
> > > ^v^ ///\o/\\\ ^v^
> > >
> > > Debbie Doerrlamm webmaster2@xxxxxxxxxxxxxx
> > > (AIM- Nailgodess or NailGdsss)
> > >
> > > WWWeb Services, Ronkonkoma, NY
> > > 877-669-7953 - voicemail/fax
> > > BeautyTech / SalonMart
> > > http://beautytech.com/ http://salonmart.com
> > >
> > > _______________________________________________
> > > cobalt-users mailing list
> > > cobalt-users@xxxxxxxxxxxxxxx
> > > http://list.cobalt.com/mailman/listinfo/cobalt-users
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users