-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John,

johnrock wrote:
>       # send all requests ending in .jsp to worker1
>         JkMount /*.jsp worker1
>         # send all requests ending /servlet to worker1
>         JkMount /*/servlet/ worker1

[snip]

> What I am trying to do is very simple, but I am confused of course.
> apache document root is:
> DocumentRoot "C:/perfroot/depot/myApp/web"
> 
> So if you go to http://localhost you will be served
> "C:/perfroot/depot/myApp/web/index.html". That works fine.
> What I want to happen is that if you go to http://localhost/index.jsp tomcat
> should serve
> C:/perfroot/depot/myApp/web/index.jsp

Where have you deployed your web application (that is, where is your
WEB-INF directory)? If you've deployed to /perfroot/depot/myApp/web then
your webapp is probably called "web" as far as Tomcat is concerned.

$TOMCAT_HOME/conf/server.xml contains a <Host> element which specifies
where applications "usually" live. Have you altered that? If not, you
may want to either alter that to point to /perfroot/depoy/myapp/web or,
better yet, create a context.xml file and put it in
TOMCAT_HOME/conf/[enginename]/[hostname]/ROOT.xml.

See http://tomcat.apache.org/tomcat-6.0-doc/config/context.html for
details on how to create <Context> elements in context.xml files.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklvyN8ACgkQ9CaO5/Lv0PBPPgCfVZvjJ01U/wF6ThbER5Ds1fWb
ZsMAn1q1w3epNOUvj+dta++LIt/FoG9r
=bIJE
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to