Hi.

Ref :
Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 mod_jk/1.2.18 PHP/4.4.4-8+etch4 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations


This is a really silly question.
I have a configuration where at the global server level, I set

PerlSetVar myvar "somevalue"

, but in a a specific <Location>, I would like to reset this to

PerlSetVar myvar ""

However, when I do this, I get the following error restarting Apache

Starting web server (apache2)...Syntax error on line 196 of /etc/apache2/sites-enabled/ska:
PerlSetVar takes two arguments, PerlSetVar
 failed!

Anybody know how I can do this ?
is there a PerlUnsetVar myvar ??
or a PerlSetVar myvar undef  ??

Note :

PerlSetvar myvar " "  (one space)

works, but then it makes the test inside the module rather ugly.

Reply via email to