tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikhil <mnik...@gmail.com>
Subject Re: tomcat, apache with mod_jk and mod_auth_kerb
Date Tue, 15 Jul 2008 11:26:43 GMT
On Tue, Jul 15, 2008 at 2:23 PM, Rainer Jung <rainer.jung@kippdata.de>
wrote:

> Nikhil schrieb:
>
>> [Tue Jul 15 12:57:40 2008] [20026:0001] [debug] mod_jk.c (607): Service
>> protocol=HTTP/1.1 method=GET host=(null) addr=149.77.175.155 name=
>> is3.hyd.deshaw.com port=8080 auth=(null) user=(null)
>> laddr=149.77.160.20raddr=
>> 149.77.175.155
>>
>> --------------
>>
>> If noticed, auth=(null) and user=(null) are being set ... but I wonder
>> why?
>> Do I have to look somewhere else to make any changes too ?
>>
>
> That means, Apache httpd did not provide any authentication information.
> Looks like your authentication setup doesn't even work inside httpd.
>
> If it does work, the user name should get logged in your access log.
> Usually the default log format for the access log of httpd is "common",
> which contains the authenticated user name in the third column ("%u").
>
> If it isn't shown in the httpd access log, then you need to fix your
> authentication setup in httpd first.
>
> Regards,
>
>
> Rainer
>


Thats right and clueful. Yes, I modifued my httpd.conf to include the webapp
location that I was going through and it updated the remote user, I was able
to use have the result now properly set from the request.getRemoteUser call.
BUT, again, I was not able to pass the 'REMOTE_USER' variable. How can I do
that in my httpd.conf.. any ideas what else do I need to add more in my
httpd.conf ?

Thanks again, Rainer.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message