tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Yates <cya...@lanelib.stanford.edu>
Subject Re: mod_webapp and apache 2.0
Date Thu, 06 Dec 2001 03:29:58 GMT
>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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message