Personally, I would like to have the choice to put my jsp/html/images etc.
somewhere besides the tomcat installation directory. It's just one less
hassle to deal with when you're upgrading tomcat.
"Tore Skogly"
<tore.skogly@c2i To: "Tomcat Users List"
<[EMAIL PROTECTED]>
.net> cc:
Subject: Re: Tomcat, mod_jk and
Apache...again!
05/10/2002 05:48
PM
Please respond
to "Tomcat Users
List"
Thanks for your help. It made things clearer to me.
I am using ldap to allow only some users to access webpages in different
directories.
Therefore it would be easier for me to keep the jsp pages with my html
stuff.
I guess I could try to edit the server.xml file and set /var/www/html as my
webapp directory,
but I might have to settle with what you suggests - put them in the
$TOMCAT_HOME/webapps directory.
Thanks again for your assistance!
ToreS
----- Original Message -----
From: "Zachary Kuhn" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, May 10, 2002 8:36 PM
Subject: RE: Tomcat, mod_jk and Apache...again!
> Tore,
> In order to help, please be more descriptive about your access
> restrictions, and the way you have set up your directories. Based on the
> things you have said so far, this may be your problem:
> Tomcat looks in its webapp directory for webapps to deploy. Even a single
> jsp page constitutes a webapp(albeit a simple one).
> I think you are missing this fundamental point of tomcat. Tomcat needs to
> look for your jsp pages, then compile them, and
> put them in a working directory where they can be served. It has no idea
> that there is such a place as /var/www/html, only a
> $TOMCAT_HOME/webapps directory. The only way you could let it know about
> /var/www/html would be to modify the xml config file. But it is much
easier
> to just put your jsp pages in $TOMCAT_HOME/webapps, the way the system
was
> designed. Sorry for any errors, but that is my understanding of it.
> Zak
--
To unsubscribe, e-mail: <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>