[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] htaccess in Apache
- Subject: Re: [cobalt-users] htaccess in Apache
- From: "Guy N. Hurst" <gnhurst@xxxxxxxxxxxxxx>
- Date: Fri Mar 31 23:03:16 2000
- Organization: HurstLinks Inc.
I had this problem before - unrelated to cobalt - and solved it by
using quotes around the AuthName value like so:
AuthName "Authentification demandee"
Older versions of Apache did not need the quotes, by the way.
Guy N. Hurst
> Julien Macquart wrote:
>
> Hi all,
>
> I want to limit access to directories with .htpasswd and .htaccess
> files. But when i reach the web page, i get a "Internal error"
> message. Can anyone help me ? Here is the files (i hid the real
> passwords and path) :
>
> .htaccess
>
> AuthUserFile /<directories to be protected>/.htpasswd
> AuthGroupFile /dev/null
> AuthName Authentification demandée
> AuthType Basic
>
> <Limit GET POST>
> require valid-user
> </Limit>
>
> .htpasswd
>
> user1:passwd1
> user2:passwd2
>