Bug 1507403

Summary: Comment at the end of Allow from statements cause httpd daemon start failed
Product: Red Hat Enterprise Linux 6 Reporter: ddu
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED WONTFIX QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.9CC: luhliari
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-30 15:27:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ddu 2017-10-30 07:14:34 UTC
Description of problem:

After updating httpd to httpd-2.2.15-60.el6_9.6 in RHEL6, httpd daemon will fail to start if "#" is after 'allow from' statement in configuration file.

===   
<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride None 
    Order allow,deny
    Allow from all # test
</Directory>
===

# service httpd start
Starting httpd:  httpdSyntax error on line 344 of /etc/httpd/conf/httpd.conf:
No comments are allowed here

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

httpd-2.2.15-60.el6_9.6

How reproducible:

everytime

Steps to Reproduce:

1. update httpd package to 2.2.15-60.el6_9.6
2. configure httpd.conf file with following line
===
    Allow from all # test
===
3. start/restart httpd daemon

Actual results:

httpd daemon failed to start with 'No comments are allowed here'

Expected results:

httpd daemon can start successfully

Additional info:

This seems like the same bug of BZ#1349546.