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

Re: [cobalt-users] [RAQ4] htaccess with cobalt's own passwordlist



le 4.10.2001 19:49, Tech à tech@xxxxxxxxxxxxx a écrit :

> I'm having still a problem to write
> a ".htaccess"-file that's going to
> respond to the cobalt's own passwordlist
> ( not a selfmade ".htpasswd"-file ).
> 
> For example, one of my customers has a
> valid LOGIN and PASSWORD to access the
> RAQ's Siteadmin-Page. I would like to use
> the same LOGIN and PASSWORD to give them
> access to a specific site which is protected
> by a ".htaccess"-File.
> 
> My ".htaccess"-file looks as follow:
> 
> # Access file 
> order allow,deny 
> allow from all 
> require valid-user
> Authname "Kundenbereich"
> AuthPAM_Enabled off
> Authtype Basic 
> AuthUserFile etc/.passwd
> 
> instead of
> "etc/.passwd"
> i tried also
> "etc/passwd"
> and
> "usr/bin/.htpasswd
> 
> no way....
> 
> Has someone a hint ???
> 
> Please help
> 
> Sincerely
> 
> Sandro, Switzerland
> 
> 


Hi there Sandro,
You're almost there :-))

order allow,deny 
allow from all 
require valid-user 
Authname "Kundenbereich"
Authtype Basic

That's all you need :-))