Im trying to set up connector mod_jk 1.2.14 for my Apache 2.0.54 web server to connect to tomcat 5.5. I used the auto config mode of tomcat to generate the mod_jk.conf file and im having trouble executing my scripts. Seems like everthing is being forwarded to tomcat, so I can access the index files but when executing the examples I get a 500 internal error.
Steps I have used so far.
1. install mod_jk module within modules folder of apache
2. server.xml Added under <Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.jk.config.ApacheConfig" modJk="C:/Program Files/Apache Group/Apache2/modules/mod_jk.so" />
3.server.xml Added under <Host> section
<Listener className="org.apache.jk.config.ApacheConfig" append="true" forwardAll="false" modJk="C:/Program Files/Apache Group/Apache2/modules/mod_jk.so" />
4.added to jk folder worker.properties
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.reclycle_timeout=300
5.added to apache http.conf
LoadModule jk_module modules/mod_jk.so
&
Include "C:/Program Files/Apache Software Foundation/Tomcat 5.5/conf/auto/mod_jk.conf"
Not sure where I went wrong could have missed something. I can execute servelets/JSPs just fine through localhost:8080 but going through port 80 I get internal error.
Help is appreciated =)
Steps I have used so far.
1. install mod_jk module within modules folder of apache
2. server.xml Added under <Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.jk.config.ApacheConfig" modJk="C:/Program Files/Apache Group/Apache2/modules/mod_jk.so" />
3.server.xml Added under <Host> section
<Listener className="org.apache.jk.config.ApacheConfig" append="true" forwardAll="false" modJk="C:/Program Files/Apache Group/Apache2/modules/mod_jk.so" />
4.added to jk folder worker.properties
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.reclycle_timeout=300
5.added to apache http.conf
LoadModule jk_module modules/mod_jk.so
&
Include "C:/Program Files/Apache Software Foundation/Tomcat 5.5/conf/auto/mod_jk.conf"
Not sure where I went wrong could have missed something. I can execute servelets/JSPs just fine through localhost:8080 but going through port 80 I get internal error.
Help is appreciated =)