![]() |
Mod_jk Help
Hi there,
I have installed mod_jk and it works with tomcat fine. I can view pages located in the tomcat4 direc by going to http://localhost/jsp-examples/ It all works fine. But my main application is running in the ROOT directory of Tomcat, how do I forward this so that when you goto http://localhost/ it goes straight there, and not to the Apache default page? Thanks httpd.conf looks like this: LoadModule jk_module modules/mod_jk.so <IfModule mod_jk.c> JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel error JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat "%w %V %T" Alias /jsp-examples "C:/www/tomcat5/webapps/jsp-examples/" <Directory "C:/www/tomcat5/webapps/jsp-examples/"> Options Indexes +FollowSymLinks AllowOverride None Allow from all </Directory> Alias /servlets-examples "C:/www/tomcat5/webapps/servlets-examples/" <Directory "C:/www/tomcat5/webapps/servlets-examples/"> Options Indexes +FollowSymLinks AllowOverride None Allow from all </Directory> Alias /content "C:/www/tomcat5/webapps/content/" <Directory "C:/www/tomcat5/webapps/content/"> Options Indexes +FollowSymLinks AllowOverride None Allow from all </Directory> <Location /*/WEB-INF/*> AllowOverride None deny from all </Location> JkMount /jsp-examples/*.jsp example JkMount /servlets-examples/* example JkMount /content/*.jsp example </IfModule> workers.properties looks like this: workers.tomcat_home=C:/www/tomcat5 workers.java_home=C:/Program Files/Java/jdk1.5.0_07 ps= # Define worker 'example' worker.list=example # Set properties for worker 'example' (ajp13) worker.example.type=ajp13 worker.example.host=localhost worker.example.port=8009 worker.example.cachesize=10 worker.example.cache_timeout=600 worker.example.socket_keepalive=1 worker.example.reclycle_timeout=300 |
Hi
I am also facing same problem. If u know any information regarding this, please send to me also. My id:srinivasv_ambati@yahoo.com Its very urgent requirement. If I know any thing, i will send to u. Regards, srinivas ambati |
All times are GMT -4. The time now is 02:01 PM. |
Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.