Bug 115219 - directory's options in virtual host not taken in account
Summary: directory's options in virtual host not taken in account
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: redhat-config-httpd   
(Show other bugs)
Version: 3.0
Hardware: i686 Linux
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-02-09 09:29 UTC by jean-claude jouffre
Modified: 2015-03-05 01:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-07-30 15:54:38 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 jean-claude jouffre 2004-02-09 09:29:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; fr; rv:1.5)
Gecko/20031007 Firebird/0.7

Description of problem:
I want to execute CGI scripts in a particular directory, inside a
virtual host ; so I add such directory in the "virtual host' window,
then select some options like ExecCGI, validate all windows, but the
httpd.conf does not contain any directory options (but these options
exist in the XML structure in memory) ; so the bug is in the xls file
(see additional info)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. adding a directory to a virtual host
2. selecting some options like ExecCGI
3. validating all windows
4. in httpd.conf, no such parameters

Expected Results:  directives like this :
<VirtualHost *:80>
   <Directory "/mydir">
      Options ExecCGI

Additional info:

to fix this bug, modify /usr/share/redhat-config-httpd/httpd.conf.xsl :
in 'virtual host' part, add line :
            <xsl:for-each select="Options">Options <xsl:value-of
select="@VALUE" /></xsl:for-each>
before line :
            <xsl:for-each select="AllowOverride">AllowOverride
<xsl:value-of select="@VALUE" /></xsl:for-each>

Comment 1 Phil Knirsch 2004-07-30 15:54:38 UTC
That bug has been fixed in newer versions already.

Read ya, Phil

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