|
|
|
||||
|
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 |
|
I知 still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
ErrorDocument 404 http://www.tomswhores.com/custom_page.html
Im trying to put that in my .htacess file everytime I do this it gives me a interal server error im in my main dir and just cant fig this shit out. anyone here can help?
__________________
![]()
|
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: Feb 2002
Posts: 2,674
|
Put the .htaccess file in the root of your server or folder that needs to be redirected to that error page. Also, make sure that the extention of the file is .htaccess
A lot of people make the mistake of using notepad to edit it and it gets .htaccess.txt or something else on it so it won't work. Maybe this will help. |
|
|
|
|
|
#3 | |
|
I知 still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
Quote:
__________________
![]()
|
|
|
|
|
|
|
#4 |
|
Confirmed User
Industry Role:
Join Date: Apr 2001
Location: Orlando
Posts: 9,024
|
AuthUserFile /dev/null
AuthGroupFile /dev/null DirectoryIndex index.shtml index.html index.htm index.cgi index.php AddType text/html .html .htm AddHandler server-parsed .html deny from 216.235.162.106 deny from 217.136.50.146 deny from 63.67.222.15 deny from 217.227.54.244 deny from 66.189.44.234 deny from 216.221.81.99 deny from 216.235.162.106 deny from 62.42.213.119 deny from 206.87.130.15 deny from 24.147.220.222 deny from 61.149.25.133 deny from 24.66.94.142 deny from 66.32.73.19 deny from 203.124.0.247 deny from 194.251.240.107 deny from 66.188.5.201 deny from 216.221.81.99 deny from 80.135.6.140 deny from 24.71.223.141 deny from 62.30.112.1 deny from 24.69.255.203 deny from 213.1.45.2 deny from 62.254.64.6 deny from 24.64.223.205 deny from 213.47.15.106 deny from 24.70.95.204 deny from 24.171.0.92 deny from 217.224.38.85 deny from 63.224.229.98 deny from 24.66.94.142 deny from 217.219.41.194 deny from 193.253.226.191 deny from 61.124.242.190 deny from 172.154.179.47 deny from 207.250.143.99 deny from 24.71.223.141 deny from 67.194.0.253 deny from 24.69.255.203 deny from 24.70.95.204 deny from 217.60.141.210 deny from 218.225.134.125 deny from 24.66.94.142 deny from 66.185.84.199 deny from 24.88.41.229 deny from 217.227.97.232 deny from 80.130.83.162 deny from 216.148.246.134 deny from 217.224.38.85 deny from 216.21.143.75 deny from 80.131.116.203 deny from 205.188.208.70 deny from 152.163.188.8 deny from 64.12.96.38 deny from 198.81.23.77 deny from 205.188.208.168 deny from 195.93.65.10 deny from 152.163.188.194 deny from 198.81.23.76 deny from 64.12.96.76 deny from 203.96.111.201 deny from 195.93.49.14 deny from 66.185.84.72 deny from 207.172.11.232 deny from 213.158.174.18 deny from 195.93.33.14 deny from 66.185.84.69 deny from 68.61.160.64 deny from 212.243.240.145 deny from 207.16.153.38 deny from 80.131.155.119 deny from 211.14.222.229 deny from 168.95.19.26 deny from 24.114.206.59 deny from 203.96.111.201 deny from 68.100.64.7 deny from 61.207.243.12 deny from 205.188.208.168 deny from 152.163.188.194 deny from 64.12.96.76 deny from 24.69.255.202 deny from 152.163.189.171 deny from 198.81.23.6 deny from 211.216.216.32 deny from 24.126.22.145 deny from 195.93.50.7 deny from 213.224.83.11 deny from 62.254.0.7 deny from 194.65.14.68 deny from 195.93.72.7 deny from 195.93.34.7 deny from 165.121.229.196 deny from 61.201.112.239 deny from 205.188.208.41 deny from 213.153.175.62 deny from 207.250.143.189 deny from 212.243.240.186 deny from 68.10.120.7 deny from 62.254.0.7 #deny from twnic.net RewriteEngine On RewriteOptions inherit RewriteCond %{HTTP_USER_AGENT} ^.*Iria.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Stripper.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Offline.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Copier.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Crawler.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Snagger.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Teleport.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Reaper.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Wget.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Grabber.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Sucker.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Downloader.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Siphon.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Collector.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Mag-Net.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Widow.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Pockey.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*DA.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Snake.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*BackWeb.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*gotit.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Vacuum.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*SmartDownload.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Pump.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*HMView.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Ninja.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*HTTrack.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*JOC.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*likse.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Memo.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*pcBrowser.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*SuperBot.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*leech.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Mirror.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Recorder.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*GrabNet.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Likse.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Navroad.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*attach.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Magnet.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Surfbot.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Bandit.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Ants.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Buddy.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Whacker.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*DISCo\Pump.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Drip.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*EirGrabber.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*ExtractorPro.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*EyeNetIE.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*FlashGet.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*GetRight.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Gets.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Go!Zilla.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Go-Ahead-Got-It.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Grafula.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*IBrowse.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*InterGET.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Internet\Ninja.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*JetCar.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*JustView.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*MIDown\tool.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Mister\PiX.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*NearSite.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*NetSpider.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Offline\Explorer.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*PageGrabber.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Papa\Foto.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Pockey.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*ReGet.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Slurp.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*SpaceBison.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*SuperHTTP.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Teleport.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*WebAuto.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*WebCopier.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*WebFetch.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*WebReaper.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*WebSauger.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*WebStripper.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*WebWhacker.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*WebZIP.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Web\Image\Collector.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Web\Sucker.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Webster.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Wget.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*eCatch.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*ia_archiver.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*lftp.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*tAkeOut.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Webdup.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*Fetch.API.*$ [OR] RewriteCond %{HTTP_USER_AGENT} ^.*FileHound.*$ RewriteRule /* http://www.annsxxx.com/index.shtml?wmid=choker [R,L] RewriteCond %{HTTP_REFERER} ^http://.*sweetcutelolitas.com/* [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*ineedfreesex.com/* [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*real-series.com/* [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*crazyseries.com/* [NC,OR] RewriteCond %{HTTP_REFERER} ^http://.*othersite.com/* [NC] RewriteRule .* http://www.annsxxx.com/index.shtml?wmid=choker [R,L] #RewriteCond %{HTTP_REFERER} !^http://198.65.142.102/.*$ [NC] #RewriteCond %{HTTP_REFERER} !^http://.*chokinchicken.com/.*$ [NC] #RewriteRule .*[Jj][Pp][Gg]$ /hotlink.gif [R,L] ErrorDocument 301 /index.shtml ErrorDocument 403 /index.shtml ErrorDocument 404 /index.shtml ErrorDocument 416 /index.shtml
__________________
ICQ me lets make a deal 116894466 ![]() Need dating, cam, or tube traffic? I got it.http://http://www.chokertraffic.com The Original http://www.chokertraffic.com/ Premium country pop-unders from $1.50 per k. I challenge you to compare this traffic to any other brokers. http://www.chokertraffic.com/public/tabs.php?t=o |
|
|
|
|
|
#5 |
|
Confirmed User
Industry Role:
Join Date: Apr 2001
Location: Orlando
Posts: 9,024
|
If your server uses Plesk, try the above htaccess. Plesk is funny with htaccess
__________________
ICQ me lets make a deal 116894466 ![]() Need dating, cam, or tube traffic? I got it.http://http://www.chokertraffic.com The Original http://www.chokertraffic.com/ Premium country pop-unders from $1.50 per k. I challenge you to compare this traffic to any other brokers. http://www.chokertraffic.com/public/tabs.php?t=o |
|
|
|
|
|
#6 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
|
look in your error_log - it might say shit like "ErrorDocument is not allowed here" - although it should be. also make sure the permissions on it are ok and you don't have anything else in it that could be causing an error.
__________________
php/mysql guru. hosting, coding, all that jazz. |
|
|
|
|
|
#7 | |
|
I知 still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
Quote:
__________________
![]()
|
|
|
|
|
|
|
#8 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
|
did you try ONLY having the ErrorDocument line in there. did you look at your error_log? it should tell you right away.
what version of apache is this? fairly new? also, it shouldn't cause an error, but maybe you need to have soe Options set in your httpd.conf to allow yourself to put .htaccess files in arbitrary places.
__________________
php/mysql guru. hosting, coding, all that jazz. |
|
|
|
|
|
#9 |
|
OU812
Join Date: Feb 2001
Location: California
Posts: 12,651
|
Are you transfering it in ASCII
__________________
Epic CashEpic Cash works for me Solar Cash Paysite Plugin Gallery of the day freesites,POTD,Gallery generator with free hosting |
|
|
|
|
|
#10 |
|
I知 still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
there is not transfering of this file I make it up in ssh * ssh is like a telnet* yes mike I have tried just that THIS IS A FREAKING COLBALT server argh
__________________
![]()
|
|
|
|
|
|
#11 |
|
Confirmed User
Join Date: Apr 2002
Location: Indiana
Posts: 424
|
__________________
250$ 1000GB / Mo - 2000mb space - 10 domains - .26 per gig overage <font color="#00FF00">ICQ 132871574</font> |
|
|
|
|
|
#12 |
|
Confirmed User
Join Date: Apr 2002
Location: Indiana
Posts: 424
|
also try editing your access.conf and allowing it
__________________
250$ 1000GB / Mo - 2000mb space - 10 domains - .26 per gig overage <font color="#00FF00">ICQ 132871574</font> |
|
|
|
|
|
#13 |
|
I知 still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
This is what is in my httpd.conf file for tomswhores
</VirtualHost> <VirtualHost 216.40.201.26> ServerName www.tomswhores.com ServerAdmin admin DocumentRoot /home/sites/site6/web RewriteEngine on RewriteCond %{HTTP_HOST} !^216.40.201.26(:80)?$ RewriteCond %{HTTP_HOST} !^www.tomswhores.com(:80)?$ RewriteRule ^/(.*) http://www.tomswhores.com/$1 [L,R] RewriteOptions inherit AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site6/users/$1/web/$3 AddHandler cgi-wrapper .cgi AddHandler cgi-wrapper .pl AddHandler server-parsed .shtml AddType text/html .shtml AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php </VirtualHost> its almost greek to me lol
__________________
![]()
|
|
|
|
|
|
#14 | |
|
Confirmed User
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
|
Quote:
__________________
php/mysql guru. hosting, coding, all that jazz. |
|
|
|
|
|
|
#15 |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
try adding this to your httpd.conf file...
PHP Code:
|
|
|
|
|
|
#16 |
|
Registered User
Join Date: Apr 2002
Location: Florida
Posts: 59
|
I had the same kind of prob and this is how i fixed it just format the line like this in your .htaccess
ErrorDocument 404 /put file name here In other words point to it with the "/" like a path instead of the url...make sure that the file you point to is in the same directory as your .htaccess Hope that helps Matt |
|
|
|
|
|
#17 |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
or putting your ErrorDocument directive in your httpd.conf file
cheers |
|
|
|
|
|
#18 |
|
I知 still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
NOTHING is working errr The server encountered an internal error or misconfiguration and was unable to complete your request. this is what I get when I TRY everything
__________________
![]()
|
|
|
|
|
|
#19 |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
[php]<Directory /home/sites/site6/web >
AllowOverride FileInfo </Directory>[php] I mispelled Override the first time ;) if it doesn't work what is the error in the log? cheers |
|
|
|
|
|
#20 |
|
I知 still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
[Wed May 29 23:39:55 2002] [alert] [client 68.10.106.150] /home/sites/site6/web/.htaccess: AddType not allowed here
[Wed May 29 23:39:57 2002] [alert] [client 68.10.106.150] /home/sites/site6/web/.htaccess: AddType not allowed here
__________________
![]()
|
|
|
|
|
|
#21 |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
did you restart apache after changing your httpd.conf?
cheers |
|
|
|
|
|
#22 |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
ack... what a horrible little title to appear under my name... ;-/
|
|
|
|
|
|
#23 | |
|
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
Quote:
|
|
|
|
|
|
|
#24 | |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
Quote:
The httpd.conf file that va2k already posted had rewrite rules in it so his rewriting is enabled fine. cheers |
|
|
|
|
|
|
#25 |
|
I知 still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
This is so stressing lmao still cant get this goign
__________________
![]()
|
|
|
|
|
|
#26 | |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
Quote:
did you try just putting the ErrorDocument directive in your httpd.conf file and restarting apache? cheers |
|
|
|
|
|
|
#27 |
|
I知 still alive barley.
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
|
yeappers
__________________
![]()
|
|
|
|
|
|
#28 |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
did apache restart without issuing any errors?
did you remember to remove the .htaccess file that was causing the problem when you did this? cheers |
|
|
|