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)
-   -   Need .HTACCESS ... HLP! (https://gfy.com/showthread.php?t=839521)

qxm 07-06-2008 05:50 PM

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 :thumbsup

Iron Fist 07-06-2008 05:53 PM

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

yahoo-xxx-girls.com 07-06-2008 05:55 PM

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

qxm 07-06-2008 05:59 PM

Quote:

Originally Posted by sharphead (Post 14428482)
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 :thumbsup

V_RocKs 07-06-2008 06:00 PM

Required PHP settings and file permissions?

Ohhh OK.....

qxm 07-07-2008 01:21 AM

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

2012 07-07-2008 02:39 AM

Quote:

Originally Posted by qxm (Post 14429401)
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

qxm 07-07-2008 03:02 AM

Quote:

Originally Posted by fartfly (Post 14429502)
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]

2012 07-07-2008 03:18 AM

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

qxm 07-07-2008 03:19 AM

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


All times are GMT -7. The time now is 06:53 PM.

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