You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sebastian Hagenbrock <se...@eventim.de> on 2001/08/29 13:21:17 UTC
Tomcat/Apache +webapp_mod
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
Re: Tomcat/Apache +webapp_mod
Posted by Pier Fumagalli <pi...@betaversion.org>.
"Sebastian Hagenbrock" <se...@eventim.de> wrote:
> 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?
It would be cool if I knew _WHY_ it wasn't working... :)
Pier