|
|
|
||||
|
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
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
|
htaccess antihotlinking question
(I don't want to disable hotlinking completely.)
You can block individual sites by using this: RewriteCond %{HTTP_REFERER} ^http://(.+\.)?site\.com/ [NC] such as: RewriteCond %{HTTP_REFERER} ^http://(.+\.)?fusker\.lv/ [NC] but what if I want to block every site that has the text "fusker" anywhere in the url? How do I do that? |
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
|
come on, one of you knows this info. :D
|
|
|
|
|
|
#3 |
|
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
|
one of yous sales short solutions :D
|
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Sep 2003
Location: Lincoln, NE
Posts: 3,853
|
did you ask google? I have no clue. good luck .
__________________
![]() Completely Real Amateur girls doing awesome things! Signup to promote Nebraskacoeds Today! Hit me up on ICQ/AIM 473324556/jasonnecoeds for exclusive content to promote with! And any ?'s |
|
|
|
|
|
#5 |
|
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
|
+1 to your postcount though, good job! (thanks for the bump
|
|
|
|
|
|
#6 | |
|
Confirmed User
Industry Role:
Join Date: Nov 2005
Posts: 639
|
Quote:
RewriteCond %{HTTP_REFERER} !^www\.mysite\.com RewriteCond %{HTTP_REFERER} !^$ 1) says only allow referrers that are your own site 2) says don't block if there's no referrer Hope it helps |
|
|
|
|
|
|
#8 |
|
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
|
hmmm... just tried it, that didn't work for (example: http://www.milkonya.com/fusker/index.php?lid=36173) |
|
|
|
|
|
#9 | |
|
Confirmed User
Join Date: Apr 2002
Location: /root/
Posts: 4,997
|
Quote:
ie: Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^.*fusker.*$ [NC]
RewriteRule .*\.(gif|jpg|png) - [F]
|
|
|
|
|
|
|
#10 |
|
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
|
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?forum\.phun\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?sexonabanheira\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?photos\.boobdex\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blogspot\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?roberc\.lv/ [NC]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?fuskerxp\.com/ [NC]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?midnitecrowproductions\.com/ [NC]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?fusker\.?/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]
|
|
|
|
|
|
#13 |
|
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
|
so...
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?forum\.phun\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?sexonabanheira\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?photos\.boobdex\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blogspot\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?roberc\.lv/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?fuskerxp\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?midnitecrowproductions\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?fusker\..*$ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]
|
|
|
|
|
|
#15 |
|
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
|
fuck, now it's disabled hotlinking completely.
|
|
|
|
|
|
#16 |
|
Confirmed User
Industry Role:
Join Date: Mar 2003
Location: Miami, FL
Posts: 2,090
|
lol... man i was going to see if i could help but it seems you already tried all I was going to mention.
GL
__________________
GetSCORECash.com | In the Biz Since 1991
Big Tits | Granny & MILFs | Amateurs | Big Booty | Foot Fetish | BBW | Teens Hosted Embeds | MP4s | RSS Feeds | FHGs | Model Directory |
|
|
|
|
|
#17 |
|
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
|
appreciate the bump just the same bro
|
|
|
|
|
|
#18 |
|
Confirmed User
Join Date: Mar 2004
Location: Your Mother's Snatch!
Posts: 1,874
|
bump!
![]() |
|
|
|