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

[cobalt-users] RE: ErrorDocument, httpd.conf, internal server error, .htaccess



> From: "Andy Jacobs" <andy@xxxxxxxxxxxxxx>
> To: "Cobalt-Users" <cobalt-users@xxxxxxxxxxxxxxx>
> Date: Sat, 9 Mar 2002 12:01:43 -0000
> Subject: [cobalt-users] .htaccess
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
>
> Hi all,
>
> I am trying to protect a directory and found a thread in the
> archives that I
> have followed but am still having problems.
>
> My htaccess file looks like this:
>
> AuthName Protected-Directory
> AuthType Basic
> AuthUserFile /home/sites/site2/web/clients/.htpasswd
> <limit GET POST>
> require valid-user
> </limit>
> ErrorDocument 401 /noauth.htm
>
> I get an internal server error when I try to go to
> http://www.mydomain.com/clients.  If I remove the ErrorDocument
> line then it
> works - but obviously not with my noauth.htm page.
>
> Am I missing something?
>

This is mine:

#Access file
order allow,deny
deny from 66.150.40.
allow from all

As soon as I get ErrorDocument put in like you did I get the same issue...