I'm using Tomcat with Apache via mod_jk. In Apache's httpd.conf, I have: JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 In my "web.xml" file for a root context (context mapping is "/"), and a servlet with the URL pattern "/servlet/toto" and the appropriate name-to-class mapping in web.xml, this works fine. However, I'd like to be able to use the URL pattern "/toto", as in "http://localhost/toto", but this causes problems with my JkMount directives in httpd.conf ; this would generally require a statement such as: JkMount /* ajp13 ...but this would of course send *everything* from Apache to Tomcat! Which I don't really want... What other syntax could I use with JkMount ? Could I use a regexp, such as : JkMount /(servletA|servletB) ajp13 ...or must I list one JkMount line per servlet? I looked in the doc for "mod_jk", but couldn't find any more details of supported syntax. Note that this is a port of an existing application: I would otherwise have happily prefixed all servlets with the "/servlet/*" pattern... Thanks, Chris =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
