The details are as follows:
Proxy Error
The proxy server has ed an invalid response from an upstream server.
The proxy server cocould not handle the request get /.
Reason: DNS lookup failure for: localhost
Solutions provided by Google:
With the following 'murxaround 'it's working now:
-Added 'keeplive off' in httpd. conf-> no effect
-Set keep-alive timeout to 1 day in IIS-> no effect
-Added
'Setenv force-proxy-request-1.0 1'
'Setenv proxy-nokeepalive 1'
In httpd. conf
It's working now without errors since 30 hours...
Don't know if first steps were necessary, I let them in place
So, modify httpd. conf.
<Virtualhost *: 80>
Serveradmin asion@mail.com
Servername www.domain.com
Proxypass/http: // 192.168.0.92
Proxypassreverse/http: // 192.168.0.92
Setenv force-proxies-request-1.0.1
Setenv proxy-nokeepalive 1
</Virtualhost>
Restart Apache and refresh it n times. Normal !!
[Note:] Paste Apache official Chinese instructions for protocol adjustments
Whenmod_proxy
When sending a request to an original server that does not correctly implement a persistent connection (keepalive) or HTTP/1.1, you can set two environment variables to send a keepalive connection). These two variables areSetEnv
Command.
<Location/buggyappserver/>
Proxypass http: // buggyappserver: 7001/Foo/
Set setenv force-proxy-request-1.0 1
Setenv proxy-nokeepalive 1
</Location>