Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-22-2004, 05:42 PM   #1
Dusen
Confirmed User
 
Join Date: Aug 2002
Location: East Coast.
Posts: 2,251
.htaccess issues - Custom Error Documents

I've used cusom error pages in my domains.

however - I think I'm missing something with regards to the logic. I could NEVER have:

ErrorDocument 404 /error.html

I always needed to have

ErrorDocument 404 http://www.domain.com/error.html

Almost all the "tutorials" I have seen with regards to this say you can do /error.html instead of the full domain but none explain the difference.

Why is this? Am I missing an option in my httpd.conf? Do I need to "enable" some sort of virtual directory resolution like followsymlinks?
__________________
Penis Pill Sponsor List and Reviews:
http://www.pillsponsors.com
Dusen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-22-2004, 05:50 PM   #2
crockett
in a van by the river
 
crockett's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 76,806
did you happen to try just plane error.html ? with out the / I also is your htacces is in the same dir as the error.html page?
__________________
In November, you can vote for America's next president or its first dictator.
crockett is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-22-2004, 05:52 PM   #3
Dusen
Confirmed User
 
Join Date: Aug 2002
Location: East Coast.
Posts: 2,251
Yup on both counts
__________________
Penis Pill Sponsor List and Reviews:
http://www.pillsponsors.com
Dusen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-22-2004, 06:02 PM   #4
s9ann0
Confirmed User
 
Join Date: Sep 2001
Location: Boston
Posts: 4,873
is there a error.html at / on your domain?
s9ann0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-22-2004, 06:04 PM   #5
Dusen
Confirmed User
 
Join Date: Aug 2002
Location: East Coast.
Posts: 2,251
Quote:
Originally posted by spanno
is there a error.html at / on your domain?
Yes.

http://www.domain.com/error.html works but
/error.html or error.html does not.
__________________
Penis Pill Sponsor List and Reviews:
http://www.pillsponsors.com
Dusen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-23-2004, 04:29 AM   #6
Dusen
Confirmed User
 
Join Date: Aug 2002
Location: East Coast.
Posts: 2,251
Bump?
__________________
Penis Pill Sponsor List and Reviews:
http://www.pillsponsors.com
Dusen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-23-2004, 04:34 AM   #7
SuperGuy
Registered User
 
Join Date: Jun 2003
Location: Canada
Posts: 38
If you're running virtual servers, you should define your error document in httpd.conf (that's what I do) and you can customize it for each domain quite easily.

It should work with the .htaccess method in the top level of the domain, but I have never had a problem with it in the httpd.conf.
SuperGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.