On Tue, Sep 17, 2013 at 2:34 PM, Daniel Mikusa <dmik...@gopivotal.com>wrote:

> How do you have HTTPD configured?  It's important to get this right.
>

The tomcats are running on 8081 and 8083 and apache is listening on 8080
and 8082, with each one proxied to the corresponding tomcat instance. I
think these are the relevant parts of httpd.conf, but let me know if
there's something else you want to see:
Listen 8080
Listen 8082
[...]
NameVirtualHost *:8080
NameVirtualHost *:8082
[...]
<VirtualHost *:8080>
    DocumentRoot /var/www/
    ServerName local.mysite.com
    ScriptAlias /cgi-bin/ /var/www/cgi-bin/

    [...]
    ProxyPass        /dy               http://localhost:8081/dy max=100
    ProxyPassReverse /dy               http://localhost:8081/dy max=100
</VirtualHost>

<VirtualHost *:8082>
    DocumentRoot /var/www/
    ServerName local.mysite.com
    ScriptAlias /cgi-bin/ /var/www/cgi-bin/

    [...]
    ProxyPass        /dy               http://localhost:8083/dy max=100
    ProxyPassReverse /dy               http://localhost:8083/dy max=100
</VirtualHost>

Thanks,
Nick

Reply via email to