I have hosted an asp.net website in IIS which is working fine. I am creating a reverse proxy for this site using Apache 2.0.59. Below is my Virtual host configuration
ProxyPass / http://webserver:1234/
ProxyPassReverse / http://webserver:1234/
ReplaceFilterDefine multiple CaseIgnore
ReplacePattern multiple "http://webserver:1234/
My web page allows users to download files.
Here is the problem I am facing, When ever I download a file, apache buffers the entire file to the memory and once it is loaded in memory it starts the download.
The files that I serve are more than 1 GB, so once the user clicks the download he has to wait for quite a long time (around 4/5 mins) for the download to start. This site is going to be used extensively and so this behaviour is not acceptable.
I read that apache 2.2 has option to flush output. I tried IOBuffer size and request buffer size in apache 2.0.59 but neither helped. Can any one guide me on disabling buffering in apache 2.0
Thanks in advance