[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] htaccess ErrorDocument doesn't work
- Subject: [cobalt-users] htaccess ErrorDocument doesn't work
- From: "Edward Bishop" <eddie@xxxxxxxxxxxxxxxx>
- Date: Fri Jun 22 22:17:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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?