Joe Schaefer a crit :
> > Hello,
> > I have setup an apache proxy, which seems to work fine. But, I found
> > out that it doesn't not answer back http/1.1 with a http/1.1 response.
> > The request comes in as 1.1, but the proxy answer back with 1.0. Is
> > there some special configuration I need to set in httpd.conf for it
> > to answer with a 1.1 response?
> the mod_proxy that comes with Apache is a 1.0 proxy. By the rfc's,
> it's not supposed to return a 1.1 response, since it doesn't support
> the advanced cacheing features of http/1.1.
> Apache enforces this by checking the r->proxyreq flag just before
> sending the headers. If this flag is set, Apache downgrades the
> connection to a 1.0 (closed).
> There are other modules that enable 1.1 responses from mod_proxy, but
> AFAIK none of them are constitute a full HTTP/1.1 proxy. However in
> your circumstance, you appear to me using mod_proxy as a reverse-proxy/
> gateway, so this shouldn't be a big problem.
> A simple way around this is to comment out the appropriate lines in
> src/main/http_request.c and rebuild apache.
> YMMV
> --
> Joe Schaefer
And if you want to enable KeepAlive on reverse-proxy, you could try
this:
http://persoweb.francenet.fr/~pasty/ap_proxy_ka/
Regards,
--
ASTY Patrick
A.C.I.C. - Tel +33 (0)1.45.32.37.00
If Windows is the answer, you didn't understand the question.