Jump to content

[Solved] Non-Existant Page Request Shows Apache Internal Error Page.


Guest MPqO

Recommended Posts

Guest MPqO

I've added two addon domains for future use to my main account. I've noticed that in case of a non-existed page request for both my addon domains, an error 500 is returned.

 

For example:

 

http://www.denied.gr/test123

 

I've already tried to avoid the error by putting 404.shtml to the addon domains home directory, but apache simply ignores it and the 500 is shown.

 

server: Stevie

user: filarvon

 

It isn't a big deal for me especially for now, I just want to report the behavio in case it's a bug.

 

Thank you.

Link to comment
Share on other sites

Guest MPqO
You need to add the 404 page to your .htaccess like this:
ErrorDocument 404 http://www.denied.gr/404.shtml

Make sure it's the full path to where ever your 404 page is.

 

It doesn't work. Same error 500.

 

I've tried both with http:// and absolute (/home1/etc/etc) path.

Link to comment
Share on other sites

I see my last suggestion didn't work. Sorry i don't have an addon domain to test this with. This person says for addon domains this should work. Try it with the full path and the short path both. Be sure to clear your cache when testing:

 

http://askmichel.icoder.com/2006/10/01/custom-error-pages-for-different-addon-domains/

 

 

 

This could possibly be your problem?

 

https://forums.cpanel.net/threads/addon-domain-finding-and-editing-404-error-page.40684/

Link to comment
Share on other sites

Guest MPqO
I see my last suggestion didn't work. Sorry i don't have an addon domain to test this with. This person says for addon domains this should work. Try it with the full path and the short path both. Be sure to clear your cache when testing: http://askmichel.icoder.com/2006/10/01/custom-error-pages-for-different-addon-domains/ This could possibly be your problem? https://forums.cpanel.net/threads/addon-domain-finding-and-editing-404-error-page.40684/

 

I've tried using longer text but same result.

 

Apache default error 500.

 

Feel free to test with my addon domains if you like. There are empty for now.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...