Apache 1.3.3x

./configure --with-layout=FreeBSD --enable-module=most --enable-shared=max
There are several 'layout' options available.
After using the 'FreeBSD' layout, Apaches' files are located in various directories.
httpd -V
HTTPD_ROOT="/usr/local"
SUEXEC_BIN="/usr/local/sbin/suexec"
DEFAULT_PIDLOG="/var/run/httpd.pid"
DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
DEFAULT_LOCKFILE="/var/run/httpd.lock"
DEFAULT_ERRORLOG="/var/log/error_log"
TYPES_CONFIG_FILE="etc/apache/mime.types"
SERVER_CONFIG_FILE="etc/apache/httpd.conf"
ACCESS_CONFIG_FILE="etc/apache/access.conf"
RESOURCE_CONFIG_FILE="etc/apache/srm.conf"


When a path is specified with: --prefix=/usr/local/apache
In this example, no 'layout' directive is used, instead we use 'prefix'.
httpd -V
HTTPD_ROOT="/usr/local/apache"
SUEXEC_BIN="/usr/local/apache/bin/suexec"
DEFAULT_PIDLOG="logs/httpd.pid"
DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
DEFAULT_LOCKFILE="logs/httpd.lock"
DEFAULT_ERRORLOG="logs/error_log"
TYPES_CONFIG_FILE="conf/mime.types"
SERVER_CONFIG_FILE="conf/httpd.conf"
ACCESS_CONFIG_FILE="conf/access.conf"
RESOURCE_CONFIG_FILE="conf/srm.conf"

Notice how all files are contained in: /usr/local/apache
This makes it much easier to manage.
OS names are case sensitve



Apache 2.0.5x

./configure --layout=FreeBSD --enable-mods-shared=most
or
./configure --layout=FreeBSD --enable-mods-shared=all
or
./configure --layout=RedHat --enable-mods-shared=all