This page answered my question
http://www.jvmhost.com/articles/how-to-configure-tomcat-with-multiple-virtual-hosts
In case it disappears in the future, this is the important bit
<Host name="domain1.com" autoDeploy="true" appBase="webapps"
unpackWARs="true">
<Alias>www.domain1.com</Alias>
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h
%l %u %t "%r" %s %b" resolveHosts="false"/>
<Context path="" docBase="domain1" debug="0" reloadable="true"/>
</Host>
<Host name="domain2.com" autoDeploy="true" appBase="webapps"
unpackWARs="true">
<Alias>www.domain2.com</Alias>
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h
%l %u %t "%r" %s %b" resolveHosts="false"/>
<Context path="" docBase="domain2" debug="0" reloadable="true"/>
</Host>
Thanks
Chris
On Mon, 27 Oct 2014 23:03:36 +1100, Chris Mylonas <ch...@opencsta.org>
wrote:
Hi Tapestry Users,
Where would I look to deploy a tapestry sites on one tomcat instance
that are served up by a domain names behind apache http?
I recently found
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.16</version>
<configuration>
<contextPath>/</contextPath>
...
...
for dev (contextPath set to /) so i don't get the redirect.
Seeing as there is probably more than one way to skin the cat, I presume
there would be a tapestry way of answering requests to www.domain1.com
rather than www.domain1.com/myApp/
Further, is there a tapestry way of answering requests to
www.domain1.com in one tapestry app, and then deploy a 2nd tapestry app
to reply on www.domain2.com?
Cheers
Chris
--
Using Opera's mail client: http://www.opera.com/mail/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org