|
|
|
||||
|
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
Join Date: Apr 2003
Location: CO
Posts: 1,844
|
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] |
|
|
|
|
|
#2 |
|
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
One sec ill give you a juicy one.............
|
|
|
|
|
|
#3 |
|
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
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 |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Apr 2003
Location: CO
Posts: 1,844
|
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!! |
|
|
|
|
|
#5 |
|
Confirmed User
Industry Role:
Join Date: Apr 2003
Location: Las Vegas
Posts: 290
|
I have the code too and can email it if you still need it. [email protected]
|
|
|
|