This is an automated email from the ASF dual-hosted git repository.
rainerjung pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new 4264f00ae Small adjustments to distributed config - mostly comments
4264f00ae is described below
commit 4264f00aeb3c2db62ce2831f0a4934adebdd4495
Author: Rainer Jung <[email protected]>
AuthorDate: Wed Jun 24 18:21:32 2026 +0200
Small adjustments to distributed config - mostly comments
---
conf/httpd-jk.conf | 20 +++++++++++---------
conf/workers.properties | 4 ++--
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/conf/httpd-jk.conf b/conf/httpd-jk.conf
index e347387a8..58f33ca42 100644
--- a/conf/httpd-jk.conf
+++ b/conf/httpd-jk.conf
@@ -14,7 +14,7 @@
# limitations under the License.
# Configuration Example for mod_jk
-# used in combination with Apache 2.2.x
+# when used with Apache httpd web server.
# Change the path and file name of the module, in case
# you have installed it outside of httpd, or using
@@ -23,18 +23,20 @@ LoadModule jk_module modules/mod_jk.so
<IfModule jk_module>
- # We need a workers file exactly once
- # and in the global server
+ # JK workers file name
+ # Use this directive exactly once
+ # and in the global server.
JkWorkersFile conf/workers.properties
- # Our JK error log
- # You can (and should) use rotatelogs here
+ # JK error log file name
+ # You can (and should) use rotatelogs piped
+ # logging here.
JkLogFile logs/mod_jk.log
- # Our JK log level (trace,debug,info,warn,error)
+ # JK log level (trace,debug,info,warn,error)
JkLogLevel info
- # Our JK shared memory file
+ # JK shared memory file name
JkShmFile logs/mod_jk.shm
# Define a new log format you can use in any CustomLog in order
@@ -74,12 +76,12 @@ LoadModule jk_module modules/mod_jk.so
<Location /jk-status>
# Inside Location we can omit the URL in JkMount
JkMount jk-status
- Require ip 127.0.0.1
+ Require local
</Location>
<Location /jk-manager>
# Inside Location we can omit the URL in JkMount
JkMount jk-manager
- Require ip 127.0.0.1
+ Require local
</Location>
# If you want to put all mounts into an external file
diff --git a/conf/workers.properties b/conf/workers.properties
index 8d0bd98ab..c8dcb98f0 100644
--- a/conf/workers.properties
+++ b/conf/workers.properties
@@ -16,7 +16,8 @@
# Note that the distributed version of this file requires modification
# before it is usable.
#
-# Reference documentation:
http://tomcat.apache.org/connectors-doc/reference/workers.html
+# Reference documentation:
+# http://tomcat.apache.org/connectors-doc/reference/workers.html
#
# As a general note, the characters $( and ) are used to reference
# property values in other properties.
@@ -63,7 +64,6 @@ worker.balancer.error_escalation_time=0
worker.balancer.max_reply_timeouts=10
-
# Now we add members to the load balancer
# First member is "node1", most
# attributes are inherited from the
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]