Installation guide

The following table describes these symbolic links in detail for the Red Hat and Mac OS
X default configurations. From this information it should be straightforward to derive the
required information for other configurations, such as Debian or Slackware (“environ-
ment variable”-style notation used below is only to compact the size of the table and need
not be used in any commands executed on your system).
Apache Group Red Hat Mac OS X
base
installation
directory
${BASEDIR}
/usr/local/apache N/A N/A
configuration
files
${CONFDIR}
${BASEDIR}/conf
/etc/httpd/conf /etc/httpd
configuration
specification
file
${CONFDIR}/httpd.conf ${CONFDIR}/httpd.conf ${CONFDIR}/httpd.conf
document root
${BASEDIR}/htdocs /var/www/html
/Library/WebServer/Documents
modules Apache 1:
${BASEDIR}/libexec
Apache 2:
${BASEDIR}/modules
/etc/httpd/modules /usr/libexec/httpd
executable
file
${BASEDIR}/bin/httpd /usr/sbin/httpd /usr/sbin/httpd
As an example, the following commands need to be run on a Red Hat system to adapt the
Apache web server configuration for use with BlueDragon Server:
mkdir –p /usr/local/apache/bin
ln -s /etc/httpd/conf /usr/local/apache/conf
ln -s /var/www/html /usr/local/apache/htdocs
ln -s /etc/httpd/modules /usr/local/apache/libexec
ln -s /etc/httpd/modules /usr/local/apache/modules
ln -s /usr/sbin/httpd /usr/local/apache/bin/httpd
These commands need to be run on a Mac OS X system to adapt the Apache web server
configuration for use with BlueDragon Server:
mkdir –p /usr/local/apache/bin
ln -s /etc/httpd /usr/local/apache/conf
ln -s /Library/WebServer/Documents /usr/local/apache/htdocs
ln -s /usr/libexec/httpd /usr/local/apache/libexec
ln -s /usr/libexec/httpd /usr/local/apache/modules
ln -s /usr/sbin/httpd /usr/local/apache/bin/httpd
BlueDragon 6.1 Installation Guide
7