-------------------

Tomcat 3.2.x
Apache 1.3.20
Solaris 2.8 (aka 8)
Sun JDK1.3.1

We are moving a large, servlet-like Java thing toward compliance with the
Servlet spec version 2.2.  One issue, considered by some to be a real
problem, is that in the migration our URL has changed from
.../appname/login.jsp to ../appname/stuff/login.jsp

We're looking for the magic Tomcat and Apache directives that will allow a
web client to type in "http://[hostname]/appname/login.jsp";, as they have in
past versions, and receive in response
.../tomcat/webapps/appname/stuff/login.jsp

-------------------

(now saying the same thing in another way...)

So we're locked into this structure:

tomcat/..

../webapps/appname/
../......./......./[directory]/
../......./......./.........../
../......./......./stuff/         (includes index.htm, login.jsp, and so on)
../......./......./WEB-INF/
../......./......./......./lib/

Tomcat's default behaviour is to serve this web application as:
http://[hostname]:8080/appname/stuff/login.jsp

We'd like for Tomcat and Apache, when the two are hooked together, to serve
the content as:

http://[hostname]/appname/login.jsp

-------------------

any suggestions appreciated!



Reply via email to