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 02-19-2003, 12:45 PM   #1
chupacabra
Confirmed User
 
Join Date: Sep 2002
Posts: 3,626
#ErrorDocument entries in .htaccess..?

hey all... am just now setting up another fBSD server, and want to get the whole #ErrorDocument situation done properly this time, the guy who set up our last one did this wrong somehow... now, where should the #ErrorDocument lines go, in the 'top-level' .htaccess, or in the .htaccess that controls the members area? also, is it ok to point the path for 404, 403, and others *off* of the server, to another domain even? any information, links or examples of the proper way to set #ErrorDocument would be greatly appreciated, especially any neat tricks that can be done w/ it... thx all, hope those signup's are rolling in for everyone..
chupacabra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2003, 12:46 PM   #2
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
403 should point internally

like

error document 403 /index.shtml
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2003, 12:50 PM   #3
DrewKole
Confirmed User
 
Join Date: Aug 2001
Posts: 5,193
top level.

ErrorDocument 403 /index.html or (http://www.blahblah.com/index.html)
DrewKole is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2003, 12:52 PM   #4
chupacabra
Confirmed User
 
Join Date: Sep 2002
Posts: 3,626
k, thx guys... ah, one other thing; if i use "Deny from xxx.xxx." lines in my .htaccess, are those visitors being redirected via one of the #ErrorDocument lines perhaps? or is that controlled in some other way..?
chupacabra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2003, 01:03 PM   #5
buran
Confirmed User
 
Join Date: Mar 2002
Location: how'd I get here?
Posts: 264
You keep saying #ErrorDocument... you do know that # means the entire line is a comment and isn't being processed, right?

Remove the # if you want the line to be interpreted, otherwise it is ignored. The directive is called

ErrorDocument
__________________
[this signature intentionally left blank]
buran 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.