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 mod_jk 1.2.19. > > Cheers, > Pete > > > > >> -----Ursprüngliche Nachricht----- >> Von: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Gesendet: Donnerstag, 19. April 2007 18:28 >> An: Tomcat Users List >> Betreff: Re: HowTo forward user name from apache via mod_jk to tomcat >> > Rainer, > > Rainer Jung wrote: > >>> In this case, why not simply use (mini test jsp): > >>> > >>> User: <%=request.getRemoteUser()%> > Oh, hey, that's a lot better. No config or anything ;) I didn't realize > that REMOTE_USER was already being forwarded without further > configuration. > > Thanks for the clarification. > > -chris > >> --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]