![]() |
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] |
One sec ill give you a juicy one.............
|
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 |
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 |
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