Author |
|
luzm
Joined: 11 Jan 2008 Posts: 3
|
Posted: Fri 11 Jan '08 21:17 Post subject: Resume download functionality |
|
|
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: 611 Location: Milford, MA, USA
|
Posted: Sat 12 Jan '08 18:29 Post subject: |
|
|
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
|
Posted: Mon 14 Jan '08 19:47 Post subject: |
|
|
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
|
Posted: Wed 16 Jan '08 3:19 Post subject: |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 16 Jan '08 11:33 Post subject: |
|
|
You have to add that into your httpd.conf |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Wed 16 Jan '08 14:05 Post subject: |
|
|
The Header directive is documented here for Apache 2.0, and the RequestHeader directive is documented here.
-tom- |
|
Back to top |
|