httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <>
Subject Re: [users@httpd] Can Apache Forward/Proxy a Port?
Date Sun, 18 Nov 2012 19:16:42 GMT
----- Original Message -----
> I have a server that is sharing port 443. I need to use apache on a
> different server to forward/proxy https traffic to another apache
> server running on a different port, 2443. So, a user types in
> and is sent to Can
> apache do this and keep the URL

>>What you're looking for is actually called Reverse Proxy and is
>>(of of) mod_proxy's core capabilities.

>>for Nick Kew's explanation on how to do that.

Thanks for that link. However, the same error i have been getting is the the error i am getting
when i follow that link (that error is a 403 Access forbidden).
Actually, i have decided to keep the 443 port on both servers (i think this is possible for
apche to work with this). So my vhost looks like:

<VirtualHost *:80>

    ProxyPass /
    ProxyPassReverse /

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


I have tried with and without the ProxyPass entry and SSLProxyEngine On. Both give me the
access forbidden. The server doing the proxing seems to look for the directory on itself.
Here is the error log:

[Sun Nov 18 13:42:54 2012] [error] (110)Connection timed out: proxy: HTTP: attempt to connect
to ( failed
[Sun Nov 18 13:42:54 2012] [error] ap_proxy_connect_backend disabling worker for (
[Sun Nov 18 13:42:54 2012] [error] proxy: HTTP: disabled connection for (
[Sun Nov 18 13:58:47 2012] [error] Server should be SSL-aware but has no certificate configured
[Hint: SSLCertificateFile]

Not sure why it is looking om port 80 as the proxypass/reverse point to https://.

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

View raw message