|
|
|
||||
|
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 |
|
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? |
|
|
|
|
|
#2 | |
|
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
Quote:
dumbass thats a simple basic .htaccess list |
|
|
|
|
|
|
#3 |
|
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 |
|
|
|