tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschnei...@free.fr
Subject URGENT - 404 Not Found with Service Tomcat-Apache
Date Thu, 18 Oct 2001 18:43:25 GMT
Hi,

How do I tell Apache that when I point the http://localhost/test URL, it must 
call my Tomcat webapp ? (The "404 not found" error appears instead).


Config : 
Apache 1.3.12
Tomcat 4.0
moweb_app.so : OK

Httpd.conf
----------
...
<VirtualHost *>
  ServerName 192.168.0.3
  WebAppConnection conn warp 192.168.0.3:8008
  WebAppDeploy test conn /test
</VirtualHost>

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"/>

    <!-- Replace "localhost" with what your Apache "ServerName" is set to -->
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="192.168.0.3" debug="0" appBase="webapps">

        <Context path="/test" docBase="formation" debug="0" reloadable="true">
          <Logger className="org.apache.catalina.logger.FileLogger"
                     prefix="localhost_examples_log." suffix=".txt"
                  timestamp="true"/>


        </Context>


    </Engine>
</Service>


Mime
View raw message