tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mattias Brändström <bra...@ludd.luth.se>
Subject mod_webapp, WebAppDeloy, Context
Date Thu, 02 May 2002 22:25:46 GMT
Hi!

I have some questions regarding mod_webapp.

What is the relationsip between WabAppDeploy (in my httpd.conf) and 
Conext (in server.xml)? They seem to hold similar information. If I have 
something like:

<VirtualHost *>
     ServerName www.matlaget.org
     DocumentRoot /var/www/matlaget
     WebAppDeploy  matjsp   conn  /matjsp
</VirtualHost>

in my httpd.conf, does that mean that i have to have something similar:

<Context path="/matjsp" docBase="matjsp"/>

in my server.xml file?

If I can have something else in the Context-element what would that 
mean? In my current setup I don't have any corresponding Context-element 
to the WebAppDeploy-statement and it works fine. That means I get tomcat 
to serve jsp to me on URLs on the form http://www.matlaget.org/matjsp/*.jsp.

Am I making any sense? What is the correct way to do this?

Regards,
Mattias


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message