You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
765 B
29 lines
765 B
## |
|
## apache-tomcat.conf -- Apache configuration for Tomcat |
|
## |
|
|
|
# load DSO |
|
LoadModule jk_module @l_prefix@/libexec/apache/mod_jk.so |
|
|
|
# workers configuration |
|
JkWorkersFile @l_prefix@/etc/apache-tomcat/workers.properties |
|
|
|
# run-time & logging |
|
JkShmFile @l_prefix@/var/apache-tomcat/mod_jk.shm |
|
JkLogFile @l_prefix@/var/apache-tomcat/mod_jk.log |
|
JkLogLevel warn |
|
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " |
|
|
|
# mount worker "status" (internal) |
|
<Location /jk-status/> |
|
JkMount status |
|
Order deny,allow |
|
Deny from all |
|
Allow from 127.0.0.1 |
|
</Location> |
|
|
|
# mount worker "tomcat" (remote) |
|
JkMount /*.jsp tomcat |
|
JkMount /servlet/* tomcat |
|
JkMount /examples/* tomcat |
|
|
|
|