Installation guide
Server itself or before starting the BlueDragon Server when attempting to use the Admin
console to add the web server adapter.
For more clarity, the following table describes the directory and file differences between
the Apache Group standard and that for Gentoo 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. (Note that the “environment
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 Gentoo Mac OS X
base
installation
directory
${BASEDIR}
/usr/local/apache N/A N/A
configuration
files
${CONFDIR}
${BASEDIR}/conf
/etc/apache/conf /etc/httpd
configuration
specification
file
${CONFDIR}/httpd.conf ${CONFDIR}/apache.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
To accommodate these differences, the following 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
Likewise, the following commands would need to be run on a Gentoo 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
BlueDragon 6.2.1 Server and Server JX Installation Guide
13