When starting Personal Web Sharing in MAC OS X several things occur. The first is Apache (original installation on 10.4) is launched. At this point the command line can be your friend. The commands below provide information about the HTTPD installation. This information provides valuable information on the current Apache installation. Having this information at hand provides the knowledge for a smother upgrade to a newer version of Apache.
I used FINK to get the upgrade done from version 1.3 to 2.2. However, the information below identified the paths and configuration for HTTPD. As a result we setup Apache in the fink directory., The original (or previous) installation was updated and replaced by symbolic links of the new installation..
In order to find out your version of Apache you can issue the following command:
<Satori:sparc> 0 [06-23 15:51] /usr/local/mysql/bin (50.674 Mb)
! httpd -v
Server version: Apache/1.3.33 (Darwin)
Server built: Jan 13 2006 08:49:59
When checking installations isse the following option:
<Satori:sparc> 0 [06-21 14:42] /usr/local/mysql/bin (50.674 Mb)
! httpd -V
Server version: Apache/1.3.33 (Darwin)
Server built: Mar 20 2005 15:08:27
Server's Module Magic Number: 19990320:16
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D USE_MMAP_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_FLOCK_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D DYNAMIC_MODULE_LIMIT=64
-D HARD_SERVER_LIMIT=2048
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/httpd.lock"
-D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
-D TYPES_CONFIG_FILE="/etc/httpd/mime.types"
-D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"
-D ACCESS_CONFIG_FILE="/etc/httpd/access.conf"
-D RESOURCE_CONFIG_FILE="/etc/httpd/srm.conf"
<Satori:sparc> 0 [06-23 15:51] /usr/local/mysql/bin (50.674 Mb)
! tags: osx os x apple open source apache
links: digg this del.icio.us technorati reddit