Re: AW: HowTo forward user name from apache via mod_jk to tomcat

2007-04-20 Thread Rainer Jung
Ah, OK, that completes the picture. I checked in tomcat code, that the forwarded info is being used, but I saw, that only if some boolean flag is not set. I didn't have the time to check where that flag comes from, but your last post perfectly fits. So having that to false enables one to read t

Re: AW: HowTo forward user name from apache via mod_jk to tomcat

2007-04-20 Thread David Smith
I've fixed getting user info from apache by adding tomcatAuthentication="false" to the connector config in server.xml. --David Peter Neu wrote: > Hello, > > yeah, I thought of this too. But I only get a null value for > request.getRemoteUser(). Any idea what could be wrong? My mod_jk > version i

AW: HowTo forward user name from apache via mod_jk to tomcat [solved]

2007-04-20 Thread Peter Neu
Ok got it. I did it with JkEnvVar. Works fine for me. Cheers, Pete - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: HowTo forward user name from apache via mod_jk to tomcat

2007-04-19 Thread Peter Neu
Hello, yeah, I thought of this too. But I only get a null value for request.getRemoteUser(). Any idea what could be wrong? My mod_jk version is mod_jk 1.2.19. Cheers, Pete > -Ursprüngliche Nachricht- > Von: Christopher Schultz [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 19. Apri