This is great!  My handler now works as expected.  I have the O'Reilly
mod_perl book and it shows $c->user as a read-only function.  It doesn't
make any mention of passing a variable to it.  Thanks, Bjoern.

  Kory


-----Original Message-----
From: Ask Bjoern Hansen [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 21, 2000 2:10 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Won't override ENV variable


On Fri, 21 Apr 2000 [EMAIL PROTECTED] wrote:

> Is there any way to prevent mod_cgi from setting REMOTE_USER?

Yeah, unset connection->user, but that is probably not what you are
looking for.

Just set $r->connection->user and mod_cgi will pick up the right value
from there.


 - ask

> -----Original Message-----
> From: Ask Bjoern Hansen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 21, 2000 1:36 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: Won't override ENV variable
> 
> 
> On Fri, 21 Apr 2000 [EMAIL PROTECTED] wrote:
> 
> $r->connection->user($new_login) is what you are looking for I believe.
> 
> REMOTE_USER is set from c->user by mod_cgi just before the cgi script is
> run.

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>
more than 70M impressions per day, <http://valueclick.com>

Reply via email to