0% found this document useful (0 votes)
62 views1 page

Mod-Jk Conf

This document contains Apache mod_jk configuration settings for load balancing Java applications across multiple Tomcat servers. It specifies loading the mod_jk module, the workers and mount files mapping URIs to applications, log and status settings, and restricting access to the status page to localhost only. Options are set for logging format and size, and to forward requests without trailing slashes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views1 page

Mod-Jk Conf

This document contains Apache mod_jk configuration settings for load balancing Java applications across multiple Tomcat servers. It specifies loading the mod_jk module, the workers and mount files mapping URIs to applications, log and status settings, and restricting access to the status page to localhost only. Options are set for logging format and size, and to forward requests without trailing slashes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

# Cargamos el modulo

LoadModule jk_module modules/mod_jk.so


# workers.properties
JkWorkersFile conf/workers.properties
# logs
JkLogFile logs/mod_jk.log
# jk nivel log [debug/error/info]
JkLogLevel info
# formato de log
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
# JkOptions
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat
JkRequestLogFormat "%w %V %T"
# Archivo de URI de aplicaciones
JkMountFile conf/uriworkermap.properties
# Para shared memory.
JkShmFile logs/jk.shm
# jkstatus
<Location /jkstatus/>
JkMount status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>

You might also like