Q&A

Q1:I've used Apache on Linux and other UNIX platforms; the files all seem to be in different places under FreeBSD. What gives?
A1: It's a common problem with the variation in different UNIX systems: Each one seems to have its own idea about which files go where. Some Linux distributions, for instance, put the Apache installation into a single directory structure under /var/lib/httpd. FreeBSD attempts to adhere to a strict conceptual layout; Web content and executables don't go into /var, which is supposed to contain variable files (such as PID files, databases, and logs). Instead, Apache's binaries go into /usr/local/sbin and /usr/local/bin (depending on whether they alter system behavior or not), logs are kept in /var/log, documentation ...

Get Sams Teach Yourself FreeBSD® in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.