Bug 4181 - apxs -i doesn't install correct module path
apxs -i doesn't install correct module path
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: apache (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-07-23 14:54 EDT by tomj
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-27 11:30:47 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description tomj 1999-07-23 14:54:37 EDT
When I run apxs -i -a -n 'foo' mod_foo.so the line added
to the httpd.conf file looks like this:

LoadModule foo_module lib/apache/mod_foo.so

However, the 'ServerRoot' is used to find these modules and
that is set to /etc/httpd so the correct line should be:

LoadModule foo_module modules/mod_foo.so

So, after running apxs -i, httpd will fail to start since it
can't load the module.  This was a problem in RH 5.2 and is
still a problem in 6.0.
Comment 1 Preston Brown 1999-08-27 11:30:59 EDT
this will be fixed in the next release (6.1).

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