Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2003-11-05, 10:20 PM   #23
MrHackula
If something goes wrong at the plant, blame the guy who can't speak English
 
MrHackula's Avatar
 
Join Date: Sep 2003
Location: Montana
Posts: 32
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?
__________________
Integrity = Longevity
MrHackula is offline   Reply With Quote
 


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 09:28 PM.


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