Bug 281291 - Option ExecCGI not allowed in <Perl> configuration section
Summary: Option ExecCGI not allowed in <Perl> configuration section
Status: CLOSED DUPLICATE of bug 274181
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mod_perl   
(Show other bugs)
Version: 5.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Joe Orton
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-09-06 19:07 UTC by Trevin Beattie
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-25 16:28:14 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Trevin Beattie 2007-09-06 19:07:17 UTC
Description of problem:
"Options => 'ExecCGI'" is rejected in a <Perl> section in contexts where
"Options ExecCGI" is normally allowed.

Version-Release number of selected component (if applicable):
mod_perl-2.0.2-6.1 (with httpd-2.2.3-6.el5)

How reproducible:

Steps to Reproduce:
1. Create a .conf file containing:
        $Directory{"/var/www/cgi-bin"} = {
            Options => 'ExecCGI',
2. Run "service httpd configtest".

Actual results:
Syntax error on line 6 of /etc/httpd/conf.d/mod_perl_bug.conf:
$parms->add_config() has failed: Option ExecCGI not allowed here at
line 203.\n

Expected results:
Syntax OK

Additional info:
The following configuration does not result in an error:
    <Directory "/var/www/cgi-bin">
        Options ExecCGI

This bug has been reported for other distributions:

The solution in both cases was to upgrade to mod_perl 2.0.3 or higher.

Comment 1 Joe Orton 2007-09-25 16:28:14 UTC

*** This bug has been marked as a duplicate of 274181 ***

Note You need to log in before you can comment on or make changes to this bug.