Scenario 2 Apache and Gateway on same server; Apache forwards only HTTP communications

In the second scenario, the Apache web server and the AcuToWeb Gateway are on the same server, and you want only the HTTP communications to be forwarded by Apache.

Using the following details:

tcp-port 8008 (the default)
webserver_port 3000 (the default)
Apache HTTP port 80 (the default)

Amend the httpd.conf file as follows:

# HTTP
<VirtualHost *:80>
     ProxyPreserveHost On
     ProxyPass / http://localhost:3000/
     ProxyPassReverse / http://localhost:3000/
</VirtualHost>

The URL opened by the browser does not require a portgw parameter; its value defaults to tcp_port.

Important: The firewall must allow connections on ports 80 and 8008.