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 07-06-2008, 05:50 PM   #1
qxm
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
qxm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2008, 05:53 PM   #2
Iron Fist
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]
Just add lines as necessary....
Iron Fist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2008, 05:55 PM   #3
yahoo-xxx-girls.com
Confirmed User
 
yahoo-xxx-girls.com's Avatar
 
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
yahoo-xxx-girls.com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2008, 05:59 PM   #4
qxm
Confirmed User
 
Join Date: Jul 2006
Location: NoHo
Posts: 5,970
Quote:
Originally Posted by sharphead View Post
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]
Just add lines as necessary....
awesome m8! ... thats exactly whut I needed
__________________

ICQ: 266990876
qxm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2008, 06:00 PM   #5
V_RocKs
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.....
V_RocKs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2008, 01:21 AM   #6
qxm
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]
My logs also show this other site>>> http://www.elreyanovip.com/popit.php but there is nothing on that domain... could they be using that domain as a proxy to redirect the hotlinks?


Any ideas?????
__________________

ICQ: 266990876
qxm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2008, 02:39 AM   #7
2012
So Fucking What
 
2012's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 17,189
Quote:
Originally Posted by qxm View Post
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]
My logs also show this other site>>> http://www.elreyanovip.com/popit.php but there is nothing on that domain... could they be using that domain as a proxy to redirect the hotlinks?


Any ideas?????
this is all based on the hope they send you HTTP_REFERER <--- this
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself
2012 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2008, 03:02 AM   #8
qxm
Confirmed User
 
Join Date: Jul 2006
Location: NoHo
Posts: 5,970
Quote:
Originally Posted by fartfly View Post
this is all based on the hope they send you HTTP_REFERER <--- this
mmm... ok .. so how would I modify this stuff? .... should I erase the %{HTTP_REFERER} part leavin it looking like this?:

RewriteCond ^http://(.+\.)?redlips\.ru/ [NC,OR]
__________________

ICQ: 266990876
qxm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2008, 03:18 AM   #9
2012
So Fucking What
 
2012's Avatar
 
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

Last edited by 2012; 07-07-2008 at 03:20 AM..
2012 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2008, 03:19 AM   #10
qxm
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
qxm 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.