I am trying to connect apache with tomcat, when i try to include a mod_jk.conf file in apache it gives me a syntax error, please check the below error:
httpd.exe: Syntax error on line 485 of C:/apache/conf/httpd.conf: Include takes
one argument, Name of the config file to be included
the following is the line of code i have added into httpd.conf file:
Include C:/Program Files/Apache Software Foundation/Tomcat 5.5/mod_jk.conf
the following are the contents of mod_jk.conf
# Load mod_jk module
# Update this path to match your modules location
LoadModule jk_module modules/mod_jk.so
# Where to find workers.properties
# Update this path to match your conf directory location
JkWorkersFile c:/tomcat/conf/workers.properties
# Where to put jk logs
# Update this path to match your logs directory location
JkLogFile c:/tomcat/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 /ws to worker ajp13
JkMount /ws ajp13
JkMount /ws/* ajp13
# Send everything for context /jsp-examples to worker ajp13
JkMount /jsp-examples ajp13
JkMount /jsp-examples/* ajp13
# Send everything for context /servelts-examples to worker ajp13
JkMount /servlets-examples ajp13
JkMount /servlets-examples/* ajp13