Web Hosting Talk







View Full Version : Default Error Pages


FrzzMan
08-14-2002, 01:05 PM
Some one can help me post those default error pages of CPanel here... I've deleted it all by mistake...

ToastyX
08-14-2002, 01:07 PM
The default is no error pages, so if you've deleted it all, that's the default.

FrzzMan
08-14-2002, 01:16 PM
But when I first take alook at the error pages... they have something!

FrzzMan
08-15-2002, 02:16 AM
anyone?

chrisb
08-15-2002, 02:28 AM
You can go to http://apache.org/docs and put something similar to the below into an .htaccess file within your directories until you host can help you fix it the correct way.

ErrorDocument 500 http://foo.example.com/cgi-bin/tester
ErrorDocument 404 /cgi-bin/bad_urls.pl
ErrorDocument 401 /subscription_info.html
ErrorDocument 403 "Sorry can't allow you access today

Remember, when CPanel fails, you can always use Apache or some other method to achieve what you want.

dreamrae.com
08-15-2002, 03:46 AM
Its even easier when you have a shell account. Sometimes cpanel messes up the .htaccess files. I had to go and hand edit it. Cpanel isnt all the great.. (Using 4.0). Any like the last post said, just edit it. If it doesnt work, ask your host to delete the file for you..:stickout

FrzzMan
08-16-2002, 07:33 AM
thanks guys...