I'm running Tomcat 4.0.3 and Apache 1.3.23 on Red Hat 7.2. Tomcat is set up correctly 
and is running on port 8080. Port 8008 is set up for use by the Tomcat WARP connector 
and requests to this port generate an error in the apache_log.txt file. Unfortunately, 
Apache doesn't talk to this port. I've installed mod_webapp.so in the /libexec 
directory. I'm trying to set this up with a virtual host. I do not have a ServerName 
defined outside any vitual host block, but adding one doesn't seem to help matters. 
Here are the relevant portions of my httpd.conf

LoadModule webapp_module      libexec/mod_webapp.so
(...)
AddModule mod_webapp.c
(...)

NameVirtualHost yyy.yyy.yyy.yyy:8000
NameVirtualHost yyy.yyy.yyy.yyy

<IfModule mod_webapp.c>
WebAppConnection webapp_conn warp mydomain.com:8008
WebAppInfo /webapp-info
</IfModule>

<VirtualHost yyy.yyy.yyy.yyy yyy.yyy.yyy.yyy:8000>
ServerName www.myotherdomain.com
WebAppDeploy myWebapp webapp_conn /
WebAppDeploy examples webapp_conn /examples
</VirtualHost>

The only change I've made to Tomcat's server.xml file is the addition of the virtual 
host settings for www.myotherdomain.com.

Any ideas what I'm doing wrong here?

Thanks,
Matt Belcher








--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to