CGAdam
7-28-04, 03:52 AM
Heya... I just recently put up an .htaccess to block leechers from taking pictures and what not... now, I want to redirect these links to an image that tells them that they have reached a restricted file.
I used the tutorials given by the resource center for my .htaccess file. Now, according to the tutorial, I have to put in the file I want to restrict:
RewriteCond %{REQUEST_URI} !^/restricted_image.jpg
RewriteRule +.(gif|jpg)$ http://www.yoursite.com/stopleeching.jpg
Is there any way I can restrict the entire site as opposed to just a single image?
Any help is greatly appreciated!
--Adam
I used the tutorials given by the resource center for my .htaccess file. Now, according to the tutorial, I have to put in the file I want to restrict:
RewriteCond %{REQUEST_URI} !^/restricted_image.jpg
RewriteRule +.(gif|jpg)$ http://www.yoursite.com/stopleeching.jpg
Is there any way I can restrict the entire site as opposed to just a single image?
Any help is greatly appreciated!
--Adam