Which Apache version are you using? For Apache 1.3.x+mod_rewrite I could probably trick it into doing what you want (but I havn't actually tried it :). For Apache 2.x, I'm not so sure (without a lot of C code hacking :).
Sordid hacks like what I'm suggesting are almost always not the way to go :). In particular, you can expect major problems with relative links to e.g. image files. Personally, I would just set up a '/tomcat' Context in Tomcat and leave it at that. <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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]>
