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 Mark Forums Read
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 09-24-2005, 04:32 PM   #1
brizzad
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.
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2005, 04:35 PM   #2
Manowar
jellyfish  
 
Join Date: Dec 2003
Posts: 71,528
http://www.businessvoyeur.com/2005-0...nking-in-depth

Might help you a bit
Manowar is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2005, 04:46 PM   #3
brizzad
holla
 
Join Date: Jul 2003
Location: KFC
Posts: 11,769
Quote:
Originally Posted by Manowar
it didnt really help, but it did give me some better keywords to search for in google and i found this

http://altlab.com/htaccess_tutorial.html

so thanks
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2005, 04:46 PM   #4
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
I heard of this thing once.... what was it again?

GOOGLE
__________________
Perfect Gonzo
broke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2005, 04:49 PM   #5
~Ray
visit hardlinks.org
 
~Ray's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Las Vegas , Nv >>> [email protected] or icq 94994627 anytime
Posts: 18,362
had this bookmarked for years:

http://www.htaccesstools.com/
~Ray is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2005, 04:50 PM   #6
brizzad
holla
 
Join Date: Jul 2003
Location: KFC
Posts: 11,769
Quote:
Originally Posted by AdvertisingSex
had this bookmarked for years:

http://www.htaccesstools.com/
that's great, i'm bookmarking it now thanks
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2005, 05:04 PM   #7
fusionx
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
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2005, 05:06 PM   #8
nikki99
Supermodel
 
nikki99's Avatar
 
Industry Role:
Join Date: Nov 2004
Location: Sodoma & Gomorra
Posts: 22,901
I have a domain protected for hotlink and didnīt knew it ...
nikki99 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
Thread Tools



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.