Mailing List Archive

How to configure a reverse https proxy ?
Hi,

My Config is here, is there something error ?

<VirtualHost *:443>
ServerName egcs.agriec.com
ProxyRequests On
ProxyPass / https://172.16.1.48/
ProxyPassReverse / https://172.16.1.48/
</VirtualHost>

Regards,

Dongsheng Song


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: How to configure a reverse https proxy ? [ In reply to ]
Dongsheng Song wrote:
>
> Hi,
>
> My Config is here, is there something error ?
>
> <VirtualHost *:443>
> ServerName egcs.agriec.com
> ProxyRequests On
> ProxyPass / https://172.16.1.48/
> ProxyPassReverse / https://172.16.1.48/
> </VirtualHost>

You need to tell apache to listen to any port other than port 80. Have
you done:

Listen 443

N.B. - this directive is at server-config level (not inside the VH).

rgds,

Owen Boyle

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org