RE: Won't override ENV variable

2000-04-21 Thread Geoffrey Young
> -Original Message- > From: Vivek Khera [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 21, 2000 3:21 PM > To: [EMAIL PROTECTED] > Subject: RE: Won't override ENV variable > > > >>>>> "k" == klasker <[EMAIL PROTECTED]> writ

RE: Won't override ENV variable

2000-04-21 Thread Doug MacEachern
On Fri, 21 Apr 2000 [EMAIL PROTECTED] wrote: > > 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. hmm, yes the ch9 api listing does

RE: Won't override ENV variable

2000-04-21 Thread Vivek Khera
> "k" == klasker <[EMAIL PROTECTED]> writes: k> This is great! My handler now works as expected. I have the O'Reilly k> mod_perl book and it shows $c->user as a read-only function. It doesn't k> make any mention of passing a variable to it. Thanks, Bjoern. Always check the man pages f

RE: Won't override ENV variable

2000-04-21 Thread Vivek Khera
> "k" == klasker <[EMAIL PROTECTED]> writes: k> Is there any way to prevent mod_cgi from setting REMOTE_USER? Don't put your CGI inside password protected space. That should do it. I believe this is part of the CGI and/or Basic Auth specs.

RE: Won't override ENV variable

2000-04-21 Thread klasker
AIL 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

RE: Won't override ENV variable

2000-04-21 Thread Ask Bjoern Hansen
re. - 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: &

RE: Won't override ENV variable

2000-04-21 Thread klasker
Is there any way to prevent mod_cgi from setting REMOTE_USER? Kory -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

Re: Won't override ENV variable

2000-04-21 Thread Vivek Khera
> "RB" == Rodney Broom <[EMAIL PROTECTED]> writes: RB> #-- Works for mod_perl RB> $r->subprocess_env(SOME_KEY => $some_value; RB> You can see my problem in my mail: "ENV var names rewritten to REDIRECT_*" That's expected bahavior for a sub-request; the environment from the original requ

Re: Won't override ENV variable

2000-04-21 Thread Rodney Broom
- Original Message - From: <[EMAIL PROTECTED]> > > a handler... REMOTE_USER needs to be changed > I used $r->subprocess_env > doesn't work. Funny, I'm just playing with something like this myself. I wrote an authentication handler that does magic stuff with the DB and other neeto decis

Re: Won't override ENV variable

2000-04-21 Thread Ask Bjoern Hansen
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 -- ask bjoern hansen - more than 70M impressions per day,