![]() |
![]() |
![]() |
||||
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: Aug 2005
Location: NEW ZEALAND
Posts: 1,657
|
.htacess & hotlink help
i got this
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite 1(/)?.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp|)$ http://www.google.com [R,NC] but i want my other site mysite 2 allowed to hot link pics of mysite 1 what do i add to the code to allow mysite 2 to hot link?? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Marketing & Strategy
Industry Role:
Join Date: Jun 2001
Location: Former nomad
Posts: 14,293
|
__________________
Whitehat is for chumps If you don't do it, somebody else will - true story!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2003
Posts: 1,020
|
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite 1(/)?.*$ [NC]
Just copy that line over and put in the domain of the other sites you want to allow. Like So... RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite 1(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite 2(/)?.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite 3(/)?.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp|)$ http://www.google.com [R,NC] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to set a custom title
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
|
__________________
Make Money
|
![]() |
![]() ![]() ![]() ![]() ![]() |