/*=DLOG4J /jkstatus=status !/*.gif=DLOG4J !/*.jpg=DLOG4J !/*.png=DLOG4J !/*.css=DLOG4J !/*.js=DLOG4J !/*.htm=DLOG4J !/*.html=DLOG4J !/*.php=DLOG4J
3、修改conf文件http.conf
增加:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
虚拟主机中可加入JkMountFile的配置:
NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin webmaster@example.com DocumentRoot "/xxx/dir" ServerName 127.0.0.1 <Directory "/xxx/dir"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> JkMountFile /home/apache2/conf/uriworkermap.properties JkLogFile /home/apache2/logs/mod_jk.log JkLogLevel warn </VirtualHost>