ripit
20th June 2008, 12:49
Hi
I've installed apache and tomcat with mod_jk and now I wonder how to get it to work with index.php files.
I have jsf applications up and running on the server and I also got php applications to work but it won't work if I don't type index.php.
This is my JKMount config in httpd.conf.
JkUnMount /*.php worker1
JkUnMount /*.html worker1
JkUnMount /*.jpg worker1
JkMount /* worker1
JkMount /*/servlet/* worker1
JkMount /*.war worker1
and here is my workers.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
I had to do JkMount /* to get jsf to work. is there any other way to configure this:
/ripit
I've installed apache and tomcat with mod_jk and now I wonder how to get it to work with index.php files.
I have jsf applications up and running on the server and I also got php applications to work but it won't work if I don't type index.php.
This is my JKMount config in httpd.conf.
JkUnMount /*.php worker1
JkUnMount /*.html worker1
JkUnMount /*.jpg worker1
JkMount /* worker1
JkMount /*/servlet/* worker1
JkMount /*.war worker1
and here is my workers.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
I had to do JkMount /* to get jsf to work. is there any other way to configure this:
/ripit