mod_jk

Discussion in 'Server Operation' started by MlungwSR, Jul 8, 2008.

  1. MlungwSR

    MlungwSR New Member

    Hi,

    Can someone show me how to configure mod_jk in such a way that u don't have to include a website folder on the url, like in the following;

    http://localhost/jsp-examples

    in the above url my website folder is jsp-examples sitting in Tomcat 5, I'm running Apache 2 with mod_jk

    here is a piece of my code

    #####################################
    #workers.property file
    workers.tomcat_home=$CATALINA_HOME
    workers.java_home=$JAVA_HOME
    ps=/
    worker.list=default

    worker.default.port=8009
    worker.default.host=localhost
    worker.default.type=ajp13
    worker.default.lbfactor=1
    #####################################


    and in the httpd.conf I have included the following line;

    JkMount /jsp-examples default

    but I cannot access my website using http://localhost only, everytime I need to add jsp_examples

    please assist.
     

Share This Page