Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I can't find httpd.conf

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

share|improve this question

migrated from stackoverflow.com Aug 4 '09 at 16:51

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

7 Answers 7

Try using

updatedb
locate httpd.conf

share|improve this answer

/etc/apache2/httpd.conf

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:

 /etc/apache2/httpd.conf
share|improve this answer

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

/etc/apache2/apache2.conf
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

 
discard

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.