Hi folks, I'm setting up a tomcat server that will be running a few
dozen vhosts all being served from the same war file. I've set up AJP
connectors for wildcard hosts on apache, and I'm able to see the tomcat
server from the outside world.
However, secondary vhosts I create don't seem to be working.
An example. The apache front end has:
<VirtualHost *:80>
ServerName m.REDACTED.com
ServerAlias *.REDACTED.com
ProxyPreserveHost On
ProxyPass / ajp://10.211.42.48:8009/
ProxyPassReverse / ajp://10.211.42.48:8009/
<Proxy ajp://10.211.42.48:8009/*>
Order allow,deny
Allow from all
</Proxy>
</VirtualHost>
The target IP is 10.211.42.48 is running Tomcat6, and has things like this:
/etc/tomcat6/Catalina/vhost.REDACTED.com/ROOT.xml
containing:
<Context path="/" docBase="/var/wars/application.war" />
I'm assuming when I hit vhost.REDACTED.com, I should see a deployed
version of the application.war, right? Or am I doing something
blatantly stupidly wrong here?
Thanks!
-d
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org