[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] how customize 404 page on raq4?
- Subject: Re: [cobalt-users] how customize 404 page on raq4?
- From: "PageKeeper Service" <host@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sat Sep 7 01:40:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Have you tried this...?
Open a note pad and copy the line below on the first line.
Change the page-name to whatever.
ErrorDocument 404 /page-name.html
(You can use your main index.html page as the 404 target page..)
close the note pad and call it htaccess.txt for the time being.
Open your ftp program and rename the file to .htaccess then
upload it as text (ascii) to the web directory.
----- Original Message -----
From: "Mirko" <mirko@xxxxxxxx>
To: "cobalt" <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Saturday, September 07, 2002 2:02 AM
Subject: [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
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>