![]() |
htaccess protecting a directory help please
hi. i need a htaccess file that will make it so that in order to access any html pages in http://www.mydomain.com/free-galleries/imagepages/ they have to come from a page on my site. i dont want a serfer to be able to browse them by typing in image002.html, image003.html etc... i have a php script thats randomly choosing 10 per day out of in some cases 350 and i dont want a smart serfer to be able to see them all. make sense? thanks. rl
|
Here you go, just replace my domain info with your domain info.
AuthType Basic RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://www.cleos-porn-links.com/adult-links/*$ [NC] RewriteRule /* http://www.cleos-porn-links.com/ [R,L] |
xxx
excellent, thank you very much cleo.
|
it works :)
just finished my first gallery with pics on html pages and the htaccess works perfectly. thanks again :)
|
All times are GMT -4. The time now is 08:30 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc