Back
How can I find where my httpd.conf file is located?I am running an Ubuntu Linux server from the Amazon Web Services EC2 (Elastic Compute Cloud) and I can't find my Apache config.
You can use the following commands to find the apache configuration file on a given server:
$ ps -ef | grep apache$ /usr/sbin/apache2 -V
$ ps -ef | grep apache
$ /usr/sbin/apache2 -V
Learn how we helped 50,000+ professionals like you !
30.9k questions
32.9k answers
500 comments
665 users