Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 64664 invoked from network); 6 Dec 2001 06:57:05 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Dec 2001 06:57:05 -0000 Received: (qmail 21140 invoked by uid 97); 6 Dec 2001 06:57:08 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 21130 invoked by uid 97); 6 Dec 2001 06:57:08 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 17204 invoked from network); 6 Dec 2001 03:37:12 -0000 Date: Wed, 05 Dec 2001 19:29:58 -0800 From: Charles Yates Subject: Re: mod_webapp and apache 2.0 To: tomcat-dev@jakarta.apache.org Message-id: <3C0EE636.10408@lanelib.stanford.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.5) Gecko/20011015 X-Accept-Language: en-us X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >On Wed, Dec 05, 2001 at 09:34:55AM -0800, Charles Yates wrote: >> After getting errors from "apachectl configtest" relating >> to invalid port I added a Port directive to httpd.conf and got >> an error that Port directive had been replaced by Listen. I then >> removed my Port directive, hacked on webapp.c and wa_config.c >> to hard code server Port references and . . . . Yay, it works! > >I think the webapp code in the j-t-c CVS repository is updated. >If not, then please post what you did and we can try and sort >out the "right" fix. -- justin > Ok, this is pretty ugly: ? diff Index: webapp.c =================================================================== RCS file: /home/cvspublic/jakarta-tomcat-connectors/webapp/nsapi/webapp.c,v retrieving revision 1.1 diff -r1.1 webapp.c 659c659 < req->serv->port = conf_getglobals()->Vport; --- > req->serv->port = 8080;//conf_getglobals()->Vport; 802c802 < int serverPort = conf_getglobals()->Vport; --- > int serverPort = 8080;//conf_getglobals()->Vport; 950c950 < \ No newline at end of file --- > ? wa_conf.diff Index: wa_config.c =================================================================== RCS file: /home/cvspublic/jakarta-tomcat-connectors/webapp/lib/wa_config.c,v retrieving revision 1.7 diff -r1.7 wa_config.c 109c109 < --- > p=8080; -- To unsubscribe, e-mail: For additional commands, e-mail: