Re: HTTP/0.9 and mod_proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Krist van Besien wrote:
> > The tcpdump between Apache and the backend looks like this:
> >
> >        GET /test HTTP/1.0
> >        Host: backend:9110
> >        User-Agent: curl/7.15.1 (x86_64-suse-linux) libcurl/7.15.1
> >        OpenSSL/0.9.8a zlib/1.2.3 libidn/0.6.0
> >        Accept: */*
> >        Max-Forwards: 10
> >        X-Forwarded-For: 127.0.0.1
> >        X-Forwarded-Host: localhost:4080
> >        X-Forwarded-Server: localhost
> >
> >        <html><head/><body>AS2 Adapter is alive.</body></html>
> 
> Your problem is that apache expects a http/1.0 response to an HTTP/1.0
> request. Because the response does not conform to HTTP/1.0 it is
> rejected. Thus the 502 error.
> 
> Apache will proxy HTTP/0.9 just fine. Just repeat your test with a
> HTTP/0.9 client and you'll see. Apache does not translate between
> HTTP/1.0 and HTTP/0.9. It would anyway not be easy to do this. So if
> you send a HTTP/1.0 request to your forward proxy it will forward a
> HTTP/1.0 request to the backend.

I've done that today. The error is the same.

Danijel

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux