Quote:
Originally posted by alexg
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
|
mod_rewrite doesnt allow you to specify image size but you can use an external program that will
like whip up something in perl to check the file size and you could execute it from mod_rewrite.