Wednesday, 18 December 2013

Tomcat in cPanel

1) Loading dynamic pages


Write the following steps in the file cp_jkmount.conf, this file can be located based on the configuration. root@server [/home/user/public_html]# cat /usr/local/apache/conf/userdata/std/2/user/domain/cp_jkmount.conf <IfModule mod_jk.c> JkMount / ajp13 // for loading files with any extension JkMount /*.action ajp13 //for lading files with extension '.action' JkMount /*.jsp ajp13 //for lading files with extension '.jsp' JkMount /*.do ajp13 //for lading files with extension '.do' JkMount /servlet/* ajp13 JkMount /servlets/* ajp13 </IfModule> After editing the file, do tomcat restart

No comments:

Post a Comment