httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Iliffe <>
Subject [users@httpd] Help with ProxyPass and ProxyPassReverse
Date Fri, 09 Feb 2018 01:31:45 GMT
I have a HTTP mail client running on port 7080 on the server that must be 
proxied through Apache.

Using a workstation, I can enter:

and it brings up the mail client correctly.

I tried to use ProxyPass/ProxyPassReverse to move the mail client to run on 
port 80 with the following configuration:

# Surgemail redirect to allow web based e-mail
<VirtualHost *:80>
   ProxyPass "/" ""
   ProxyPassReverse "/" ""
   ProxyPassReverseCookieDomain "" ""

I also tried

  ProxyPass "/" ""
  ProxyPassReverse "/" ""

In the first case, when I try to log onto the mail client, the content of 
the page comes up fine BUT the style sheet isn't available and none of the 
links on the login page work.  Clicking on any link from here gives the 
error message:

Firefox can't establish a connection to the server at

The second form gives the error:

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /mail.html.

Reason: DNS lookup failure for:  (note there is no 
/ after the socket id in the error message)

The issue seems to be that the server internal IP ( is being 
passed back to the browser and is being tried on the local workstation.  

Obviously I don't have the proxy set up properly but this looks to me like 
what the documentation is saying.  Can anyone assist me to fix it?

Thanks in advance,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message