RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1507403 - Comment at the end of Allow from statements cause httpd daemon start failed
Summary: Comment at the end of Allow from statements cause httpd daemon start failed
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: httpd
Version: 6.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-30 07:14 UTC by ddu
Modified: 2020-12-14 10:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-30 15:27:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1349546 0 unspecified CLOSED comments no longer allowed at the end of Allow from statements and maybe other statements from mod_authz* 2021-02-22 00:41:40 UTC

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.


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