Current Position:Home > Tomcat 4 - apache - mod_webapp problem

Tomcat 4 - apache - mod_webapp problem

Update:12-10Source: network consolidation
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

The Best Answer

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...
  • Tomcat 4 - apache - mod_webapp problem Update:12-10

    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 t

  • Help! difficulties in using mod_jk.so to combine tomcat with apache Update:10-11

    apache 1.3.19 in rh7.1; tomcat 3.2.1; i do not know whether i need to complier a mod_jk.so before i configurate both tomcat and apache, right now i only put the mod_jk.so,which download from jakarta.com, into libexec directory. then configurate the s

  • Configuring tomcat and apache on the same system Update:11-30

    i need to configure tomcat and apache on the same system. first i have configured apache and it is working well. Next is have configured tomcat and it is working well. i need to interlink tomcat and apache. so i downloaded jk connector and i have con

  • Tomcat vs APache Update:11-30

    I have a few questions I've looked for in the apache and tomcat documentations. The moer I read the more I get confused 1) Can tomcat be used as a stand alone server? 2) Why should anyone integrate tomcat with apache?1) Yes you can. 2) If my knoledge