prevent hotlinking problem, .htaccess problem |
prevent hotlinking problem, .htaccess problem |
Mar 29 2006, 06:07 PM
Post
#1
|
|
![]() My name is really Matt... if you care. ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,442 Joined: Oct 2005 Member No: 258,234 |
i want to prevent the hotlinking of images and i have this code...
it does what its supposed to, i mean, images cant be hotlinked, but what im trying to do is replace the hotlinked image with a different image and a link to my site.... this is what i have: CODE RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?phoenixf1re.melilyn\.com/ [NC] RewriteCond %{HTTP_REFERER} !^http://www.melilyn.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://phoenixf1re.melilyn.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.hitherston.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.takecamera.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.autumn-sky.org.*$ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L] |
|
|
|
add1cted2f1re prevent hotlinking problem Mar 29 2006, 06:07 PM
Stephire An easier way would be to ask your host to do it t... Mar 29 2006, 06:10 PM
add1cted2f1re yeah, but i want to do it this way b/c i would lik... Mar 29 2006, 06:31 PM
add1cted2f1re its been 4 days.... so i think i am allowed to bum... Apr 3 2006, 04:10 PM![]() ![]() |