How do I get the Default/Browser Error Pages instead of the x10 ones?

Status
Not open for further replies.

jamen

New Member
Messages
3
Reaction score
0
Points
0
I don't want any x10 error pages or any custom error pages. I want the default error pages which are generated by the web browser.

How do I achieve this?
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
It would be quite difficult to achieve implementing the default browser error pages. However, you can use .htaccess to setup your own custom error pages. In order to edit/create .htaccess in the cPanel File Manager, you will need to ensure that the 'Show dot files' setting is enabled in the Directory Selection after clicking the File Manager icon.

Then at the start/end of the htaccess file, you can specify error pages like so:
Code:
ErrorDocument 404 notfound.html
ErrorDocument 500 servererror.html

etc
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
I should quick note the main problem with trying to get the browser to show its default messages is that, to the best of my knowledge, browsers aren't always required to implement error pages. Most (if not all) have a page for when a domain doesn't resolve at all (404), but I have my doubts that they have their own built-in 403 Forbiddens since a 403 forbidden is returned by the webserver, and thus is an error page made -by- the web server.

About all I can suggest is what Dead-I suggested - make some generic plain-jane custom error pages and use those to override the x10 defaults.
 
Status
Not open for further replies.
Top