[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RE: ErrorDocument, httpd.conf, internal server error, .htaccess
- Subject: [cobalt-users] RE: ErrorDocument, httpd.conf, internal server error, .htaccess
- From: "Nicolae" <nicolaep@xxxxxxxxxxxxxxxxxx>
- Date: Sat Mar 9 02:54:01 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> 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...