View Single Post
Old 06-05-2001, 02:40 AM  
Muff
Confirmed User
 
Join Date: Mar 2001
Location: Toronto
Posts: 1,782
this one is good aswell

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www\.yourdomain\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://64.88.185.39.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.bannerfarm/links.shtml
ErrorDocument 404 http://www.bannerfarm.com/links.shtml
ErrorDocument 403 http://www.bannerfarm.com/links.shtml
Options -Indexes

it will stop them from directory browsing where there is no index files. and redirect your 404 and 403 to wherever.

Muff
Muff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote