Jump to content

[SOLVED] Custom Error Pages?


SC__Programmer

Recommended Posts

Make the 500 page that you would like to show and create/edit a file called ".htaccess" in your root directory (public_html/[domain path here]) and include the following line:

 

ErrorDocument 500 path/to/500.html

 

(replace path/to/500.html with the path to the page you made)

Link to comment
Share on other sites

no,not that i know of.this was in my public_html.

 

here's my full file,

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName DevTalk.co.cc
AuthUserFile /home1/sc/public_html/_vti_pvt/service.pwd
AuthGroupFile /home1/sc/public_html/_vti_pvt/service.grp
ErrorDocument 500 /home1/sc/public_html/500.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...