Bug 78676

Summary: apxs generated invalid AddModule in httpd.conf
Product: [Retired] Red Hat Linux Reporter: Need Real Name <ddegraff>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
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: 2002-12-19 09:43:23 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 Need Real Name 2002-11-27 15:45:08 UTC
Description of Problem:
 When installing (via apxs -i) a custom authorization module, an invalid
    AddModule
 command is generated in the httpd.conf file

Version-Release number of selected component (if applicable):
 httpd-2.0.40-13 (from Rawhide)

How Reproducible:
 every time

Steps to Reproduce:
1. compile your module
        /usr/sbin/apxs -c mymodule.c
2. install your module
        /usr/sbin/apxs -i -a -n mymodule mymodule.la
3. 

Actual Results:
        /etc/rc.d/init.d/httpd start
  prints
        Starting httpd:
         Apache 1.3 configuration directives found
         please read /usr/share/doc/httpd-2.0.40/migration.html
                                                           [FAILED]

  Run
        /usr/sbin/httpd -t
  and the following is printed
        Syntax error on line 939 of /etc/httpd/conf/httpd.conf:
        Invalid command 'AddModule', perhaps mis-spelled or defined by a module
not included in the server configuration

Expected Results:
  The AddModule line is not valid in 2.0.x

Additional Information:

Comment 1 Joe Orton 2002-11-27 15:57:15 UTC
Ah; does your httpd.conf already contain an old commented out AddModule directive?



Comment 2 Joe Orton 2002-12-19 09:43:23 UTC
Thanks for the report; this is fixed in Raw Hide, httpd-2.0.40-14 which should
hit Raw Hide sometime soon.