![]() |
Why doesn't this work...htaccess
The bad image never shows when i try to hotlink.
ErrorDocument 401 /errors/401.html ErrorDocument 403 /errors/403.html ErrorDocument 404 /errors/404.html ErrorDocument 500 /errors/500.html RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://site.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.site.com/.*$ [NC] RewriteRule .*\.(gif|GIF|jpg|JPG)$ http://site.com/bad.gif [R] |
Because you fucked up. format c: and it will work... I think.
|
Try this, works for me.
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?site.com/.*$ [NC] RewriteRule \.(gif|jpg)$ http://www.site.com/fuckoff.jpg [R,L] Make sure you don't put your hotlink image in a directory that is protected, or it won't work. |
The images you are using may be of big size and your server does not support them. Change the host.
|
All times are GMT -7. The time now is 01:05 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123