Autodesk 15606-011408-9321 Installation Guide - Page 35

Connector Configuration

Page 35 highlights

LoadModule jk_module modules/mod_jk.so JkWorkersFile "C:/Program Files/MapGuidOpenSource/WebServerExtensions/ Apache2/conf/workers.properties" # Where to put jk logs JkLogFile "C:/Program Files/MapGuidOpenSource/WebServerExtensions/ Apache2/logs/mod_jk.log" # Set the jk log level [debug/error/info] JkLogLevel info # Select the log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " # JkOptions indicate to send SSL KEY SIZE, JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories # JkRequestLogFormat set the request format JkRequestLogFormat "%w %V %T" # Send everything for context /examples to worker named # worker1 (ajp13) JkMount /mapguide/mapviewerjava/* worker1 Redirect /mapguide/mapviewerajax/ http://:/mapguide/mapviewerjava/ajaxviewer.jsp Redirect /mapguide/mapviewerdwf/ http://:/mapguide/mapviewerjava/dwfviewer.jsp Connector Configuration Rename the pre-built Apache/Tomcat connector binary to mod_jk.so and place it in the Apache modules directory. The original file includes the version number and should be mod_jk-1.2.14-apache-2.0.54.so. Add a workers.properties file in the Apache conf folder, containing the following: Configuring Apache to Use JSP | 31

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38

LoadModule
jk_module
modules/mod_jk.so
JkWorkersFile
"C:/Program Files/MapGuidOpenSource/WebServerExtensions/
Apache2/conf/workers.properties"
# Where to put jk logs
JkLogFile
"C:/Program Files/MapGuidOpenSource/WebServerExtensions/
Apache2/logs/mod_jk.log"
# Set the jk log level [debug/error/info]
JkLogLevel
info
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions
+ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat
"%w %V %T"
# Send everything for context /examples to worker named
# worker1 (ajp13)
JkMount
/mapguide/mapviewerjava/* worker1
Redirect /mapguide/mapviewerajax/
http://<HostName>:<Port>/mapguide/mapviewerjava/ajaxviewer.jsp
Redirect /mapguide/mapviewerdwf/
http://<HostName>:<Port>/mapguide/mapviewerjava/dwfviewer.jsp
Connector Configuration
Rename the pre-built Apache/Tomcat connector binary to mod_jk.so and
place it in the Apache modules directory. The original file includes the version
number and should be mod_jk-1.2.14-apache-2.0.54.so.
Add a workers.properties file in the Apache conf folder, containing the
following:
Configuring Apache to Use JSP |
31