Apache 2.4 Tomcat7 and mod_jk

后端 未结 2 1266
萌比男神i
萌比男神i 2021-01-24 06:45

I want to connect apache2.4 with tomcat7

My configuration is:

workers.properties

    workers.tomcat_home=/var/lib/tomcat7
workers.java_home=/usr/         


        
2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-24 07:38

    You can ignore those errors referencing 'jk-manager' and 'jk-status' unless you want to enable management of the mod. You need to move the JK mount directive in to the VirtualHost section of your website. You can add the following to /etc/apache2/sites-available/default

    ... # Send everything for /* to worker1 JkMount /* worker1 ...

提交回复
热议问题