httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <>
Subject Re: [users@httpd] Proxy Config Issues
Date Sat, 17 Nov 2012 21:39:11 GMT
I am trying to proxy traffic to http://private.ip/path/to/page (a different
server on our network) but this is not working (i get a bad gateway error from the outside
(WAN) and the connection times out on the inside(LAN)). Here is the vhost:

<VirtualHost *:80>

    ProxyPass /
    ProxyPassReverse /

    # if not specified, the global error log is used
    ErrorLog /var/log/apache2/
    CustomLog /var/log/apache2/ combined


I have both public and private DNS records for and firewall is config'd to
pass http traffic to the correct server. I can ping from the LAN. The access
and error logs are empty, as if i am not even reaching the server. I have cleared/flushed
DNS on my laptop and the server. Http/apache is listening on port 80 on server.
What am i missing?

Now i am seeing this in the error log:

[Sat Nov 17 16:11:08 2012] [error] ap_proxy_connect_backend disabling worker for (
[Sat Nov 17 16:11:08 2012] [error] (110)Connection timed out: proxy: HTTP: attempt to connect
to ( failed
[Sat Nov 17 16:11:20 2012] [error] [client] (104)Connection reset by peer: proxy:
error reading status line from remote server
[Sat Nov 17 16:11:20 2012] [error] [client] proxy: Error reading from remote
server returned by /error/HTTP_BAD_GATEWAY.html.var


2nd EDIT
All the sites stop responding when i add the vhost above? I can rename it and restart apache
and all proxies and sites start working again. Is there a limit to the number of vhost/proxies
you can have?

/2nd EDIT

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

View raw message