Page 1 of 1
how to install mod_filter on apache? VCP is latest.
Posted: Fri Oct 28, 2016 2:09 am
by kudouyuzi
Re: how to install mod_filter on apache? VCP is latest.
Posted: Fri Oct 28, 2016 6:05 am
by ScIT
Should be something like:
Code: Select all
a2enmod filter
service apache2 restart
Re: how to install mod_filter on apache? VCP is latest.
Posted: Fri Oct 28, 2016 6:25 am
by kudouyuzi
ScIT wrote:Should be something like:
Code: Select all
a2enmod filter
service apache2 restart
error -bash: a2enmod: command not found
Re: how to install mod_filter on apache? VCP is latest.
Posted: Fri Oct 28, 2016 6:52 am
by skurudo
a2enmod is a debianism, on CentOS you will need to do this manually. Please refer to the Apache documentation to find out how to do this. Just as how the Include directive is used in the main config file, we could use the LoadModule directive to load modules into Apache.
You could enable a module by specifying the following line in a config file (the main config file or another config file that is read by Apache):
Code: Select all
LoadModule <name-of-module> /path/to/shared-object-module-file.so
## E.g.:
LoadModule headers_module modules/mod_headers.so
Re: how to install mod_filter on apache? VCP is latest.
Posted: Fri Oct 28, 2016 7:07 am
by kudouyuzi
skurudo wrote:a2enmod is a debianism, on CentOS you will need to do this manually. Please refer to the Apache documentation to find out how to do this. Just as how the Include directive is used in the main config file, we could use the LoadModule directive to load modules into Apache.
You could enable a module by specifying the following line in a config file (the main config file or another config file that is read by Apache):
Code: Select all
LoadModule <name-of-module> /path/to/shared-object-module-file.so
## E.g.:
LoadModule headers_module modules/mod_headers.so
THX
Re: how to install mod_filter on apache? VCP is latest.
Posted: Fri Oct 28, 2016 7:11 am
by skurudo
kudouyuzi, you're welcome ;-)