Default Apache Installation Directory

Harry Putnam reader at newsguy.com
Sun Jul 11 14:43:20 UTC 2004


Danielb <mailinglists at danielb.org.uk> writes:

> I'm having trouble locating my apache installation so I can
> restart it as 'httpd -k restart' is not being recognized in
> the terminal. I've tried:
> which httpd
> which apache
> find apache /
> find httpd /
> And I still can't find the executable so I can restart
> apache with out restarting the PC! I'm running the apache
> that can with my Fedora Core 2 DVD distro so I'm assuming
> its in a standard location somewhere is just being still a
> bit of a linux n00b I can't work out how to be able to find
> it!

I'll not speak to the method of restart, which has been covered.
`which httpd' should have worked.  It must mean the /sbin /usr/sbin
directories are not in your path.  Try `echo $PATH' to find out.

Further if you installed it from rpm, you can use rpm commands to
locate all files in package:

  rpm -ql httpd

Or to find binaries:
  rpm -ql httpd |grep bin





More information about the fedora-list mailing list