icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Web Hosting Tutorials » [All] Creating Custom Error Pages!

Web Hosting Tutorials Feel free to browse or contribute.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old July 6th, 2008, 6:22 AM   #10 (permalink)
Surpassing Dutch
Super #1
 
Edwin's Avatar
 
Joined in Sep 2004
Hosted on SH98
2,548 posts
Gave thanks: 188
Thanked 45 times
I say what I was doing wrong

I put the 404.php file in the main directory, and the .htaccess was pointing to errors/404.php
__________________
sh98
Edwin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 6th, 2008, 5:20 PM   #11 (permalink)
Surpass Staff
Seasoned Poster
 
Dennis's Avatar
 
Joined in Jun 2008
Hosted on dime158
47 posts
Gave thanks: 0
Thanked 9 times
Here's mine :P

Kudos to anyone who gets the reference!
Dennis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 6th, 2008, 5:23 PM   #12 (permalink)
Undercover Genius
Super #1
 
FyreFox's Avatar
 
Joined in May 2003
Lives in Tampa, FL
Hosted on Vanilla
3,050 posts
Gave thanks: 27
Thanked 38 times
Quote:
Originally Posted by Dennis View Post
Here's mine :P

Kudos to anyone who gets the reference!
hahaha, I love it!
__________________
When one door of happiness closes, another opens; but often we look so long at the closed door that we do not see the one which has been opened for us. - Helen Keller
FyreFox is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 6th, 2008, 10:15 PM   #13 (permalink)
Surpass Fan
Excelling Contributor
 
fury's Avatar
 
Joined in Dec 2005
Lives in MN > USA
Hosted on pass84
961 posts
Gave thanks: 48
Thanked 43 times
Quote:
Originally Posted by Edwin View Post
I say what I was doing wrong

I put the 404.php file in the main directory, and the .htaccess was pointing to errors/404.php
Yeah, the path to the file starts at public_html, I just keep mine in their own folder to keep things organized.
__________________
fury™ - not helping the situation since 1987
robmonroe.net | | bullsux.com
fury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 7th, 2008, 12:49 PM   #14 (permalink)
Surpassing Dutch
Super #1
 
Edwin's Avatar
 
Joined in Sep 2004
Hosted on SH98
2,548 posts
Gave thanks: 188
Thanked 45 times
Quote:
Originally Posted by Dennis View Post
Here's mine :P

Kudos to anyone who gets the reference!
Nice.
__________________
sh98
Edwin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 9th, 2008, 9:22 PM   #15 (permalink)
Surpass Fan
Excelling Contributor
 
Joined in Dec 2005
Lives in my computer
Hosted on pass86'd
660 posts
Gave thanks: 56
Thanked 14 times
I added the following into my htaccess

Code:
ErrorDocument 401 "<html><head><title>ACCESS DENIED</title></head><body><h2><tt>ACCESS DENIED</tt></h2></body></html>
ErrorDocument 403 "<html><head><title>403 ERROR FORBIDDEN!!</title></head><body><h2><tt>403 ERROR FORBIDDEN!!</tt></h2></body></html>
ErrorDocument 404 "<html><head><title>NO SNOOPS!</title></head><body><h2><tt>NO SNOOPS!!</tt></h2></body></html>
ErrorDocument 500 "<html><head><title>WHAT CAN I SAY...</title></head><body><h2><tt>ITS BROKE DAMN IT!!</tt></h2></body></html>
__________________

panache is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 10th, 2008, 2:40 PM   #16 (permalink)
Surpass Fan
Excelling Contributor
 
fury's Avatar
 
Joined in Dec 2005
Lives in MN > USA
Hosted on pass84
961 posts
Gave thanks: 48
Thanked 43 times
You have no trailing quotes, just so you know.
__________________
fury™ - not helping the situation since 1987
robmonroe.net | | bullsux.com
fury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 11th, 2008, 3:18 AM   #17 (permalink)
Registered User
Comfy Contributor
 
Joined in Feb 2006
Lives in Australia
101 posts
Gave thanks: 5
Thanked 3 times
Quote:
Originally Posted by Dennis View Post
Here's mine :P

Kudos to anyone who gets the reference!
LOL I love it!

Artin
__________________
http://nobody-listened.org

IP: 72.29.93.65
Hostname: pass65
Artin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 13th, 2008, 3:55 PM   #18 (permalink)
Surpass Fan
Excelling Contributor
 
Joined in Dec 2005
Lives in my computer
Hosted on pass86'd
660 posts
Gave thanks: 56
Thanked 14 times
Quote:
Originally Posted by fury View Post
You have no trailing quotes, just so you know.

I will check into that and fix that..

although I do not know if thats a problem, as its writing that input as output to a page.
__________________

panache is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

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