really need help to complete the Apache 2 upgrade
used the following to install
./configure --enable-layout=Darwin --enable-rewrite --enable-so
make
sudo make install
below is the file/folder output.
I get the following error message when I try to start from command line
sudo ./apachectl -k start
Password:
httpd: Could not open configuration file /usr/local/apache2/conf/
httpd.conf: No such file or directory
so I tried the file option and got
./apachectl -f /private/etc/apache2/httpd.conf start
Usage: /usr/sbin/httpd [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
-D name : define a name for use in <IfDefine name>
directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
-c "directive" : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options (this page)
-l : list compiled in modules
-L : list available configuration directives
-t -D DUMP_VHOSTS : show parsed settings (currently only vhost
settings)
-S : a synonym for -t -D DUMP_VHOSTS
-t -D DUMP_MODULES : show all loaded modules
-M : a synonym for -t -D DUMP_MODULES
-t : run syntax check for config files
So what is the best approach from here? Is this apachectl -f syntax incorrect?
Thanks everyone.
Mike
here is the install file/folder outpu
Installing configuration files
mkdir /etc/apache2
mkdir /etc/apache2/extra
mkdir /etc/apache2/original
mkdir /etc/apache2/original/extra
[PRESERVING EXISTING HTDOCS SUBDIR: /Library/WebServer/Documents]
Installing error documents
mkdir /usr/share/httpd/error
[PRESERVING EXISTING ICONS SUBDIR: /usr/share/httpd/icons]
mkdir /var/log/apache2
[PRESERVING EXISTING CGI SUBDIR: /Library/WebServer/CGI-Executables]
Installing header files
Installing build system files
Installing man pages and online manual
mkdir /Library/WebServer/share
mkdir /Library/WebServer/share/httpd
mkdir /Library/WebServer/share/httpd/manual
Mac OS X (10.4.6) intel