Usage of JkUnMount in JSP hosting

by Selva 2009-07-21 19:31:08

In cpanel/WHM based servers JSP request is passed from apache to Tomact using JkMount module of apache.The JkMount cofiguration file located at /usr/local/apache/conf/userdata/std/2///cp_jkmount.conf .In this file if you entry like JkMount /.*jsp apj13 then it specifies that only request for .jsp file is passed to Tomcat.Sometime there maybe need for passing all request ( when using structs,reffering images inside web applications ) to Tomcat for this you can put entry like JkMount /* apj13,this make apache to pass all requset to tomact including for .php file which make .php file to be downloaded ,for resolving this issue you can put entry like JkUnMount /*.php apj13 this will make apache not to pass request to tomcat for .php file.Restart your httpd service to take effect when make this entry......
1867
like
0
dislike
0
mail
flag

You must LOGIN to add comments