Hi friends,

I'm quite new to Tomcat and Apache.

Apache 1.3 does not seem to work with tomcat 4.0.3.Anybody could help?

Tomcat works fine in the stand alone mode.

Appache is installed in

c:\program filles\
(c:\program filles\apache group\apache...)
tomcat is  in
c:\tomcat
(c:\tomcat\jakarta-tomcat-4.0.3\.....)



I've modified the httpd.conf as follows.

# ADDITONAL CONFIGURATION GOES HERE

# Tell Apache server to listen on this  addresses.

   Listen 192.168.3.75:80
   Listen 192.168.3.75:8000

# Load module mod_jk

 LoadModule    jk_module  libexec/mod_jk.dll

# Add module

 AddModule     mod_jk.c

# Location of workers.properties

 JkWorkersFile C:/tomcat/jakarta-tomcat-4.0.3/conf/workers.properties

#Log File

 JkLogFile    C:/tomcat/jakarta-tomcat-4.0.3/logs/mod_jk.log

#Log Time Stamp format

 JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "





# Load module

LoadModule webapp_module modules/mod_webapp.so

# Add module

AddModule mod_webapp.c


# set up webappconnection

WebAppConnection conn      warp  192.168.3.17:8008
# ( the IP adrress for my system inside LAN)

#deploy

WebAppDeploy     examples  conn  /examples

#Virtual hosting

NameVirtualHost 192.168.3.75

#(the IP adrress for my system inside LAN)

#
# VirtualHost example:
# server name.
#
<VirtualHost 192.168.3.75>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /examples
    ServerName testhost
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
# CONFIGURATION ENDS HERE


#server.xml for tomcat is here.

..................

  <Service name="Tomcat-Apache">

    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
     port="8008" minProcessors="5" maxProcessors="75"
     enableLookups="true" appBase="webapps"
     acceptCount="10" debug="0"/>

    <!-- Replace "localhost" with what your Apache "ServerName" is set
to -->

  <Host name="testhost" debug="0" appBase="webapps" unpackWARs="true">

  <Context path="/examples" docBase="examples" debug="0"  reloadable="true"
crossContext="true">
  </Context>
  </Host>



 <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="Apache" debug="0">

      <!-- Global logger unless overridden at lower levels -->
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="apache_log." suffix=".txt"
              timestamp="true"/>

      <!-- Because this Realm is here, an instance will be shared
globally -->
      <Realm className="org.apache.catalina.realm.MemoryRealm" />

    </Engine>

  </Service>

.....................................



When I'm testing my examples error log of apache shows the following error:

[Tue Mar 26 09:57:19 2002] [error] [client 192.168.3.17] File does not
exist: /examples/

I'm attatching a copy of server.xml and httpd.conf

could anybody help?

Thanx in advance.

Reply via email to