tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Hagenbrock" <sebastian.hagenbr...@eventim.de>
Subject Tomcat/Apache +webapp_mod
Date Wed, 29 Aug 2001 11:21:17 GMT
Hi...

I've Tomcat 4.0 and Apache 1.3 (EAPI) + webapp_mod (EAPI) running under a
SuseLinux 7.2 Server.

I have configured the httpd.conf & server.xml files like the webapp
installguide describes. I used the /examples context for a test.

But it isn't working. :(

Could anybody of you imagine, wich possible mistakes i've done? Or did you
already knew some traps?

Here are some code snippets of the httpd.conf file:

############################################################################
#####
[..]
ServerName intratest.eventim.de
Port 80

DocumentRoot "/usr/local/jakarta/webapps/ROOT"
<Directory />
	Options -FollowSymLinks +Multiviews
</Directory>

<Directory "/usr/local/jakarta/webapps/ROOT">
	Options Indexes -FollowSymLinks +Includes MultiViews
	AllowOverride None
	Order allow,deny
	Allow from all

	<IfModule mod_dav.c>
	DAV Off
	</IfModule>

	<Files /usr/local/jakarta/webapps/ROOT/index.html>
		Options -FollowSymLinks +Includes +MultiViews
	</Files>

	<Files test.php3>
		Order deny,allow
		deny from all
		allow from localhost
	</Files>
</Directory>

<IfModule mod_dir.c>
	DirectoryIndex index.jsp
</IfModule>

LoadModule webapp_module      /usr/lib/apache/mod_webapp.so
AddModule mod_webapp.c


[..]

WebAppConnection 	conn	warp	intratest.eventim.de:8008
WebAppDeploy	examples	conn	/examples
WebAppInfo		/webappinfo
WebAppDeploy	ROOT	conn  /

############################################################################
#

And now the server.xml file:

All stuff above this lines has not (!) been modified by me!
[..]
<!-- Define an Apache-Connector Service -->
  <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="Apache" defaultHost="intratest.eventim.de" debug="0"
appBase="webapps">

      <!-- 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>

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

############################################################################
#

Did you have any solutions??? I have restarted the whole server, after
configuring this stuff. Also all JServ,jk_mod derectives are disabled, too.

Please help me!

MFG

Sebastian Hagenbrock


Mime
View raw message