/ Published in: Textpattern
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
1. Install mod_jk
2. Enable module by adding to httpd.conf "LoadModule jk_module libexec/mod_jk.so"
3. Either add to the mod_jk.conf or to httpd.conf something like:
<IfModule jk_module>
JkShmFile var/JkShmFile
JkWorkerProperty worker.list=ajp13w
JkWorkerProperty worker.ajp13w.type=ajp13
JkWorkerProperty worker.ajp13w.host=localhost
JkWorkerProperty worker.ajp13w.port=8009
JkMount /* ajp13w
JkMount /<TOMCAT_HOSTED_WEBAPP> ajp13w
JkMount /<TOMCAT_HOSTED_WEBAPP>/* ajp13w
<IfDefine JK_DEFAULT_CONTEXT>
JkMount /examples/* ajp13w
JkMount /javadoc/* ajp13w
JkMount /servlets/* ajp13w
JkMount /jsp-examples/* ajp13w
</IfDefine>
</IfModule>
4. Make sure in your Tomcat server.xml is following entry (the port should match the one specified in step 3):
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
Comments
 Subscribe to comments
                    Subscribe to comments
                
                