httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: [users@httpd] How to remove an environment variable...
Date Fri, 18 Dec 2009 15:02:09 GMT
Krist van Besien wrote:

> Maybe I could use some mod_perl to manipulate this internal
> representation. 

Yes of course.
Maybe try this

<Location /noauth>
PerlFixupHandler "sub {   \
use Apache2::Const qw(:common);
   my $r = shift; \
   $r->user(undef); \
   return Apache2::Const::OK; \

Note : that's really rough, and I haven't tried it. Use at your own 
risk.  Let me know though.

Or just use a custom "index.php" which unsets this
> variable. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message