There is no default location for apache configuration file (httpd.conf) as this can be configured. To know the location run the below commands.
ps -ef | grep apache
root      4053     1  0 06:26 ?        00:00:04 /usr/sbin/apache2 -k start
www       5189  4053  0 11:00 ?        00:00:00 /usr/sbin/apache2 -k start
www       5199  4053  0 11:00 ?        00:00:00 /usr/sbin/apache2 -k start
Then simply run the below command to get the details.
/usr/sbin/apache2 -V
# Server compiled with....
# -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
Posted by Sandheep to Sandheep's deck (2013-05-04 10:43)