httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <carn...@electrichendrix.com>
Subject Re: [users@httpd] Proxy Config Issues
Date Sat, 17 Nov 2012 21:23:24 GMT
I am trying to proxy http://dls.domain.net 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>
    ServerAdmin administrator@domain.net
    ServerName dls.domain.net

    ProxyPass /    http://dls.domain.net/
    ProxyPassReverse /    http://192.168.123.4/welcome/client-software.html

    # if not specified, the global error log is used
    ErrorLog /var/log/apache2/dls.domain.net-error_log
    CustomLog /var/log/apache2/dls.domain.net-access_log combined

</VirtualHost>

I have both public and private DNS records for dls.domain.net and firewall is config'd to
pass http traffic to the correct server. I can ping dls.domain.net 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 192.168.123.4 server.
What am i missing?

EDIT
Now i am seeing this in the error log:

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

/EDIT


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message