logo       

Re: $r->dir_config->(un)set issue...: msg#00297

apache.mod-perl

Subject: Re: $r->dir_config->(un)set issue...



simran wrote:

Does that mean that
$r->dir_config is not the same as $r->server->dir_config ?

A PerlUnsetVar would indeed be very handy... as would PerlUnsetEnv :-)

I looked into implementing that the last time it came up but IIRC it would take redoing the merge routines - from what I remember I got PerlUnsetVar to work at conf parse time, but it ended up being repopulated at request time when the directory merger ran (to merge $r->server->dir_config and $r->dir_config I think).

calling unset() manually is probably your best bet.

--Geoff




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise