You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Carl Lipo <ca...@internap.com> on 2002/04/18 17:01:08 UTC

Adding Remote_User to debug output

This is a very minor patch to v. 2.31, but it has helped us discover which
user (when authenticated, which most of our users are) is experiencing a
problem:

2648,2654c2648,2653
< <tr><td><b>     Global: </b><td> $self->{global}
< <tr><td><b>       File: </b><td> $self->{filename}
< <tr><td><b>         IP: </b><td> $vars->{REMOTE_ADDR}
< <tr><td><b>Remote User: </b><td> $vars->{REMOTE_USER}
< <tr><td><b>     HTTP_*: </b><td> $http_out
< <tr><td><b>      Query: </b><td> $query_out
< <tr><td><b>       Form: </b><td> $form_out
---
> <tr><td><b> Global: </b><td> $self->{global}
> <tr><td><b>   File: </b><td> $self->{filename}
> <tr><td><b>     IP: </b><td> $vars->{REMOTE_ADDR}
> <tr><td><b> HTTP_*: </b><td> $http_out
> <tr><td><b>  Query: </b><td> $query_out
> <tr><td><b>   Form: </b><td> $form_out




---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: Adding Remote_User to debug output

Posted by Joshua Chamas <jo...@chamas.com>.
Carl Lipo wrote:
> 
> This is a very minor patch to v. 2.31, but it has helped us discover which
> user (when authenticated, which most of our users are) is experiencing a
> problem:
> 
> 2648,2654c2648,2653
> < <tr><td><b>     Global: </b><td> $self->{global}
> < <tr><td><b>       File: </b><td> $self->{filename}
> < <tr><td><b>         IP: </b><td> $vars->{REMOTE_ADDR}
> < <tr><td><b>Remote User: </b><td> $vars->{REMOTE_USER}

REMOTE_USER will be displayed in the MailErrorsTo message
in the upcoming Apache::ASP v2.33 release ... let me know 
how it works for you after its released.

--Josh
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org