r-user not logged for authenticated requests with handlers outside the protected area

2008-02-20 Thread Chris Stromsoe
I'm running PHP as a CGI with a configuration similar to virtualhost *:80 addtype application/x-httpd-php .php addhandler php-handler .php action php-handler /cgi-bin/php-cgi documentroot /opt/html scriptalias /cgi-bin/php-cgi /opt/cgi-bin/php-cgi directory /opt order

Re: r-user not logged for authenticated requests with handlers outside the protected area

2008-02-20 Thread Joshua Slive
On Wed, Feb 20, 2008 at 7:45 PM, Chris Stromsoe [EMAIL PROTECTED] wrote: All requests for php in /opt/html authenticate properly but don't set REMOTE_USER and are logged with r-user == NULL. I'm guessing that's because the handler is not inside the protected directory. Feature or bug?

Re: r-user not logged for authenticated requests with handlers outside the protected area

2008-02-20 Thread Chris Stromsoe
On Wed, 20 Feb 2008, Joshua Slive wrote: Feature. It is explicitly documented in mod_log_config: http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#modifiers That makes sense. Thanks. Try also dumping all the env variables starting with REDIRECT_ And thanks again. I saw the code