Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-22 Thread Rainer Jung
Hi Mladen, On 22.03.2009 10:19, Mladen Turk wrote: Rainer Jung wrote: On 21.03.2009 14:12, Mladen Turk wrote: I just committed a change to TC trunk and backport proposals to pick up the REMOTE_PORT env var for request.getRemotePort(). So we might think about forwarding REMOTE_PORT by default i

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-22 Thread Mladen Turk
Rainer Jung wrote: On 21.03.2009 14:12, Mladen Turk wrote: I should read the entire logic before posting. I missed it's an env var. Sorry for the noise ;) No problem at all. Better safe than sorry. I just committed a change to TC trunk and backport proposals to pick up the REMOTE_PORT env v

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Rainer Jung
On 21.03.2009 20:09, Michael B Allen wrote: On Sat, Mar 21, 2009 at 9:27 AM, Rainer Jung wrote: On 21.03.2009 14:12, Mladen Turk wrote: I should read the entire logic before posting. I missed it's an env var. Sorry for the noise ;) No problem at all. Better safe than sorry. I just committed

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Michael B Allen
On Sat, Mar 21, 2009 at 9:27 AM, Rainer Jung wrote: > On 21.03.2009 14:12, Mladen Turk wrote: >> >> I should read the entire logic before posting. >> I missed it's an env var. >> >> Sorry for the noise ;) > > No problem at all. Better safe than sorry. > > I just committed a change to TC trunk and

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Rainer Jung
On 21.03.2009 14:12, Mladen Turk wrote: I should read the entire logic before posting. I missed it's an env var. Sorry for the noise ;) No problem at all. Better safe than sorry. I just committed a change to TC trunk and backport proposals to pick up the REMOTE_PORT env var for request.getRe

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Mladen Turk
Rainer Jung wrote: On 21.03.2009 13:23, Mladen Turk wrote: Rainer Jung wrote: I added a comment with a non spec compliant workaround to BZ41263. We'll seee, whether we can make the AJP Tomcat connectors "hack aware", i.e. allow them to get the remotePort from the REMOTE_PORT env var when set.

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Rainer Jung
On 21.03.2009 13:23, Mladen Turk wrote: Rainer Jung wrote: I added a comment with a non spec compliant workaround to BZ41263. We'll seee, whether we can make the AJP Tomcat connectors "hack aware", i.e. allow them to get the remotePort from the REMOTE_PORT env var when set. Only if you make

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Mladen Turk
Rainer Jung wrote: I added a comment with a non spec compliant workaround to BZ41263. We'll seee, whether we can make the AJP Tomcat connectors "hack aware", i.e. allow them to get the remotePort from the REMOTE_PORT env var when set. Only if you make sure that the REMOTE_PORT is always m

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Rainer Jung
On 21.03.2009 00:10, Michael B Allen wrote: Hi All, What is the status of this issue? https://issues.apache.org/bugzilla/show_bug.cgi?id=41263 I am interested in this because NTLMSSP authentication is basically not possible unless the remote port is accessible and I want people to be able t

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Peter Rossbach
HI Michael, we have add some Imdicators at the coming mod_jk 1.2.28 release. === JkLocalNameIndicator Name of the Apache environment variable which can be used to overwrite the forwarded local name. Use this only if you need to adjust the data (see the proxy documentation). The default va