logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Resume download functionality

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
luzm



Joined: 11 Jan 2008
Posts: 3

PostPosted: Fri 11 Jan '08 21:17    Post subject: Resume download functionality Reply with quote

Hi,

I was wondering if anybody knows whether it is possible to disable "Resume download" functionality in a server Apache/2.0.52.

If this is possible, how can I do it?

If not, does anybody knows what server does not support Resume download?

Needless to say that I am new at server configuration.

Thank you in advance for any help/suggestions you can provide.

luzm
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 610
Location: Milford, MA, USA

PostPosted: Sat 12 Jan '08 18:29    Post subject: Reply with quote

These directives will disable resuming downloads with Apache 2.2.
I didn't test it with Apache 2.0, but I expect they would work the same.
Code:
LoadModule headers_module modules/mod_headers.so
Header set Accept-Ranges none
RequestHeader unset Range


Why would you want to disable resuming downloads? That seems like a unusual requirement.

-tom-
Back to top
luzm



Joined: 11 Jan 2008
Posts: 3

PostPosted: Mon 14 Jan '08 19:47    Post subject: Reply with quote

Hi Tom,

Thank you for your answers.

You're right this is an unusual requirement. I am making sure my app does not crashes in the unlikely, but possible, event that it accesses a server that does not support resume download.

I will give it a try and let you know if it worked just in case somebody else is in a similar situation.

Sincerely

Luz
Back to top
luzm



Joined: 11 Jan 2008
Posts: 3

PostPosted: Wed 16 Jan '08 3:19    Post subject: Reply with quote

Hi,

Me again, I can not find the last two directives:

Header set Accept-Ranges none
RequestHeader unset Range

Can you provide a little more detail? anybody?

Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6573
Location: Germany, Next to Hamburg

PostPosted: Wed 16 Jan '08 11:33    Post subject: Reply with quote

You have to add that into your httpd.conf Wink
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 610
Location: Milford, MA, USA

PostPosted: Wed 16 Jan '08 14:05    Post subject: Reply with quote

The Header directive is documented here for Apache 2.0, and the RequestHeader directive is documented here.

-tom-
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1