-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chris,
On 1/26/15 4:52 PM, Chris Arnold wrote: >> The best possible setup here is to set up httpd with more than >> one VirtualHost (and SNI, since you are using HTTPS) with the >> correct hostnames, etc., and only use JkMount from the "share2" >> VirtualHost. Then, re-name your application from share.war to >> ROOT.war and re-deploy it into Tomcat. Use "JkMount /share/* >> worker1" and be done with it. > >> If the application can't handle that (try it!), you'll have to >> make other arrangements. > > According to: https://wiki.alfresco.com/wiki/Deploying_To_Server > > that is not even necessary. I understand that link is a years old > and talks about tomcat 6 but the general idea is the same. I will > try to rename the war and see what happens. Yeah, that document is evidently a pack of lies. Specifically, the "path" and "docbase" attributes in <Context> are ignored in META-INF/context.xml files, and you really shouldn't have your <Context> anywhere else (except in conf/[engine]/[host]/[appname].xml, which behaves almost the same way). Best thing to do is to name the web application the same as where you want it to be deployed and not try to re-write anything. Is there a particular reason you want to map / to /share instead of /share to /share? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUxrsIAAoJEBzwKT+lPKRY7a0QAMllYOS212JVjYb3jNOi1LO7 jNLjA81tHgXYoYCNINdKAS0M1kiwSxFVWuGBtN/WT9QoawXjR1bq01j7q5h0fwRt VPy2cFiusD/scwqEV6QeFyrGm96K9lA9tj3gnbsVz1ZyFWs3YYu5Gfm49yuCUp96 4Frno+x6dChJYA6PSSS4l9UtC90hGAZuIzvDveta4gRV6HYnr3jFlOhTpEuX0aCn MkbujVlb8B/of52C/iHDERUPdnyrb92AFBgF5YGLYtwarrzh+Vsj6xxvnABkZ4XE ppuCVAAMPN2j7DRJCYrD1l5kMTbTCPYNbl99uTbSMhzz+btfuo2AlLkuL6CJtrIe 8n6HZc5dpUdUJN3VTLhk18WzF6wjZImJ0qBywn+tu7jE0RFh/e8lfl5gBbAn/v6/ oApR02gyLF9rrXvmzEl7BepKzsVO8VyRSXTY2OBlbYnNQwr+FSM+3OVUeXYA5dzg zRDaQ3P84fj3owZDlPjKRLdeV586xRmaIuh0Gep5JjmTceFYMkr1gYkqRu8xBgyU z25bokqGgN1MO2j8MxwzB0WUmt99B8kKel/+0NzA9iJztI/Bb/qa9n03SCXd0fSi lewHqQ8AzhpENY+exyZYra+X2if+qBJD6oXP9GQKwkkiC/E3c9VC1omXzqQbiCeX 2I0xYULkViwp68yjEcAX =xaqF -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org