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 07-14-2001, 12:36 PM   #1
kush
Confirmed User
 
Join Date: Feb 2001
Posts: 3,382
.htaccess to allow hotlinking from only select domains

Does anybody know how to get this set up:
I want to be adult to hotlink pictures from certain select domains while preventing all other domains from hotlinking me. And I'm not sure how to do this...
Can someone offer some .htaccess help? I've search the boards but can't find a post relatd to this (though I think there was one once...)

Here's what my .htaccess currently looks like that doesn't allow ANY domain besides the one it's on to hotlink:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.beufords.com [NC]
RewriteCond %{HTTP_REFERER} !^http://beufords.com [NC]
RewriteRule \.jpg$ / [F,L]
RewriteCond %{HTTP_REFERER} !^http://www.beufords.com [NC]
RewriteCond %{HTTP_REFERER} !^http://beufords.com [NC]
RewriteRule \.gif$ / [F,L]

Thanks.

------------------
<A HREF="http://www.dailysteam.com/webmasters.html" TARGET=_blank>
My Webmaster's Page</A>
General Webmaster Info, seen from my point of view ;)<A HREF="http://www.dailysteam.com/sponsors.html" TARGET=_blank>
Sponsors List Page</A>
Organized, honest listing of sponsors and my comments on them
kush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-14-2001, 12:55 PM   #2
kush
Confirmed User
 
Join Date: Feb 2001
Posts: 3,382
nevermind I got it -
kush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-14-2001, 03:59 PM   #3
Gemini
Confirmed User
 
Join Date: Jan 2001
Location: o-HI-o
Posts: 7,183
Since this is such a point of never being able to find good help on specifics for hta, maybe we should petition Lens to make a read only forum on this subj and tuck copies of the good hta help posts there so they never cycle off the bbs.

Then if you have questions still the handles of the hta brains will be there for us to contact on our own in ICQ etc.
Gemini is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-14-2001, 04:08 PM   #4
Chris R
Confirmed User
 
Join Date: May 2001
Location: Baltimore, MD USA
Posts: 1,151
I agree 100%. Nothing irratates me more than when I post an .htaccess question to get a repsonse telling me to go to apache's website. If I understood what:

[R,L$./.\]

meant - I wouldn't have posted the question in the first place. There needs to be better examples. It is easy to find simple ones, but if then examples are almost impossible to find. I need examples, not syntax. That is all that seems to be out there.
Chris R 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.