Menu

#3999 [DEV]httpd complains "Either all Options must start with + or -, or no Option may." in httpd-2.4.6 on rhels7

2.8.4
pending
yangsong
httpd (3)
RHEL7
5
2015-01-05
2014-02-26
yangsong
No

Platform: rhels7.0 ppc64

rpm:
[root@p7hv16sbbr01 etc]# rpm -qa|grep httpd
httpd-tools-2.4.6-14.el7.ppc64
httpd-2.4.6-14.el7.ppc64

problem:
The syntax check of httpd configuration file failed and httpd service cannot be started.
[root@p7hv16sbbr01 etc]# httpd -t
AH00526: Syntax error on line 11 of /etc/httpd/conf.d/xcat.conf:
Either all Options must start with + or -, or no Option may.

Reason:
The conf file syntax become more strict in new httpd release. It says:
"If you had Directory options, note that they all have to be prepended with a + or - or none of them at all. A mix of both is not allowed"

There is a xcat.conf.apach24 in xCAT source, seems this defect also exist in ubuntu:
[root@p7hv16sbbr03 xCAT]# git log ./xcat.conf.apach24
commit 0f93e7a135d3cec4633bb4404dbfaf86fdbf1d14
Author: yinle yinle@cn.ibm.com
Date: Thu Jan 16 12:45:19 2014 -0800

Add a new file xcat.conf.apach24

I think the 2 httpd conf file can keep the same, since the new syntax is just more strict, it can apply to the old httpd releases.

Discussion

  • Lissa Valletta

    Lissa Valletta - 2014-02-26
     
  • Lissa Valletta

    Lissa Valletta - 2014-02-26

    Guang Cheng could we start a new catagory Redhat7 so we can track the defects specific to Redhat7 or RHEL7.

     
  • Guang Cheng Li

    Guang Cheng Li - 2014-03-06
    • component: general --> RHEL7
     
  • Guang Cheng Li

    Guang Cheng Li - 2014-03-06
    • assigned_to: yangsong
     
  • yangsong

    yangsong - 2014-03-07
    • status: open --> pending
     
  • yangsong

    yangsong - 2014-03-07

    fixed in 2.8.4:
    commit af52462972fa62e6e6dc5a55f5b3afc6c8f7a920
    Author: immarvin yangsbj@cn.ibm.comq
    Date: Fri Mar 7 06:01:30 2014 -0800

    fix defect #3999
    

    commit c2d2452719cdaa03898cbc64427b80c77ecc526c
    Author: immarvin yangsbj@cn.ibm.comq
    Date: Fri Mar 7 05:54:56 2014 -0800

    fix defect #3999 and #4013
    

    fixed in 2.9:
    commit 35ed43d06b32821e3edfe2e51687567d42b1f08b
    Author: immarvin yangsbj@cn.ibm.comq
    Date: Fri Mar 7 06:01:30 2014 -0800

    fix defect #3999
    

    commit 5a8d12715acca2d71da1c6b2d44651f4278ca0f9
    Author: immarvin yangsbj@cn.ibm.comq
    Date: Fri Mar 7 05:54:56 2014 -0800

    fix defect #3999 and #4013
    
     
MongoDB Logo MongoDB