Re: How to remove an environment variable...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 18, 2009 at 3:16 PM, Eric Covener <covener@xxxxxxxxx> wrote:

> mod_cgi (and anyone acting like mod_cgi) calls a utility function to
> set REMOTE_USER from the internal representation of the user, right
> before running the script (in the handler phase).  There does not seem
> to be any window where you could blank out the variable (the closest
> you can get is mod_rewrite E= in <Directory> or htaccess with no
> substitution)
>
> You might be able to write an apache module that zaps r->user in the
> fixups phase when some criteria is met, but I am not seeing any more
> direct way.

Maybe I could use some mod_perl to manipulate this internal
representation. Or just use a custom "index.php" which unsets this
variable. All explore that.

Krist

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux