I have been running apache - php - mysql from source in 10.1.x with no problem (all compiled from source and stored in /usr/local/*) it however seems that Apple has made some major changes to how apache configures itself under 10.2.
Using the following commands to install apache:
cd /usr/local/src/apache_1.3.23
./configure --with-layout=Apache --prefix=/usr/local/apache --enable-shared=max --enable-module=all --server-uid=www --server-gid=www
make
make install
And when I run the:
/usr/local/apache/bin/apachectl configtest
It tells me that Apache is fine.
So their is nothing wrong with my apache. The problem is when I go to
http://localhost it tells me:
##
Not Found
The requested URL / was not found on this server.
Apache/1.3.26 Server at mrburri.local Port 80
##
I believe this is because Apple somehow forces Apache to ignore the /usr/local/apache/conf/httpd.conf the one it should be reading and instead reads Apples conf files here.
/private/etc/httpd/users
/private/etc/httpd/users/mrburri.conf
As when I start Apache from the CL I get:
Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/mrburri.conf
/usr/sbin/apachectl restart: httpd started
So the question are:
1- Why did Apple f-u-c-k with the standard UNIX way? (I am guessing it is to allow each user of the system to have their own custom Apache conf file, just what my grandmother needs).
2- How do I make it so that Apache does it the correct way and reads only the /usr/local/apache/bin/httpd.conf file ?
Thanks for any help. I have been to the Apple Developer Site with no luck.