Current position:  Home > Default > Tomcat 4 - apache - mod_webapp problem

Tomcat 4 - apache - mod_webapp problem

Time:December 10
Advertisement
hi,
I know this is no tomcat forum, but i don't know where to post this message.
I'm unable to connect apache with my tomcat server.
I've installed apache(1.3.x) and tomcat(4.0 final) as stand-alone. they work fine.
I've added the mod_webapp.so and the following to my configuration:
--- httpd.conf ---------------------------------------
# WARP Connection to Tomcat 4
LoadModule webapp_module /usr/lib/apache/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/
--- server.xml ---------------------------------------
<Service name="Tomcat-Apache">
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0"/>
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0" appBase="webapps">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Engine>
</Service>
If I call http://localhost/examples
apache should forward this request to tomcat,
but apache says: "Not Found"
Can anybody help me, please?
ciao Markus
Advertisement
Try
http://localhost/examples/
Why?
Apache doesn't automaticaly add the slash sign at the end if it is not configured to.
Hint:
Install webapp-info also. Can be usefull sometimes...