Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't find httpd.conf

I am running openSuse 11, and installed apache, its started and working.

share|improve this question

migrated from Aug 4 '09 at 16:51

This question came from our site for professional and enthusiast programmers.

Try using

locate httpd.conf

share|improve this answer


Alternatively you could use the find command: find /etc -name httpd.conf

share|improve this answer

If you installed the package, you can use RPM to find which files belong to the package.

rpm -ql apache2

and replace apache2 with the package name you installed. You can use

rpm -qa

to list all packages

share|improve this answer

Just installed the apache2 package on my 11.0 workstation. The httpd.conf file showed up at:

share|improve this answer

I think Suse uses apache2 now, so it wouldn't be httpd.conf, it would be

share|improve this answer

You may also be able to find the path to this file in the init script. Usually config files are passed as arguments or at least mentioned in most init scripts. So, something like this may work.

#grep httpd.conf /etc/init.d/apache2

share|improve this answer

whereis httpd

look in each of the folders listed

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.