1.11. Finding Apache’s Files
Problem
You’ve installed the Apache Web server, whether from source or an installation kit, but you’re not sure where all the files have been put. (This is useful to know if you want to uninstall it later.)
Solution
If you installed the software from a source kit, look at the
config.layout file in the top
level of the source directory. Look for a <Layout> stanza that matches the
--enable-layout option given to the configure script. (If none was supplied,
the Apache layout will have been
used.)
If you installed the software from an RPM package, use the
-ql option to see where the files have been
installed:
%rpm -ql httpd
If you installed from a kit prepared by a distributor, such as Ubuntu, check with the distribution documentation to find out where the files are stored.
Discussion
One of the advantages—and disadvantages—of open software is that everyone can build an installation kit. And everyone pretty much chooses options different from everyone else.
The Apache source package includes a list of “common” layouts, and most installation kits use one or another of these.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access