The following pices of code do not work:
-
code sample 1
--
1. sub handler {
2.my $r = instance Apache::Request(shift);
3.
4.$r-dir_config(MyVar = undef);
5.
6.$r-dir_config-unset(MyVar);
7.
8.
simran wrote:
Does that mean that
$r-dir_config is not the same as $r-server-dir_config ?
not the same, $r-dir_config is a merge of the Location section setting
with Server/Vhost settings, $r-server-dir_config is only for
Server/Vhost settings.
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
On Wed, 2002-07-31 at 21:33, Geoffrey Young wrote:
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
simran wrote:
Hi All,
I have a situation where it is convinent for me to define a global
PerlSetVar in my httpd.conf and then unset it for particular virtual
hosts.
I used to use the following configuration successfully:
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 :-)
On Wed, 2002-07-31 at 12:50, Stas Bekman wrote:
s/$r-dir_config/$r-server-dir_config/?
What's really needed is probably PerlUnSetEnv.
Hi All,
I have a situation where it is convinent for me to define a global
PerlSetVar in my httpd.conf and then unset it for particular virtual
hosts.
I used to use the following configuration successfully:
httpd.conf
--
Perl