KID18
02-16-2001, 04:41 PM
I can not get this to work i put the following in a .htaccess file in the directory where the images are.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://your_domain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.your_domain.com/.*$ [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG)$ http://your_server.com/bad.gif [R]
I uploaded it in ASCII and my server is a VA Linux running Red Hat Modified Linux 6.0 will this not work on this kind of server? My host was using BSDi servers but im soupoused to be on a VA Linux now maybe it doesn't work on either one of those, i have no idea :) can anyone help? thanks
Got this from...http://faq.solutionscripts.com/misc/hot_linking.html
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://your_domain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.your_domain.com/.*$ [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG)$ http://your_server.com/bad.gif [R]
I uploaded it in ASCII and my server is a VA Linux running Red Hat Modified Linux 6.0 will this not work on this kind of server? My host was using BSDi servers but im soupoused to be on a VA Linux now maybe it doesn't work on either one of those, i have no idea :) can anyone help? thanks
Got this from...http://faq.solutionscripts.com/misc/hot_linking.html
