Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-01-14, 08:26 PM   #1
chilihost
Look at 'em. Watchin' my TV. Sittin on my couch. You better not be in my ass groove!
 
chilihost's Avatar
 
Join Date: Aug 2003
Posts: 465
htaccess files protect the directory and all subdirectories unless there is another htaccess file in the subdirectory, at which point that one takes over for its directory and its subdirectories.

an easy way to do this is to add in the domains you want hotlinkability from in your main htaccess file, ie, add in this type of line:

RewriteCond %{HTTP_REFERER} !^http://www.otherdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://otherdomain.com/.*$ [NC]

that will allow www.otherdomain.com and otherdomain.com to hotlink but still stop everyone else.

cheers,
Luke
__________________
HunkMoney+BritishBucks+LatinoBucks=50+ gay sites!
chilihost is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:18 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc