proxy: no HTTP 0.9 request (with no host line)

Posted by TestPlanManagement.com on Server Fault See other posts from Server Fault or by TestPlanManagement.com
Published on 2012-06-20T18:37:55Z Indexed on 2012/06/20 21:18 UTC
Read the original article Hit count: 118

Filed under:
|

I'm getting a bunch of these errors in my error.log:

[client 1.2.3.4] proxy: no HTTP 0.9 request (with no host line) on incoming request and preserver hose set forcing hostname to be www.mydomain.com for uri /

My config is essentially:

ProxyRequests Off

<VirtualHost 1.2.3.4:80>
ServerName www.mydomain.com
DocumentRoot "c:/apache/htdocs"

ProxyPreserveHost On
ProxyPass / http://172.1.1.1/
</VirtualHost>

<VirtualHost 1.2.3.4:443>
ServerName www.mydomain.com
DocumentRoot "c:/apache/htdocs"
# SSL Stuff

ProxyPreserveHost On
ProxyPass / http://172.1.1.1/
</VirtualHost>

Anyone have an idea how to eliminate those warnings?

© Server Fault or respective owner

Related posts about apache2

Related posts about mod-proxy