[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] .htaccess
- Subject: Re: [cobalt-users] .htaccess
- From: Simon Billis <simon@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat Mar 9 18:28:05 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I have managed to get this to work on a raq3 by doing the having the following line in the .htaccess file. I admit that in this case this is the only line in the file but it should work in your case.
ErrorDocument 404 http://www.mydomain.co.uk/subdirectory/subsubdirectory/error404.shtml
I hope that this helps.
Simon
On Saturday, March 9, 2002 12:01 pm, Andy Jacobs <andy@xxxxxxxxxxxxxx> wrote:
>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
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To Subscribe or Unsubscribe, please go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users
>