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

Kevin Pfeiffer  Identity Verified
Germany
Local time: 17:01
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: 11:01
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: 17:01
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: 11:01
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






WordFinder
The words you want Anywhere, Anytime

WordFinder is the market's fastest and easiest way of finding the right word, term, translation or synonym in one or more dictionaries. In our assortment you can choose among more than 120 dictionaries in 15 languages from leading publishers.

More info »
PDF Translation - the Easy Way
TransPDF converts your PDFs to XLIFF ready for professional translation.

TransPDF converts your PDFs to XLIFF ready for professional translation. It also puts your translations back into the PDF to make new PDFs. Quicker and more accurate than hand-editing PDF. Includes free use of Infix PDF Editor with your translated PDFs.

More info »



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