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)
-   -   htaccess? (https://gfy.com/showthread.php?t=300180)

NaughtyAllie 05-23-2004 09:47 AM

htaccess?
 
Hey guys, I'm looking for a little help here.
How do I modify the below htaccess to allow hotlinking from one particular domain? For example, say I wanted to allow hotlinking from www.gofuckyourself.com. How would I modify the code to allow that?

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?naughtyallie.com/.*$ [NC]
RewriteRule \.(gif|GIF|jpg|JPG|mpg|MPG|Mpeg|mpeg|MPEG|wmv|WMV) $ http://www.naughtyallie.com/guestarea/index.htm [R,L]

Juicy D. Links 05-23-2004 09:48 AM

One sec ill give you a juicy one.............

Juicy D. Links 05-23-2004 09:49 AM

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(www\.)?gofuckyourself.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(board\.)?gofuckyourself.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(bbs\.)?gofuckyourself.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(www\.)?gfyboard.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://69.42.74.68(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.juicylinks.com [R,NC]



change the ip address of you main server ip also you the different gfy urls as well for massive posting power

NaughtyAllie 05-23-2004 09:52 AM

Hey Juicy, thanks for the help!!
Could you email that to me in a notepad document since the code gets all screwed up on the board?
allie at naughtyallie dot com :)
You're the greatest!! :thumbsup

thatjen 05-23-2004 09:22 PM

I have the code too and can email it if you still need it. [email protected]


All times are GMT -7. The time now is 02:19 AM.

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