Apache virtualhost config
Something like this:
1 2 3 4 5 6 |
<Directory "/usr/local/apache2/mysite/htdocs"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from all </Directory> |
HTACCESS
Put this at the top of .htaccess:
1 2 3 4 5 6 |
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?classicufo\.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://photobucket.com/blocked.gif [L] </IfModule> |