Blocking http 206 requests


#1

hi

is there a way to block 206 partial data requests ?? download accelerators are bombing my site hard. most are masking as mozilla so i cant add rewriterules to .htaccess

nick


#2

You might want to see if support can help you. This is the kind of thing that affects an entire machine.

Wholly - IS NOT MY PROMO CODE. Even worse, I don’t get any credit for it. Use WhollyMindless for full credit. I’m really disappointed in someone.


#3

if anyone is interested here is the trick - you can do it with mod_rewrite:

RewriteEngine On
RewriteCond %{HTTP:Range} !^$
RewriteRule ^files/.+$ - [F,L]

This particular example would deny partial data requests in files/ directory. This blocks all download managers allowing only one stream per file per ip.

Nick


#4

Thanks for posting that back Nick, will stick that in my code snippets collection for future reference should I ever have the need for it.


Web Hosting Reviews | Get Around The Net Directory


#5

Maybe you should add that to the wiki as well.
Silk

My website