GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   #ErrorDocument entries in .htaccess..? (https://gfy.com/showthread.php?t=109549)

chupacabra 02-19-2003 12:45 PM

#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..

Juicy D. Links 02-19-2003 12:46 PM

403 should point internally

like

error document 403 /index.shtml

DrewKole 02-19-2003 12:50 PM

top level.

ErrorDocument 403 /index.html or (http://www.blahblah.com/index.html)

chupacabra 02-19-2003 12:52 PM

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..?

buran 02-19-2003 01:03 PM

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


All times are GMT -7. The time now is 10:29 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123