Home Menu

Menu


Reply
Thread Tools Display Modes
  #1  
Old Nov 12, 2001, 06:22 AM
freddy freddy is offline
Member
 
Member Since: Oct 2001
Location: USA
Posts: 40
Hi Gang:

Some of you may be aware of this. I just learned how yesterday. You may customize the 'error' page that people get for:

400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
500 Internal Server Error

What worked for me should work for most. Simply create a customized error page called AnythingYouWant.htm ( mine is at www.seemyad.com/info/error.htm ). Then create a file called ' .htaccess '. Now In your ' .htaccess ' file put in...

ErrorDocument 400 /AnythingYouWant.htm
ErrorDocument 404 /AnythingYouWant.htm
ErrorDocument 500 /AnythingYouWant.htm

...and so on. NOW, place the .htaccess file inside your root directory - aka - if it were a .htm page it would be viewed at www.yourdomain.com/.htaccess.htm . That's it!

You ALSO have the option of making a seperate page for each error code ' AnythingYouWant2 ' ' AnythingYouWant3 ' AND you can place the error pages whereever you please as long as it is addressed properly - aka -

ErrorDocument 404 /pages/and/stuff/AnythingYouWant.htm

I hope this helps someone. I am too lazy to make a seperate page for each error code. ;-)

freddy

Trust your ad to See My Ad.Com - www.seemyad.com
__________________
Trust your ad to See My Ad.Com - www.seemyad.com

advertisement
Reply
Views: 243

attentionThis is an old thread. You probably should not post your reply to it, as the original poster is unlikely to see it.



Similar Threads
Thread Thread Starter Forum Replies Last Post
Coloring Pages The Garden 6 Feb 25, 2008 09:54 AM
new member & seeing JVM error, IE error? Rose3 Community Feedback & Technical Support 1 Feb 16, 2007 10:11 PM
Pages and pages of replies Beautiful_Pain Other Mental Health Discussion 5 Oct 24, 2006 07:03 PM


All times are GMT -5. The time now is 09:04 AM.
Powered by vBulletin® — Copyright © 2000 - 2025, Jelsoft Enterprises Ltd.




 

My Support Forums

My Support Forums is the online community that was originally begun as the Psych Central Forums in 2001. It now runs as an independent self-help support group community for mental health, personality, and psychological issues and is overseen by a group of dedicated, caring volunteers from around the world.

 

Helplines and Lifelines

The material on this site is for informational purposes only, and is not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider.

Always consult your doctor or mental health professional before trying anything you read here.