Howdy Linkster,
Looks good from here.
That htaccess file will have control over all directories below it in the tree. In other words all it's subdirectories will be covered. The exception is having another htaccess file somewhere that has controls which run contrary to this one. If you don't already have a buch of miscellaneous htaccess files running aroud you should be just fine to put it in your root.
Glad I could help,
Mr. H.
Quote:
Originally posted by Linkster
MrHackula - thanks just one other question
If I use this htaccess on the root of the domain will it work to protect all galleries on that domain, or should I do it on a directory basis?
BTW - this is the little file that Im going to use (warning - dont follow the url on the rewrite 
RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} ^.*jp-sex.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^.*chatropolis.*$ [NC]
RewriteRule /* http://www.porno-free-sex.com/ [R,L]
Look ok?
|