How do i enable an apache module?
-
Man page for a2enmod: https://www.lightnetics.com/post/8659
It varies on centos/redhat type systems and debian based systems.
Redhat/Centos.
You edit the config files normally under /etc/httpd/conf/httpd.conf, the main config file you can see includes a modules directory, which pulls in specific modules, the separate directory was created to keep the main config file streamlined. To install it normally a case of uncommenting the entry or installing the module first and then adding the entry, usually installing the module creates the relevant module files too.# Example: # LoadModule foo_module modules/mod_foo.so # Include conf.modules.d/*.conf
Debian based Linux.
You can use the perl scripts.$ sudo a2enmod proxy
© Lightnetics 2024