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 10-28-2003, 02:33 AM   #1
Stud Money
So Fucking Banned
 
Join Date: Sep 2003
Location: Somewhere between my monitor and my chair
Posts: 3,214
Hotlink Protection ( Allowing Multiple Domains But Denying Others)

Anyone have the .htaccess code handy to make this work?

So for instance domaina.com is the one i want to protect but, i want to allow domainb.com domainc.com domaind.com to hotlink images from domaina.com yet no other domains will be allowed to do so.

Does that make sense?
Stud Money is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 06:21 AM   #2
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally posted by Stud Money
Anyone have the .htaccess code handy to make this work?

So for instance domaina.com is the one i want to protect but, i want to allow domainb.com domainc.com domaind.com to hotlink images from domaina.com yet no other domains will be allowed to do so.

Does that make sense?

dumbass thats a simple basic .htaccess list
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 07:49 AM   #3
icedemon
Confirmed User
 
Join Date: Jun 2003
Location: Lutz, FL
Posts: 1,022
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !.*?domaina.com.* [NC]
RewriteCond %{HTTP_REFERER} !.*?domainb.com.* [NC]
RewriteCond %{HTTP_REFERER} !.*?domainc.com.* [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG)$ http://domain.com/bad.gif [R,L]
__________________
Clips4Sale.com
icedemon 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.