mod_deflate, mod_filter, mod_expires, mod_mime, mod_headers howto enable in vhosts and configuration?
You don't have to enable them in vhosts, they need to be enabled globally in apache. In Debian and Ubuntu, you use the a2enmod command for this. On CentOS you'll probably have to edit some config files in /etc/httpd/conf.modules.d manually if they are not loaded already. Btw, why did you not use one of the recommended Linux Distributions Debian or Ubuntu for your server? The installation and maintenance would be way easier.
> Ok, for those guys that also use CentOS 7.x and want wo enable modules in apache 2.4.x: > First step check which modules are installed: # ls /etc/httpd/modules/ | grep mod > or more specific, if the needed module is installed: # ls /etc/httpd/modules | grep mod_deflate > Edit the httpd.conf to enable the modules you whish, got to the end of the file and insert a line for each module you want to load; # vim /etc/httpd/conf/httpd.conf LoadModule rewrite_module modules/mod_deflate.so > Reload httpd service # service httpd reload