xglys 发表于 2018-11-28 06:56:52

Linux环境下Apache与Tomcat共存。

5、配置。  在/usr/local/apache/conf/下面建立两个配置文件mod_jk.conf(或写到APACHE的主配置文件中)和workers.properties。
  # vi mod_jk.conf
  添加以下内容:
  # 指出mod_jk模块工作所需要的工作文件workers.properties的位置
  JkWorkersFile /usr/local/apache/conf/workers.properties
  # Where to put jk logs
  JkLogFile /usr/local/apache/logs/mod_jk.log
  # Set the jk log level
  JkLogLevel info
  # Select the log format
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"

  # JkOptions indicate to send SSL KEY>  JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
  # JkRequestLogFormat set the request format
  JkRequestLogFormat "%w %V %T"

页: [1]
查看完整版本: Linux环境下Apache与Tomcat共存。