ysoren 发表于 2018-11-26 11:39:28

apache jboss集群

# Load mod_jk module  # Specify the filename of the mod_jk lib
  LoadModule jk_module modules/mod_jk.so
  # Where to find workers.properties
  JkWorkersFile conf/workers.properties
  # Where to put jk logs
  JkLogFile logs/mod_jk.log
  # Set the jk log level
  JkLogLevel info
  # Select the log format
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"

  # JkOptions indicates to send SSK KEY>  JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
  # JkRequestLogFormat
  JkRequestLogFormat "%w %V %T"
  # Mount your applications
  #jkMount /application/* loadbalancer
  jkMount /* loadbalancer
  # You can use external file for mount points.
  # It will be checked for updates each 60 seconds.
  # The format of the file is: /url=worker
  # /examples/*=loadbalancer
  JkMountFile conf/uriworkermap.properties
  # Add shared memory.
  # This directive is present with 1.2.10 and
  # later versions of mod_jk, and is needed for
  # for load balancing to work properly
  JkShmFile logs/jk.shm
  # Add jkstatus for managing runtime data
  
  JkMount status
  Order deny,allow
  Deny from all
  Allow from 127.0.0.1
  

页: [1]
查看完整版本: apache jboss集群