#----------------------------------------------------------------------# ServerName foxflash-stage.digitaria.com ServerAdmin tech@digitaria.com DocumentRoot /www/foxflash-stage/src ##CustomLog /www/foxflash-stage/logs/access_log combined AddHandler cgi-script .cgi RewriteEngine On ProxyRequests Off ## RewriteCond %{REQUEST_METHOD} GET ## RewriteCond %{REQUEST_URI} \.jpg|\.jpeg ## RewriteCond %{HTTP_REFERER} !.*digitaria.com.* [OR] ## RewriteCond %{HTTP_USER_AGENT} ^$ ## RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L] Options ALL -Indexes AllowOverride ALL Order allow,deny Allow from all #----------------------------------------------------------------------#