tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lajos Moczar <lm...@galatea.com>
Subject Re: Ignore URL Prefix
Date Fri, 17 Jan 2003 22:20:16 GMT
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


johnny@dancik.com 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:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 


-- 



                    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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message