maidos
28 Jul 2008, 14:35
I did post on wht but no one replied.
I have one htaccess on the public_html directory and i have this anti hotlinking code. But for some reason this doesnt work while it works on other servers. I have reinstalled mod_rewrite but still the same issue. Please help
#RewriteEngine on
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http://(www\.)?site\.net/ [NC]
#RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://site.net/no_hotlinking.gif [NC]
I have one htaccess on the public_html directory and i have this anti hotlinking code. But for some reason this doesnt work while it works on other servers. I have reinstalled mod_rewrite but still the same issue. Please help
#RewriteEngine on
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http://(www\.)?site\.net/ [NC]
#RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://site.net/no_hotlinking.gif [NC]