[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] how customize 404 page on raq4?



hello Andy and all

i continue to get internal server error...

i have try to telnet with tail command...
i get the message " ErrorDocument not allowed here "

I have put the .htaccess and the 404 page (but with another name) in the
folder web...and i have respect exactly the syntax to the code inside the
.htaccess....

any other idea welcome thanks...

regards  Mirko

> i have try allready the solution explain in the website :
> http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=78
> 
> but i don't know why i get always a "internal server error"....
</snip>

If you get an internal server error due to a .htaccess file then you can
usually trace the problem. Telnet/SSH in and tail your error logs by doing
this:
tail -f /home/log/httpd/error

It will then show the errors being generated, so try to go to a page that
doesn't exist and see what message it gives you.

To basically explain, all you need, in the ../../web folder of your FTP
account is a file called .htaccess with this line in it:
ErrorDocument 404 /404.html

Make sure it is exactly that, and change the 404.html to whatever local file
you want.

Hopefully that will solve it, if not, post what error appears in the error
log file.

Regards,

Andy
andy@xxxxxxxxxx