GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   .htacess & hotlink help (https://gfy.com/showthread.php?t=659472)

bigalownz 09-26-2006 04:57 AM

.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??

DamageX 09-26-2006 04:58 AM

http://www.htaccesstools.com

grumpy 09-26-2006 06:08 AM

http://www.vortexmind.net/index.php/...king-tutorial/

have fun with it.

Fuckin Bill 09-26-2006 07:03 AM

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]

martinsc 09-26-2006 09:26 AM

http://wm.thumblogger.com/home/log/2...ree-htacc.html :thumbsup


All times are GMT -7. The time now is 07:40 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123