tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joh...@dancik.com
Subject Ignore URL Prefix
Date Fri, 17 Jan 2003 22:15:43 GMT
I'm using Apache + Tomcat 4.1.12.

In addition to Tomcat, my Apache serves static content and other CGI
applications outside of Tomcat.

I've got the standard Tomcat webapps directory structure, like:

jakarta-tomcat-4.1.12
   webapps
      app1
         WEB-INF
            lib
      app2
         WEB-INF
            lib
      etc.

For all my applications and other content in Tomcat, I want to use a single
URL path prefix ("tomcat"), like this:

   http://www.xyz.com/tomcat/app1/...
      or
   http://www.xyz.com/tomcat/app2/...

Everything else without the /tomcat/ prefix is served by Apache outside of
Tomcat.

I've got the following Apache directive in httpd.conf:

   JKMount /tomcat/* ajp13

What do I need in my Tomcat configuration files to get it to ignore the
/tomcat/ in the URL?

Thanks!



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message