RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?foxteam.org/(/)?.*$ [NC]
RewriteRule .*\.*$  http://www.foxteam.org/plug.php?e=index [R,NC]
Options -Indexes