Bug 80692

Summary: Allowing .htaccess overrides creates httpd.conf syntax error
Product: [Retired] Red Hat Linux Reporter: Matthew J. Mellon <mellon>
Component: redhat-config-httpdAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-02-06 15:48:14 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 Matthew J. Mellon 2002-12-30 00:16:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
Checking the box to allow .htaccess overrides creates a line of the form

AllowOverride from all

in /etc/httpd/conf/httpd.conf. The proper syntax is:

AllowOverride [options]

"from" is not a legal option in httpd 2 or 1.3.

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


How reproducible:
Always

Steps to Reproduce:
In X:
1. Check the box to allow .htaccess overrides in any directory configuration dialog.
Then from bash:
2. su -
3. service httpd restart
    

Actual Results:  [root@mellon conf]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: Syntax error on line 975 of /etc/httpd/conf/httpd.conf:
Illegal override option from
                                                           [FAILED]


Expected Results:  [root@mellon conf]# service httpd restart
Stopping httpd:                                            [  OK  ]            
                               
Starting httpd:                                            [  OK  ]

Additional info:

Comment 1 Phil Knirsch 2003-02-06 15:48:14 UTC
Fixed in CVS, new rawhide package will appear real soon now.

Read ya, Phil