Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Old 02-15-2008, 09:48 PM htaccess help
jonathanadams's Avatar
Experienced Talker

Posts: 34
Name: Jonathan Adams
Trades: 0
I am redesigning/coding my website from scratch. Im trying to use htaccess so i can have custom error pages.

i am using this code
Quote:
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 500 /error/500.html
When i upload it to my server and test. I get a error number 500.

Am i missing any code. btw i;m hosted with dreamhost
jonathanadams is offline
Reply With Quote
View Public Profile Visit jonathanadams's homepage!
 
 
Register now for full access!
Old 02-22-2008, 09:28 PM Re: htaccess help
frofi's Avatar
Extreme Talker

Posts: 236
Location: London
Trades: 0
Too little info. How did you test it? Have you tried to remove the last directive ErrorDocument 500 /error/500.html and test it again? What server are you hosting on? Does your host support custom error pages?
Quote:
Microsoft Internet Explorer (MSIE) will by default ignore server-generated error messages when they are "too small" and substitute its own "friendly" error messages. The size threshold varies depending on the type of error, but in general, if you make your error document greater than 512 bytes, then MSIE will show the server-generated error rather than masking it. More information is available in Microsoft Knowledgebase article Q294807.
Most importantly though, what do you need custom error pages for? Just make an index.html page informing people about the site re-building.
__________________
THE FORCE is with me at last! All I need now is some TALKUPATION ;)
frofi is offline
Reply With Quote
View Public Profile
 
Old 03-04-2008, 06:28 AM Re: htaccess help
ooyes's Avatar
Skilled Talker

Posts: 55
Name: Web Design Company
Location: London
Trades: 0
Hi John you can take a look ad this tutorial its pretty neat and i am sure it will help you http://perishablepress.com/press/200...access-tricks/
__________________

Please login or register to view this content. Registration is FREE
ooyes is offline
Reply With Quote
View Public Profile Visit ooyes's homepage!
 
Reply     « Reply to htaccess help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 6.19479 seconds with 12 queries