[mirror-admin] enabling keep-alives

Axel Thimm Axel.Thimm at ATrpms.net
Wed Mar 26 23:59:23 EDT 2008


Hi,

On Wed, Mar 26, 2008 at 08:52:34AM -0700, Stuart McKim wrote:
> On Tue, Mar 25, 2008 at 10:22:15PM +0200, Axel Thimm wrote:
> > The other is to block ranged requests as this is what download
> > accelerators do indeed:
> > 
> >     RewriteEngine on
> >     RewriteCond %{HTTP:Range} [0-9]$
> >     RewriteRule \.iso$ / [F,L,R=403]
> > 
> 
> Does this also block all legitimate download resumes by clients? For
> example, if I lose my connection while downloading something from home,
> I'll use a 'wget -c URL' to pick up where I left off. From my
> understanding of this rule, it would block that.

No, it wouldn't, see my post to Günther, or just sniff on the network
on Range: headers.

The Range request from wget/curl resume/continue end with a
hyphen. Therefore the rule above does not apply. Only if some program
requests a less-than-the-end ranged request will it trigger and until
now I've only seen download accellerators doing that.

The good thing is that even download accellerators work fine as they
fallback to conventional downloading.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.ale.org/pipermail/mirror-admin/attachments/20080327/41f86e4f/attachment.bin 
-------------- next part --------------
--


More information about the Mirror-admin mailing list