[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RAQ4] htaccess with cobalt's own passwordlist
- Subject: Re: [cobalt-users] [RAQ4] htaccess with cobalt's own passwordlist
- From: Marco Baurdoux <linux@xxxxxxxxxxxxx>
- Date: Thu Oct 11 01:32:56 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
le 8.10.2001 12:06, Tech à tech@xxxxxxxxxxxxx a écrit :
>
>
>> 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 :-))
>
> *******************************************************************
>
> Sounds very simple....I tried all possible ways 'til 5:00 in the
> morning, no way....
>
> After the login ( Browser = IE5.5 ), I got allways the following
> message:
>
> This server could not verify that you are authorized to access the
> document you requested. Either you supplied the wrong credentials (e.g.
> bad password), or your browser does not understand how to supply the
> credentials required.
>
> Near the same answer with Netscape.....
>
> Any ideas ?????????????
>
> ******************************************************************3
>
Then try this one
order allow,deny
allow from all
AuthType Basic
AuthName "Globalhost private zone"
require user admin
This should allow only the admin user to log in.
Yee, I'm helping out my direct competitor :-))