Here's a proxy I'm using. I know we were chatting about this a year or so
ago and someone figured out the puzzle... :)

so I'm passing bvstools.com to xx.xx.xx.35 and fieldexit.com to xx.xx.xx.37
but all traffic comes in on xx.xx.xx.32

LoadModule proxy_http_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_connect_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_ftp_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule ibm_ssl_module /QSYS.LIB/QHTTPSVR.LIB/QZSRVSSL.SRVPGM

Listen xx.xx.xx.32:80
Listen 1xx.xx.xx.32:443

#Stuff here to redirect port 80 to port 443.

<VirtualHost xx.xx.xx.xx.32:443>
SSLAppName BVSTOOLS_SSL
SSLServerCert "bvstools2021"
SSLEngine On
SSLCacheDisable
ServerName bvstools.com
ServerAlias bvstools.com
ServerAlias www.bvstools.com
ServerAlias m.bvstools.com
ProxyPass / http://xx.xx.xx.35/
ProxyPassReverse / http://xx.xx.xx.35/
ProxyPreserveHost On
</VirtualHost>

<VirtualHost xx.xx.xx.32:443>
SSLAppName FIELDEXIT_SSL
SSLServerCert "fieldexit2021"
SSLEngine On
SSLCacheDisable
ServerName fieldexit.com
ServerAlias fieldexit.com
ServerAlias www.fieldexit.com
ProxyPass / http://xx.xx.xx.37/
ProxyPassReverse / http://xx.xx.xx.37/
ProxyPreserveHost On
</VirtualHost>

On Mon, Jan 10, 2022 at 12:19 PM Suren K <suren7437@xxxxxxxxx> wrote:

Hi All,

Currently I am using Reverse proxy in IBMi which in turn redirects the
requests into two other servers(one IBMi IWS and another one Java Web
Service windows Server).

I created a new HTTP Server (reverse proxy server) in IBMi using HTTP Admin
and added the below lines in the HTTP Server Configuration file
(httpd.conf)

LoadModule proxy_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_http_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_connect_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_ftp_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_balancer_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM

ProxyPass /test/customer http://IP:port/test/customer
ProxyPassReverse test/customer http://IP:port/test/customer

This is working fine, but when I try to configure the https url in the
proxy it is not working.

Could you please help me out with any web page or document which has those
steps on how to configure ssl enabled url in the reverse proxy?

Example I am trying the below which is not working

SSLProxyEngine On
ProxyPass /test/customer https://IP:port/test/customer
ProxyPassReverse test/customer https://IP:port/test/customer

Any inputs will be very much appreciated.

Regards,
Suren
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.