· Oct 26, 2023

Apache config from PWS to Web Gateway

This is probably not the right place, but I don't know who I can reach out to... I am trying to configure an Apache/Web Gateway to our instance of IRIS so we are no longer using the built-in PWS. Can anyone point me in the right direction to configure Apache/Web Gateway to repoint

http://<server name>:52773/... to the https://<server name>/...

gateway so our users will not notice? How do I do this in Apache, do I need to modify httpd.conf or the ssl.conf file? What is the correct syntax...

This is what I tried to do in the httpd.conf file

<VirtualHost *:52773>
    ServerAlias int-lxiris-vd01
    Redirect permanent /

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]


Scott Roth 

Product version: IRIS 2023.1
Discussion (7)2
Log in or sign up to continue

Not sure if I understand where you are stuck. Looks like you are trying to proxy the PWS instead of avoiding it.
What the webgateway does and what intersystems recommends is using the webgateway which does not connect to the PWS on IRIS but to the superserver-port (default: port 1972).
The general configuration of the connection between Webgateway and IRIS is done via web-based management-interface of the webgateway. The articles Luis Angel is referring to include the configuration of which sorts or requests are linked to the Webgateway and forwarded to Iris (via superserver-port).
Hope this will help....