DevHeads.net

Apache load module path

Team,

I have LoadModules configured under the default RedHat httpd directory.

Example:
LoadModule proxy_module /usr/lib64/httpd/modules/mod_proxy.

I would like the modules to be changed to another
directory(/usr/local/apache2/modules).

Should I just update the new modules path in the httpd.conf file and
restart httpd?

Please let me know if it is correct. Are there any additional steps
required?

Comments

Re: Apache load module path

By Luca Toscano at 10/19/2017 - 05:41

Hi,

2017-10-18 21:14 GMT+02:00 renee ko < ... at gmail dot com>:

From <a href="https://httpd.apache.org/docs/2.4/mod/mod_so.html#loadmodule" title="https://httpd.apache.org/docs/2.4/mod/mod_so.html#loadmodule">https://httpd.apache.org/docs/2.4/mod/mod_so.html#loadmodule</a> I'd also
check the ServerRoot settings. Please also try this change in a testing
environment first to figure out if everything works as expected :)

Luca