Package: libapache2-mod-perl2
Version: 2.0.2-2.2
Severity: normal

The following config file worked fine with apache2 2.0.54-5sarge1 (in stable),
but when used with apache2 2.2.3-3.1 (from unstable), there is an error:

 Syntax error on line 15 of apa.conf:
 $parms->add_config() has failed: Option ExecCGI not allowed here at
 /usr/lib/perl5/Apache2/PerlSections.pm line 203.\n

Maybe this should be reassigned to apache2 itself... I'm not sure.

# Minimal config file to demonstrate apache rejecting a Perl configuration
# section. To test: apache2 -X -f apa.conf
Listen 8080
PidFile /dev/null
ErrorLog /dev/stderr

#DocumentRoot /nonexistent

LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so

## this works fine
#<Directory />
#   Options ExecCGI
#</Directory>

## but the same directives expressed in Perl fail
<Perl>
$Directory{'/'} = {
    Options => 'ExecCGI',
}
</Perl>

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to