Bug 78676 - apxs generated invalid AddModule in httpd.conf
apxs generated invalid AddModule in httpd.conf
Product: Red Hat Linux
Classification: Retired
Component: httpd (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2002-11-27 10:45 EST by Need Real Name
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-19 04:43:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-11-27 10:45:08 EST
Description of Problem:
 When installing (via apxs -i) a custom authorization module, an invalid
 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

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

        /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 10:57:15 EST
Ah; does your httpd.conf already contain an old commented out AddModule directive?

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

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