andre John Mas wrote: > > >> Date: Fri, 14 Aug 2009 11:44:37 -0400 >> From: ch...@christopherschultz.net >> To: users@tomcat.apache.org >> Subject: Re: Sub paths and context (migrating Tomcat 5.0 to 5.5) >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Andre John, >> >> On 8/14/2009 11:37 AM, andre John Mas wrote: >>> How can I get back this functionality, without having to change the >> application architecture? I have tried moving the context file to: >>> conf/Catalina/localhost/enroll/partnerco.xml >>> >>> but this doesn't work either. >> Try >> >> conf/Catalina/localhost/enroll#partnerco.xml >> >> This is covered in the "Introduction" section of >> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html >> > > I missed that. For the benefit of others: > > "in individual files (with a ".xml" extension) in the > $CATALINA_HOME/conf/[enginename]/[hostname]/ directory. > The name of the file (less the .xml) extension will be used as the > context path. Multi-level context paths may be defined using #, e.g. > context#path.xml. The default web application may be defined > by using a file called ROOT.xml." > > I actually put %2F as the separator and that also appears to have worked, > though I will changed it to what the documentation suggests.
That %2F ever worked was a bug [1] that has since been fixed. Although the fix wasn't ported to the 5.5.x branch I would strongly encourage folks to use the supported # notation. Mark [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=46261 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org