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, 5:22 AM   #10 (permalink)
Surpassing Dutch
Super #1
 
Edwin's Avatar
 
Joined in Sep 2004
Lives in Arnhem, the Netherlands
Hosted on SH98
2,370 posts
Gave thanks: 172
Thanked 40 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, 4:20 PM   #11 (permalink)
Surpass Staff
Seasoned Poster
 
Dennis's Avatar
 
Joined in Jun 2008
Hosted on dime158
37 posts
Gave thanks: 0
Thanked 6 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, 4:23 PM   #12 (permalink)
Undercover Genius
Super #1
 
FyreFox's Avatar
 
Joined in May 2003
Lives in Tampa, FL
Hosted on Vanilla
2,975 posts
Gave thanks: 27
Thanked 37 times
Quote:
Originally Posted by Dennis View Post
Here's mine :P

Kudos to anyone who gets the reference!
hahaha, I love it!
__________________
IRC: "[18:41] <Neil__> but...marry a blonde...go grey..."
FyreFox is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 6th, 2008, 9:15 PM   #13 (permalink)
Surpass Fan
Excelling Contributor
 
fury's Avatar
 
Joined in Dec 2005
Lives in MN > USA
Hosted on pass84
632 posts
Gave thanks: 32
Thanked 28 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, 11:49 AM   #14 (permalink)
Surpassing Dutch
Super #1
 
Edwin's Avatar
 
Joined in Sep 2004
Lives in Arnhem, the Netherlands
Hosted on SH98
2,370 posts
Gave thanks: 172
Thanked 40 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, 8:22 PM   #15 (permalink)
Surpass Fan
Excelling Contributor
 
Joined in Dec 2005
Lives in my computer
Hosted on pass86'd
632 posts
Gave thanks: 55
Thanked 10 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>
__________________
Server: pass86'd
Site: Panache Web Ventures
panache is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 10th, 2008, 1:40 PM   #16 (permalink)
Surpass Fan
Excelling Contributor
 
fury's Avatar
 
Joined in Dec 2005
Lives in MN > USA
Hosted on pass84
632 posts
Gave thanks: 32
Thanked 28 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, 2:18 AM   #17 (permalink)
Registered User
Seasoned Poster
 
Joined in Feb 2006
Lives in Australia
92 posts
Gave thanks: 3
Thanked 1 Time in 1 Post
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, 2:55 PM   #18 (permalink)
Surpass Fan
Excelling Contributor
 
Joined in Dec 2005
Lives in my computer
Hosted on pass86'd
632 posts
Gave thanks: 55
Thanked 10 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.
__________________
Server: pass86'd
Site: Panache Web Ventures
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