Locate Apache & configuration file on Linux

Since there is no default location for Apache, it can be configured at custom location on Linux. Having said that, in case a a developer, in case there’s a need to find and configure Apache, you just use below quick tip that will help you to do so.

This will give a list something like below:

So, the path of apache server on your linux box is /usr/sbin/apache

Now, simply run below command to know Apache configurations & setting file:

Enjoy!!