RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?askapache.com/.*$ [NC]
RewriteRule \.(gif|jpg|swf|flv|png)$ /feed/ [R=302,L]
Friday, April 9, 2010
How to Prevent Files from Being Used by Other Website?
Added these lines to your .htaccess file.
Subscribe to:
Comments (Atom)
 
