Re: Possible mod_jk patch with ap_get_server_name

2002-10-18 Thread Paul Downs
* Mladen Turk ([EMAIL PROTECTED]) wrote : Hi, > Beter use the following: > > s->server_name = ap_get_server_name(r); > s->server_port = ap_get_server_port(r); Ack, if only I had read that a few days ago! ;-) Paul -- To unsubscribe, e-mail:

Re: Possible mod_jk patch with ap_get_server_name

2002-10-18 Thread Henri Gomez
Mladen Turk wrote: -Original Message- From: Henri Gomez +s->server_name = ap_get_server_name(r); s->server_port = htons( r->connection->local_addr.sin_port ); s->server_software = (char *)ap_get_server_version(); It's seems correct. JF, Mladen what do you think

RE: Possible mod_jk patch with ap_get_server_name

2002-10-18 Thread Mladen Turk
> -Original Message- > From: Henri Gomez > > > > +s->server_name = ap_get_server_name(r); > > > > s->server_port = htons( > r->connection->local_addr.sin_port ); > > s->server_software = (char *)ap_get_server_version(); > > It's seems correct. JF, Mladen what do you

Re: Possible mod_jk patch with ap_get_server_name

2002-10-18 Thread Henri Gomez
[EMAIL PROTECTED] wrote: Hi, I am a new subscriber and have a potential patch to mod_jk. It uses the apache api to get the s->servername value. This has a benefit in that is pays attention to the UseCanonicalName setting within apache. So if a site has lots of ServerAlias entries only 1 en