Link to home
Start Free TrialLog in
Avatar of pavan_immadi
pavan_immadi

asked on

Apache Webserver , Unable to link Apache Webserver with Tomcat 4.1.

I am trying to link Apache Webserver 2.2.4 wit Tomcat 4.1.31 , I added modjk-apache-2.2.4.so file in the modules Directory and then I edited the httpd.conf file as given below,
#Logging of Tomcat Connector Logs
LoadModule jk_module modules/mod_jk-apache-2.2.4.so
#AddModule mod_jk.c
JkWorkersFile D:/Tomcat/conf/workers.properties
JkLogFile     D:/Apache2.2.4/logs/mod_jk.log
JkLogLevel    debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
Alias /examples D:/Tomcat/webapps/examples
JkMount /examples/servlet/* testWorker
JkMount /examples/*.jsp testWorker
<location "/examples/WEB-INF/">
AllowOverride all
Order deny,allow
Deny from all
</location>


The error message that I am getting in the error log
[Tue Aug 21 15:57:13 2007] [error] [client 10.83.234.220] client denied by server configuration: D:/Tomcat/webapps/examples/jsp/index.html

I added the workers.properties file
worker.list=testWorker
worker.testWorker.port=8009
worker.testWorker.host=10.84.19.198
worker.testWorker.type=ajp13

Please help in making this work.
ASKER CERTIFIED SOLUTION
Avatar of m1tk4
m1tk4
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pavan_immadi
pavan_immadi

ASKER

That worked perfectly , Thank you for your comment m1tk4.
 I also need to configure the Virtual Host for the particular application which will be installed, can you give me a sample configuration that needs to added in the httpd.conf file of Apache ? I already got my Alias name assigned to the IP address. Just want  to point the alias  to the examples jsp under webapps.
example : http://www.xxxx.com to point to http://localhost/examples/servlets/index.html