14

JkMount outside of the <VirtualHost> using /sites-enabed/

view full story
linux-howto

http://serverfault.com – I have an Ubuntu 11.10 with Apache2 that is hosting some sites. I would like to add a site that is hosted in tomcat, so I installed mod_jk and set it up. The tomcat site is hosted under /app over ajp13. When I include the line JkMount /app/* ajp13_worker in inside of the <virtualhost> in either 000-default or default-ssl, it works perfect. However instead I would rather use the Ubuntu convention of putting new sites in a seperate file inside /etc/apache2/sites-enabled/. I have other sites inside of this path using <Location> directives. However, when I put the above line in a (HowTos)