The missing link! I don't have definitions setup or see an example of the definition in the server.xml file. Would you mind pointing me in the direction where I can find documentation on this? Thanks!!! -----Original Message----- From: Turner, John [mailto:JTurner@AAS.com] Sent: September 12, 2002 7:34 AM To: 'Tomcat Users List' Subject: RE: Apache 2.0.40/Tomcat 4.1.10 vhost problem What are your server.xml Host element definitions? Do you have one for each of the Apache virtual hosts? John > -----Original Message----- > From: Short, Dave [mailto:dave.short@pfizer.com] > Sent: Thursday, September 12, 2002 10:31 AM > To: Tomcat Users List > Subject: Apache 2.0.40/Tomcat 4.1.10 vhost problem > > > I'm having a problem accessing .jsp files when running Tomcat > (inprocess - > mod_jk2) via an Apache virtual host. I have three virtual > hosts defined in > the httpd.conf file (see below) with three webapps defined in > server.xml > (see below). Apache serves up my index.html just fine from > vhost App1. > When index.html tries to invoke a .jsp file, Tomcat can't > find it. If I add > the absolute path to the .jsp file, within index.html, > everything works. It > seems as though Tomcat is trying to serve up the .jsp file > from the webapps > root. > > Configuration: > > Windows 2000 > Apache 2.0.40 > Tomcat 4.1.10 > > > index.html: > > This doesn't work > > > > vhost test > > > vhost test > > > > This works > > > > vhost test > > > vhost test > > > > > httpd.conf: > > NameVirtualHost * > > > DocumentRoot "C:/Tomcat/webapps/App1/htdocs" > ServerName App1 > ServerAdmin admin@App1.com > DirectoryIndex index.html > ErrorLog logs/App1.log > > > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > > > > > > DocumentRoot "C:/Tomcat/webapps/App2/htdocs" > ServerName App2 > ServerAdmin admin@App2.com > DirectoryIndex index.html > ErrorLog logs/App2.log > > > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > > > > > > DocumentRoot "C:/Tomcat/webapps/App3/htdocs" > ServerName App3 > ServerAdmin admin@App3.com > DirectoryIndex index.html > ErrorLog logs/App3.log > > > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > > > > > > workers.properties: > > [uri:/App1] > info App1 webapp in the default context. > context=/App1 > debug=0 > > [uri:/App1/servlet/*] > info=Prefix mapping > > [uri:/App1/*.jsp] > info=Extension mapping > > > [uri:/App2] > info=App2 webapp in the default context. > context=/App2 > debug=0 > > [uri:/App2/servlet/*] > info=Prefix mapping > > [uri:/App2/*.jsp] > info=Extension mapping > > > [uri:/App3] > info=App3 webapp in the default context. > context=/App3 > debug=0 > > [uri:/App3/servlet/*] > info=Prefix mapping > > [uri:/App3/*.jsp] > info=Extension mapping > > [uri:/App3/*] > info=Map the whole webapp > > > server.xml: > > > reloadable="true" crossContext="true"> > prefix="localhost_App1_log." suffix=".txt" > timestamp="true"/> > > > > reloadable="true" crossContext="true"> > > prefix="localhost_App2_log." suffix=".txt" > timestamp="true"/> > > > > > reloadable="true" crossContext="true"> > > prefix="localhost_App3_log." suffix=".txt" > timestamp="true"/> > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: