1

I can't find httpd.conf

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

0

7 Answers 7

5

Try using

updatedb
locate httpd.conf

3

/etc/apache2/httpd.conf

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

2

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

1

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

/etc/apache2/apache2.conf
1

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

 /etc/apache2/httpd.conf
0

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

0

whereis httpd

look in each of the folders listed

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .