[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] htaccess ErrorDocument doesn't work
- Subject: Re: [cobalt-users] htaccess ErrorDocument doesn't work
- From: Marco Baurdoux <linux@xxxxxxxxxxxxx>
- Date: Fri Jun 22 23:57:00 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi Edward,
Take a look at the srm.conf file on your RaQ4. It has an already configured
example of it.
ErrorDocument 500 /cobalt_error/internalServerError.html
le 23.6.2001 15:15, Edward Bishop à eddie@xxxxxxxxxxxxxxxx a écrit :
> I have been trying to set up custom 404 pages by adding a line in the
> following form to my .htaccess files:
>
> ErrorDocument 404 http://mydomain.com/errorpage.htm
>
> but doing so disables the site; trying to access any document under the
> directory containing the .htaccess generates a 500 error.
>
> The URL of the error page does exist. I used pico to add the ErrorDocument
> line. I have tried this both in new, empty .htaccess files and existing,
> working ones being used for authentication. Removing the offending
> ErrorDocument line cures the problem. I have also tried CHMOD 664 on
> .htaccess.
>
> I have also tried using a local path:
>
> ErrorDocument 404 /home/mysite/public_html/errorpage.htm
>
> I have tried all this on both a RaQ4 and a non-Cobalt RedHat server with
> exactly the same result.
>
> Any ideas please?
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
=======================================================================
Marco Baurdoux
Unix Administrator
Infomaniak Network SA
Avenue de la Praille 26
1227 Carouge
Switzerland
Tel: +41 (0)22 820 35 41
Fax: +41 (0)22 820 35 46
http://web.infomaniak.ch
=======================================================================