This article explains how to configure Apache2 with directives in either .htaccess or in httpd.conf to work globally. However in EasyApache4 httpd.conf is automatically generated, it says that modifications should go in include files, and it lists the following three files:
/etc/apache2/conf.d/includes/pre_main_global.conf /etc/apache2/conf.d/includes/pre_virtualhost_global.conf /etc/apache2/conf.d/includes/post_virtualhost_global.conf
This article talks about creating a new file expire.conf file in /etc/apache2/conf.d/ (ie not adding directives to an existing file and not in the includes sub-directory). This article talks about creating a new file 00-cache.conf in the conf.modules.d directory.
I'm confused whether to add directives to an existing file in the includes sub-directory, and if so which one, or to create a new file, and if so what filename to use and where to put it.
Can anyone advise please?