Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 87373 invoked by uid 500); 5 Oct 2001 18:17:12 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 87354 invoked from network); 5 Oct 2001 18:17:12 -0000 Message-ID: <3BBDF900.2060805@dotech.com> Date: Fri, 05 Oct 2001 14:16:32 -0400 From: David Ward Organization: Distributed Object Technologies, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010917 X-Accept-Language: en-us MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: mod_webapp connector on linux - HELP! References: <3BB9E688.4E51FB05@ngdc.noaa.gov> <3BB9EBAC.7010209@dotech.com> <3BBB3251.55FCE63@fujitsu-siemens.com> <3BBB7481.6000404@dotech.com> <02fe01c14cb8$b2ea0860$6400a8c0@nameonthenet> <3BBCE71D.2C561782@ngdc.noaa.gov> <3BBCEBC8.3060500@dotech.com> <3BBDF7BA.FBB3613F@ngdc.noaa.gov> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N John, I've seen that error when my url didn't have a trailing slash. For example, "http://localhost/examples4" wouldn't work but "http://localhost/examples4/" would. Go figure. Was this it? David -- John Cartwright wrote: > David, > > thanks for your suggestions and the example httpd.conf. I'm still > having trouble saying the URL not found. I made the following steps (and > many variations thereon): > 1) added "ServerName localhost" > 2) added "LoadModule webapp_module modules/mod_webapp.so" > 3) added "AddModule mod_webapp.c" > 4) added - > > WebAppConnection conn warp localhost:8887 > WebAppDeploy examples conn /examples4 > WebAppInfo /webapp-info > > AddHandler default-handler .gif .jpeg > > The webapp is "examples" in the tomcat4/webapps directory but would like > to access it as "examples4". Can you see anything that I'm leaving out > or misconfigured? > > Thanks again! > > -- john > > > > David Ward wrote: > >>Actually, you DON'T have to define your context(s) within VirtualHost >>directives. I was finally able to get mod_webapp working against >>standalone catalina (but not with jboss/catalina). >> >>What I had to do was this: >>1) drop mod_webapp.so in my modules directory >>2) make sure ServerName localhost was UNcommented >>3) put my "LoadModule webapp_module modules/mod_webapp.so" line at the >>end of my already existing LoadModule list >>4) put my "AddModule mod_webapp.c" line at the end of my already >>existing AddModule list >>5) put my " >>WebAppConnection comm warp localhost:8008 >>WebAppDeploy examples conn /examples >>WebAppInfo /webapp-info >>" block at the end of the file >> >>It seemed that where I put my LoadModule and AddModule directives was >>important. Putting them at the bottom of httpd.conf right over my >> didn't work. doing an "include" didn't work either. I >>had to separate them for some weird reason. >> >>I'll attach my *working* httpd.conf file so people can use it to compare >>with. >> >>David >> >>PS: I'm still looking forward to seeing a mod_webapp-eapi.so release... >> >