![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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..
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Aug 2001
Posts: 5,193
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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..?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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] |
![]() |
![]() ![]() ![]() ![]() ![]() |