I want to protect my images. The images are on a server with only a ip
address (66.66.66.66) and on port 8080 (66.66.66.66:8080). And the images
should only be use on webpages of another website ex: webard.net
..htaccess
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://webadr.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.webadr.net/. *$ [NC]
RewriteCond %{HTTP_REFERER} !^http://66.66.66.66/.*$ [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG)$ - [F,L]
It doesn't work. I tried all king of version of this, and still it doesn't
work. I removed the # in front of these lines in the httpd.conf and
restarted the server...
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
Still, it doesn't work. Do I need another module?
Many thanks...
Andy la boy!
>> Stay informed about: newbie htaccess problem...