On Mon, 2012-09-24 at 16:48 -0700, Rajeev Prasad wrote:
> Hello,
>
> I am using authentication from another site in intranet (redirect
> user), but i am expecting the user's PC IP in the apache logs. I am
> not seeing that, I sometimes see VPN IP (when I come over VPN) or IP
> of a server, which is entirely different hardware. has no connection
> to mine.
>
> can anyone help understand and resolve this issue? None of the users
> coming to site show their PC IP address in log. I want to fix this
> ASAP.
>
> server: ubuntu 10.10
> apache: 2.2.16
>
> I have following in my site config, in virtual host config:
>
> ErrorLog ${APACHE_LOG_DIR}/mywebsite.error.log
>
> # Possible values include: debug, info, notice, warn, error, crit,
> # alert, emerg.
> LogLevel warn
>
> CustomLog ${APACHE_LOG_DIR}/mywebsite.access.log combined
>
>
> ty.
>
>
>
LogFormat "%h %{X-Forwarded-For}i %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
That might do what you want
signature.asc
Description: This is a digitally signed message part
