Hi Brandon Cruz,
It is good to have an example
for me to start. Please.
I didn't need to setting up the
Virtual host for my apache. And I commented all other Context Path out, and
added the following. Is this correct ?
Context
path="."
docBase="/var/www"
crossContext="false"
debug="0"
reloadable="true"
/Context
Rgds,
Dino
- Original Message -
From:
Brandon Cruz
To: [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 10:34
PM
Subject: RE: Define the /var/www to serve
.jsp ?
You
can just edit %tomcat_home%/conf/server.xml and set the docBase to be wherever
you have your apache files located. You can specify this for each
virtual host you have set up though apache. If you need examples or
anything, just send me an email.
Brandon CruzNorvax Inc.www.norvax.com
-Original Message-From: Sam Newman
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 19, 2001
9:25 AMTo: [EMAIL PROTECTED]Subject: Re:
Define the /var/www to serve .jsp ?
When using tomcat and apache, you simply set up
a new document root and mapping within httpd.conf for each webapp you want
accessable via Apache. When you run tomcat, it automatically generates the
Apache directives required to use Apache and Tomcat together uising mod_jk -
look at the file mod_jk.conf-auto. This file is overwritten whenever tomcat
is restarted, so don't edit it directly.
For more info check the mod_jk-howto included
with the tomcat distro.
sam
- Original Message -
From:
Dino
Ming
To: TomCat User
Sent: Tuesday, June 19, 2001 3:13
PM
Subject: Define the /var/www to serve
.jsp ?
Dear All,
Sorry for my stupid
question, and I'm new to JSP Servlet.
Hereare my
questions.
Is it good to set the
Apache's document root to pass .jsp to Tomcat ? Or I need to define a
folder under $TOMCAT_HOME/webapps/"my new folder" , and putting all of
my.jsp inside ?
It look like Tomcat
treatfolders inside $TOMCAT_HOME/webapps/ as an application
?
Rgds,
Dino