hi folks
i'm new to linux and have previously run tomcat and apche on a windows machine with no issues.
i'm now trying to run apache and tomcat together on linux and i'm having a few issues. each one works fine individually but don't seem to cooperate with eachother. i compiled and installed apache on linux using a distribution from the apache web site. all ok with that. problem is that it won't accept LoadModule when i want to add the mod_jk.so module to the list. my mod_jk.conf which is inlcuded at the end of my httpd.conf file is as follows:
<IfModule !mod_jk.c>
LoadModule jk_module /usr/local/tomcat_4.1.12/modules/mod_jk.so
</IfModule>
JkWorkersFile "/usr/local/tomcat_4.1.12/conf/jk/workers.properties"
JkLogFile "/usr/local/tomcat_4.1.12/logs/mod_jk.log"
the httpd.conf file contains no LoadModule or AddModule directives at all (which i thought was odd since i'm use to a large list when using on win32). when i start apache i get the following message:
Syntax error on line 14 of /usr/local/tomcat_4.1.12/conf/jk/mod_jk.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration
bin/apachectl start: httpd could not be started
if i add the LoadModule in httpd.conf i receive the same message. could i have the incorrect distribution of mod_jk, or perhaps my apache installation isn't quite right eben though it works fine serving static pages?? perhaps i need to build mod_jk also - if so from where and how?
i know i've got a few issues here... any help at all would be greatly appreciated.
thanks heaps
Takis
i'm new to linux and have previously run tomcat and apche on a windows machine with no issues.
i'm now trying to run apache and tomcat together on linux and i'm having a few issues. each one works fine individually but don't seem to cooperate with eachother. i compiled and installed apache on linux using a distribution from the apache web site. all ok with that. problem is that it won't accept LoadModule when i want to add the mod_jk.so module to the list. my mod_jk.conf which is inlcuded at the end of my httpd.conf file is as follows:
<IfModule !mod_jk.c>
LoadModule jk_module /usr/local/tomcat_4.1.12/modules/mod_jk.so
</IfModule>
JkWorkersFile "/usr/local/tomcat_4.1.12/conf/jk/workers.properties"
JkLogFile "/usr/local/tomcat_4.1.12/logs/mod_jk.log"
the httpd.conf file contains no LoadModule or AddModule directives at all (which i thought was odd since i'm use to a large list when using on win32). when i start apache i get the following message:
Syntax error on line 14 of /usr/local/tomcat_4.1.12/conf/jk/mod_jk.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration
bin/apachectl start: httpd could not be started
if i add the LoadModule in httpd.conf i receive the same message. could i have the incorrect distribution of mod_jk, or perhaps my apache installation isn't quite right eben though it works fine serving static pages?? perhaps i need to build mod_jk also - if so from where and how?
i know i've got a few issues here... any help at all would be greatly appreciated.
thanks heaps
Takis