LoadModule jk2_module libexec/apache2/mod_jk2.so <IfModule mod_jk2.c> JkSet config.file /usr/local/etc/apache2/workers2.properties </IfModule>mod_jk2 用 /usr/local/etc/apache2/workers2.properties 。
[logger] level=ERROR [shm:] file=/var/run/jk2.shm size=1000000 [channel.socket:localhost:8009] tomcatId=localhost:8009 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/examples/*]
[referer:
The script did not produce proper HTTP headers. Please see the error log to see the detail of the errors. Depending on the server configuration, you can also run thisscript under CGIWrap debugging. Usually, either rename or linkthe script temporarily to a file which ends with .cgidextension, or add a AddHandler cgi-script-debug .cgiline to your .htaccess file.
]