[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] .htaccess
- Subject: [cobalt-users] .htaccess
- From: "Andy Jacobs" <andy@xxxxxxxxxxxxxx>
- Date: Fri Mar 8 20:00:00 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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?
Andy Jacobs
Media Marks
Web Design, Hosting, Site Promotion
Tel: 023 9241 3880
www.mediamarks.net