Shouldn't the mod_webapp.so be placed in the "libexec" directory for linux?
According to the docs, the modules directory is used if you are running
Apache/Tomcat on Windows.
Also with regards to your problem, do you have the ServerName defined for
your Main server configuration. Since you aren't defining any Virtual Host
block, the WebAppDeploy defaults to the main server.

RS





"Diego, Emil" <[EMAIL PROTECTED]> on 04/15/2002 08:32:57 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:

Subject:  Tomcat 4.0.3 setup

Hello,

           I am running Redhat Linux with Apache 1.3.  I am trying to setup
and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  Here is ewhat I have done so far.

I got tomcat 4.0.3 setup as a stand alone server and works fine when I
browse localhost:8080.

I downloaded the mod_webapp.so and placed it in /etc/httpd/modules.

I added the following lines to httpd.conf:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples


I have not modified the tomcat server.xml file.  It seems it already came
with the service entry.

I restarted tomcat and then restarted apache.  When the apache server comes
up I get the folloeing error:
Syntax error on line 365 of /etc/httpd/conf/httpd.conf:
Invalid virtual host name

Line 365 if the WebAppDeploy entry I placed in the httpd.conf file.

I don't understand why I am getting that error.  Any suggestions would be a
help.
Thanx.

Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to