Charles, Justin,

I think that you can workaround that problem in much simpler manner: in your
Apache 2.0 httpd.conf specify ServerName including port number:

ServerName name:port

where port is the port number that your server listens to.

This way port will be set and propagated to mod_webapp and you don't have to
hardwire it into mod_webapp sources.

hope that helps

Julius

> -----Original Message-----
> From: Justin Erenkrantz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 06, 2001 12:39 AM
> To: Tomcat Developers List
> Subject: Re: mod_webapp and apache 2.0
> 
> 
> On Wed, Dec 05, 2001 at 07:29:58PM -0800, Charles Yates wrote:
> > >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
> 
> Hmm.  Greg just brought this issue on dev@httpd, so this seems to 
> be something that we are mangling pretty bad.  When we get a
> resolution, I'll try to make sure that any patches are sent to
> j-t-c (you may need not any if we fix it in httpd).  
> 
> Until then, sit tight and run with that patch.  =) -- justin
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to