Setting REMOTE_USER for apache logs using php
- by halkeye
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?