Setting REMOTE_USER for apache logs using php
Posted
by halkeye
on Stack Overflow
See other posts from Stack Overflow
or by halkeye
Published on 2010-06-16T03:42:16Z
Indexed on
2010/06/16
3:52 UTC
Read the original article
Hit count: 126
In mod_perl i can do something like:
$ENV{REMOTE_USER} = "username";
$r->user("username");
And then the username will show up in the username section in the logs.
Is there a way to do this in php? without having to modify apache?
© Stack Overflow or respective owner