Mobile menu

need help getting the customized error pages (404, etc.) to work?
Thread poster: Kevin Pfeiffer

Kevin Pfeiffer  Identity Verified
Germany
Local time: 01:20
Member (2004)
German to English
+ ...
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" and using only the links provided in the CP as well as my own html. Always the same result.

TIA,

Kevin


Direct link Reply with quote
 

justin C
United States
Local time: 19:20
English
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.

Hope this helps!

Best,
Justin


Direct link Reply with quote
 

Kevin Pfeiffer  Identity Verified
Germany
Local time: 01:20
Member (2004)
German to English
+ ...
TOPIC STARTER
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


Direct link Reply with quote
 

justin C
United States
Local time: 19:20
English
Glad to hear it, Kevin Feb 15, 2006

Thanks for supporting the site.. and enjoy!

Best,
Justin


Direct link Reply with quote
 


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?

Advanced search






SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »
Across v6.3
Translation Toolkit and Sales Potential under One Roof

Apart from features that enable you to translate more efficiently, the new Across Translator Edition v6.3 comprises your crossMarket membership. The new online network for Across users assists you in exploring new sales potential and generating revenue.

More info »



All of ProZ.com
  • All of ProZ.com
  • Term search
  • Jobs