View Single Post
Old 02-11-2001, 05:23 PM  
rhizome
Confirmed User
 
Industry Role:
Join Date: Jan 2001
Posts: 788
I use a very simple version and just stick it in my image directory:

----------------------------

RewriteEngine On

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

RewriteRule /* http://www.where_you_want_to_redirect.com [R,L]

-------------------

You can use the last line to redirect surfers that try browsing your image directory. You can save the above as a .txt file and then upload it to your image directory. Once you upload it, rename the file to .htaccess
rhizome is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote