Johnny -

I just had to deal with this exact same problem but could not come up with a way other than to define each <Context> with a path set to "/tomcat/<appname>".

Lajos


[EMAIL PROTECTED] wrote:
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--



                   Lajos Moczar
      ----------------------------------------
    Open Source Support, Consulting and Training
      ----------------------------------------
            Cocoon Developer's Handbook
 (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

                   _      _____
                  / \         /
                 /___\      /
                /     \   /____

     http://www.galatea.com -- powered by AzSSL


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to