RE: Virtual Hosting with WAR files

2005-08-16 Thread Mahesh S Kudva
Thanks to all. This setup has been tested on Apache2+JBoss+mod_jk-1.2.14_for MacOSX. And am sure it will work on other platforms as well. This setup also handles Apache related webapps.. Make the required entries in the DNS webapp.war: Extract the war file using zip and rename the folder with

Re: Virtual Hosting with WAR files

2005-08-16 Thread Darryl L. Miles
Charles Meier wrote: If I understand this setup correctly, you would be running one instance of Tomcat for all of your virtual hosts. This has the disadvantage that if one virtual host needs to be restarted, you will need to restart Tomcat for all of your virtual hosts. An alternative is t

Re: Virtual Hosting with WAR files

2005-08-16 Thread Charles Meier
If I understand this setup correctly, you would be running one instance of Tomcat for all of your virtual hosts. This has the disadvantage that if one virtual host needs to be restarted, you will need to restart Tomcat for all of your virtual hosts. An alternative is to let Apache handle the

Re: Virtual Hosting with WAR files

2005-08-16 Thread Pete Stevens
Try reading this, http://www.ex-parrot.com/~pete/tomcat-vhost.html It's a receipe for setting up tomcat to do virtual hosting and behave more like apache with regard to virtual hosts. Yours, Pete Stevens On Tue, 16 Aug 2005, Mahesh S Kudva wrote: > Hi > > I have setup Tomcat+Apache2+mod_jk.

Re: Virtual Hosting with WAR files

2005-08-16 Thread Darryl L. Miles
in $CATALINA_BASE/conf/server.xml merge these settings: foo.com Ensure the 3 sets of "webapps" and "work" directories are writable by the userid your JVM is running as. Mahesh S Kudva wrote: I have setup Tomcat+Apache2+mod_jk. I have 3 application in war files nam