![]() |
![]() |
![]() |
||||
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 |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
.htaccess to prevent image hotlinking?
Does anyone have any links that could help me get this set up?
It'd be great if I could have a set image show up regardless of what image was being hotlinked. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
jellyfish
![]() ![]() Join Date: Dec 2003
Posts: 71,528
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
Quote:
http://altlab.com/htaccess_tutorial.html so thanks ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
I heard of this thing once.... what was it again?
__________________
Perfect Gonzo |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
visit hardlinks.org
Industry Role:
Join Date: Jun 2003
Location: Las Vegas , Nv >>> [email protected] or icq 94994627 anytime
Posts: 18,362
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
|
To send an image to specific domains:
RewriteEngine on RewriteCond %{HTTP_REFERER} .*fusker*.*$ [NC] RewriteCond %{HTTP_REFERER} .*usefulidiot*.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp|png)$ http://www.primanudes.com/hotlink/hotlink.jpg [R] This says if one of those specific domains asks for an image, send them something else. To send an image to all hotlinkers: RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.primanudes\.com RewriteCond %{HTTP_HOST} !^primanudes\.com RewriteRule .*\.(gif|jpg|jpeg|bmp|png)$ http://www.primanudes.com/hotlink/hotlink.jpg [R] put YOUR domain in the second line. If your site resolves with other names, add those as well (either on their own lines, or, use a regEx to do it). That says if it's not your domain asking for an image, send them something else. If you have a bunch of subdomains, use something like: RewriteCond %{HTTP_HOST} !^.*primanudes.com.* Here's a thread with more about .htaccess: http://www.gofuckyourself.com/showthread.php?t=413223 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Supermodel
Industry Role:
Join Date: Nov 2004
Location: Sodoma & Gomorra
Posts: 22,901
|
I have a domain protected for hotlink and didnīt knew it ...
__________________
SMC Revenue - Best Tgirl websites of the world now VR ![]() Non exclusive BIG Tranny/shemale Package for sale, full 2257 - hit me up skype: nikkimontero ![]() ![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |