logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to translate non-chunked message to a chunked message
Author
usurendra



Joined: 17 Dec 2014
Posts: 1
Location: USA

PostPosted: Wed 17 Dec '14 20:36    Post subject: How to translate non-chunked message to a chunked message Reply with quote

Apache:2.2.26
OS:RHEL

How to translate non-chunked message to a chunked message using apache server side configuration?

Idea is that apache must translate non-chunked request message coming from a client to a Transfer-Encoding: chunked message,before it reaches my apache C module

Here is the configuration i tried in httpd.conf,but of no success

ProxyRequests On
ProxyVia On
<Proxy *>
</Proxy>

<VirtualHost x.x.x.x:8080>
ServerName server
ServerAdmin root@server
LogLevel warn
SetEnv proxy-sendchunked 1
<Location ~ />
ProxyPass http://x.x.x.x:80/index
</Location>
</VirtualHost>

<VirtualHost x.x.x.x:80>
ServerName server
ServerAdmin root@server
LogLevel warn
</VirtualHost>

Any help would be highly appreciated.
Back to top
James Blond
Moderator


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

PostPosted: Tue 23 Dec '14 13:20    Post subject: Reply with quote

There is topic about that https://www.apachelounge.com/viewtopic.php?t=3824

The short answer is to use Header unset Content-Length

if you still have a question please ask again.
Back to top


Reply to topic   Topic: How to translate non-chunked message to a chunked message View previous topic :: View next topic
Post new topic   Forum Index -> Apache