Bug 115219

Summary: directory's options in virtual host not taken in account
Product: Red Hat Enterprise Linux 3 Reporter: jean-claude jouffre <jcjouffre>
Component: redhat-config-httpdAssignee: Phil Knirsch <pknirsch>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-30 15:54:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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):
1.1.0-4

How reproducible:
Always

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