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

2007-04-20 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. April

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 is

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