Forum Moderators: phranque

Message Too Old, No Replies

httpd -v command

httpd command

         

vkimura

7:50 am on Mar 1, 2009 (gmt 0)

10+ Year Member



When I type in httpd -V I receive this (from an already installed apache):
Server version: Apache/2.2.11 (Unix)
Server built: Feb 8 2009 09:09:57
Server's Module Magic Number: 20051115:21
Server loaded: APR 1.3.3, APR-Util 1.3.4
Compiled using: APR 1.3.3, APR-Util 1.3.4
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/apache2"
-D SUEXEC_BIN="/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

However, I noticed the HTTPD ROOT is pointing to "/apache" and not "/usr/local/apache2".
Does anyone know how I can change this?

I'm using a mac by the way but any info would be appreciated. I know I can use xamp for mac but I'm trying to learn to do things manually simply for learning sake.

Cordially,
vkimura

g1smd

6:19 pm on Mar 1, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Edit the appropriate entry in the httpd.conf file.