|
|
|
||||
|
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: Jul 2006
Location: NoHo
Posts: 5,970
|
Need .HTACCESS ... HLP!
Hi guys! I checked my bw stats and it seems that some russian scumbag site is hotlinkng the shit out of one of my sites.......(~10gb/day).... since I have a dedicated box and good bw package I am not too worried about it .... but I don't want these sons of bitches getting used to it so .... do you guys have an htaccess file which will help me block access from one site in particular? ... if you have a geo-ip .htaccess blocker that will do too!
Thanks 4 ur help guys
__________________
![]() ICQ: 266990876
|
|
|
|
|
|
#2 |
|
Too lazy to set a custom title
Join Date: Dec 2006
Posts: 23,400
|
If you know the referring links you can block those using this:
Code:
RewriteEngine on
Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blogspot\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?fusker\.lv/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]
|
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Jul 2006
Location: Canada
Posts: 3,143
|
Also you need to check your server plug ins to make sure your server has the required php settings... and you need to check your file regarding permissions...
__________________
sig too big |
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Jul 2006
Location: NoHo
Posts: 5,970
|
Quote:
__________________
![]() ICQ: 266990876
|
|
|
|
|
|
|
#5 |
|
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,422
|
Required PHP settings and file permissions?
Ohhh OK..... |
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Jul 2006
Location: NoHo
Posts: 5,970
|
mmm.. it seems that there is some sort of syntax error with my .htaacess file cause the logs indicate those russian sites are still able to hotlink my content.........
This is whut I have: Code:
php_flag safe_mode off
php_flag log_errors on
php_flag register_globals on
RewriteEngine on
Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?redlips\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?spermik\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?ananasik\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?arbuzik\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?buterbrod\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?kokosik\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?eroman\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?sexpix\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?morkovka\.net/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?smoder\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?ruclub\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?sex4free\.co.il/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?almazik\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?fusker\.lv/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]
Any ideas?????
__________________
![]() ICQ: 266990876
|
|
|
|
|
|
#7 | |
|
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
Quote:
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself |
|
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: Jul 2006
Location: NoHo
Posts: 5,970
|
Quote:
RewriteCond ^http://(.+\.)?redlips\.ru/ [NC,OR]
__________________
![]() ICQ: 266990876
|
|
|
|
|
|
|
#9 |
|
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
do you have icq or something ? I've been trying the same thing with .htaccess ... but its really pointless , there are alot of other methods
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself |
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: Jul 2006
Location: NoHo
Posts: 5,970
|
YEAP.... let add u... it seems that the more sites I add to that .htaccess thingy the more russian sites I see on my stats wtf!....
__________________
![]() ICQ: 266990876
|
|
|
|