[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] apache - sorta off topic



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:

htpasswd /some_location/htpasswd new_user



Richard

Nathan Martinez wrote:
> 
> I noticed that on our Raq2 when we use .htaccess files to lock web
> directories, it requires that an actual system account be used.  I like this
> behavior and am trying to get it to work on my redhat 6.1 machine.  Does
> anyone know off hand how I can achieve this?  It isn't a compile-time
> option, is it?  As of now I can only use the seperate user/pass files.
> Thanks for your help.
> 
> -Nathan Martinez
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
begin:vcard 
n:Perlotto;Richard
x-mozilla-html:FALSE
url:http://www.perlotto.com
org:Home
adr:;;;;;;
version:2.1
email;internet:richard@xxxxxxxxxxxx
x-mozilla-cpt:;-1
fn:Richard Perlotto
end:vcard