https://www.proz.com/forum/prozcom_hosting/42571-need_help_getting_the_customized_error_pages_404_etc_to_work.html&text=need+help+getting+the+customized+error+pages+%28404%2C+etc.%29+to+work%3F+%28ProZ.com+hosting%29

need help getting the customized error pages (404, etc.) to work?
Initiator des Themas: Kevin Pfeiffer (X)
Kevin Pfeiffer (X)
Kevin Pfeiffer (X)  Identity Verified
Deutschland
Local time: 10:42
Deutsch > Englisch
+ ...
Feb 13, 2006

I modified a couple custom error pages using the lovely control panel, but the result (for a 404 response) is this:
---------------
The requested URL /~pfeiffer/xxx was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
---------------

Any ideas why my error message is, itself, generating a page-not-found error? I tried saving the 404 page both as "404.shtml" and "404.html"
... See more
I modified a couple custom error pages using the lovely control panel, but the result (for a 404 response) is this:
---------------
The requested URL /~pfeiffer/xxx was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
---------------

Any ideas why my error message is, itself, generating a page-not-found error? I tried saving the 404 page both as "404.shtml" and "404.html" and using only the links provided in the CP as well as my own html. Always the same result.

TIA,

Kevin
Collapse


 
justin C
justin C
Vereinigte Staaten
Local time: 04:42
Englisch
To use a 404 page you must add a line for it in the .htaccess file of your root web directory Feb 15, 2006

Hi Kevin, good question!

For all other members that may be wondering about this, if you configure your 404 or other custom messages through CPanel, you must add the following line to your .htaccess file in your www dir.

ErrorDocument 404 http://yoursite.com/404.shtml

This will tell your web site to use the 404 page you created when a page is not found.

Hop
... See more
Hi Kevin, good question!

For all other members that may be wondering about this, if you configure your 404 or other custom messages through CPanel, you must add the following line to your .htaccess file in your www dir.

ErrorDocument 404 http://yoursite.com/404.shtml

This will tell your web site to use the 404 page you created when a page is not found.

Hope this helps!

Best,
Justin
Collapse


 
Kevin Pfeiffer (X)
Kevin Pfeiffer (X)  Identity Verified
Deutschland
Local time: 10:42
Deutsch > Englisch
+ ...
THEMENSTARTER
Alles klar! Feb 15, 2006

justin wrote:
Hi Kevin, good question!
Justin


If I had reached up and pulled down my Apache guide I could have figured this out myself, but the cPanel set-up is so slick that I assumed it must be a "bigger problem".

I'm _very_ impressed and pleased by the whole hosting package -- much better than what I previously had (for which I was paying the price of a ProZ.com platinum membership).

-Kevin


 
justin C
justin C
Vereinigte Staaten
Local time: 04:42
Englisch
Glad to hear it, Kevin Feb 15, 2006

Thanks for supporting the site.. and enjoy!

Best,
Justin


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

need help getting the customized error pages (404, etc.) to work?






TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Trados Business Manager Lite
Create customer quotes and invoices from within Trados Studio

Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.

More info »