tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Obermeier" <Stefan.Oberme...@biozentrum.uni-wuerzburg.de>
Subject named based virtual host with Tomcat
Date Wed, 04 Oct 2006 12:54:03 GMT

Hello, 

we are using Apache-Tomcat connector in the following way:

The two conf files are located on the INTERNETSERVER.
The INTERNETSERVER is reachable via application.domain.com
The Tomcat applications are available via application.domain.com/APPL/ on
PRODSERVER or application.domain.com/APPL_dev/ on DEVSERVER.

(/etc/apache/conf.d/jk.conf)
# simple configuration for apache (for AJP connector, modul mod_jk.so)
<IfModule mod_jk.c>
    JkWorkersFile /etc/apache2/tomcat/workers.properties
    JkLogFile /var/log/tomcat/mod_jk_apache2.log
    JkLogLevel error
    JkMount /APPL/* appl
    JkMount /APPL_Help/* appl
    JkMount /APPL_dev/* appl_dev
    JkMount /APPL_dev_Help/* appl_dev
</IfModule>

(/etc/apache2/tomcat/workers.properties)
worker.list=appl,appl_dev
worker.appl.type=ajp13
worker.appl.host=PRODSERVER
worker.appl.port=8009
worker.appl.lbfactor=50
worker.appl.cachesize=10
worker.appl.cache_timeout=600
worker.appl.socket_keepalive=1
worker.appl.recycle_timeout=300
worker.appl_dev.type=ajp13
worker.appl_dev.host=DEVSERVER
worker.appl_dev.port=8009
worker.appl_dev.lbfactor=50
worker.appl_dev.cachesize=10
worker.appl_dev.cache_timeout=600 worker.appl_dev.socket_keepalive=1
worker.appl_dev.recycle_timeout=300

Now I need to have a subdomain named appl.application.domain.com. How can I
configure jk.conf or etc/apache/vhosts.d/appl.conf (or another conf file)
that this will match.

Many Thanks to anyone who will help
Stefan



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message