![]() |
HTACCESS help please
I need a htaccess code that blocks hotlinking to images that take more then 10k in size.
Images smaller then 10k can be hotlinked, but if someone tries to hotlink to a bigger image it will redirect him to the URL that I specify... can this be arranged? maybe someone has a similar code premade..I'd appreciate that |
Oh and I need a code I can put in the root directory and it will block hotlinking all over the domain. In all directories...
I don't want a code that I need to put in every dir |
u got an innovative sig
|
Quote:
|
Quote:
like whip up something in perl to check the file size and you could execute it from mod_rewrite. |
You should be able to find what you need on this site:
http://www.hahahahahahahahahahakit.c...htaccess.shtml You want to block all hot linking in an .htaccess file in the root. To allow for smaller files, using .htaccess, you must put them in directory, or tree, and allow hotlinking using another .htaccess file. |
Quote:
i'll tell you what i need this for.. for a domain that i have tgp galleries on, i want to block hotlinking so that russian fucking porn sites won't hotlink my pics.. i want to allow small ones, because certein tgp's hotlink your thumb for a gallery...thumbs are less then 10k most of the time, and big pics are more then 10k, so i thought about this solution, but if it's too complicated, i'd have to think of something else |
All times are GMT -7. The time now is 05:22 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123