![]() |
Direct image display/linking
anyone know the htaccess code to prevent someone from typing in http://www.blah.com/image/something.jpg and showing an image
|
mod rewrite
|
do you have an example
|
Basically, just leave off the null referrer statement that is commonly added.
It should look like this: RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com.*$ [NC] RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.hotlink.url However, while this will block direct requests and your freeloading copy and pasters, it will also block spiders. |
i'll just use it on the image folder instead of root
|
All times are GMT -7. The time now is 11:11 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123