Apache is a high performance web server that provides lots of customization options. However, if you don’t the location of Apache config file, it will be difficult to customize it according to your requirements. Here’s Apache config file location in CentOS.
Apache Config File Location in CentOS
Here’s how to find Apache Config File Location in CentOS.
If Apache was pre-installed on your Linux system or you installed it using a package manager, then depending on your Linux distribution, you will find your Apache config file at one of the following locations:
If you have installed Apache from source, then you will find the config file at one of the following locations.
You can also include a different file (e.g /etc/apache_config.conf) for your configuration. To do that, simply use the Include directive to include its path in Apache’s main config file.
You can use the above steps to find Apache config file location for RHEL/Fedora systems also.