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
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-26-2006, 04:57 AM   #1
bigalownz
Confirmed User
 
bigalownz's Avatar
 
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??
__________________
$100 free credit for all hosting needs
bigalownz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2006, 04:58 AM   #2
DamageX
Marketing & Strategy
 
DamageX's Avatar
 
Industry Role:
Join Date: Jun 2001
Location: Former nomad
Posts: 14,293
http://www.htaccesstools.com
__________________
Whitehat is for chumps

If you don't do it, somebody else will - true story!
DamageX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2006, 06:08 AM   #3
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
http://www.vortexmind.net/index.php/...king-tutorial/

have fun with it.
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2006, 07:03 AM   #4
Fuckin Bill
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]
Fuckin Bill is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2006, 09:26 AM   #5
martinsc
Too lazy to set a custom title
 
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
http://wm.thumblogger.com/home/log/2...ree-htacc.html
__________________
Make Money
martinsc 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



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.