You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ms...@free.fr on 2001/10/18 20:43:25 UTC
URGENT - 404 Not Found with Service Tomcat-Apache
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>