I'm sorry if I appeared agressive, it's just that I've spent the last few days trying to get this webserver back up and running so I can play with php and mySql again which I enjoy.
Troubleshooting this one has been less than pleasurable, I have found very little documentation about this one, it seems to be a combination of a compatability with the various versions of Apache and Mac OS X 10.1 and also my own ineptitude and lack of experience when it comes to running the Terminal.
Seeing my thread drop like a stone without hardly any views made me think that I was dealing with an issue that no-one wanted to touch with a barge pole.
Back to the business in hand your command
$ rm -rf /etc/httpd
seemed to work, now to the business of re-installing Apache.
My first stop was.....
http://www.entropy.ch/software/macosx/php/
....to download the "4.2.2 version" that runs on 10.1.x.
The terminal returned this when running through the set-up....
gunzip libphp4.so.gz
libphp4.so.gz: No such file or directory
...even though I can see a file right infront of me named libphp4.so.gz on my desktop
Brick wall (again)
OK second attempt was to go here....
http://www.serverlogistics.com/downloads-osx.php
"These packages are for Mac OS X 10.1, and are not guaranteed to be compatible with Mac OS X 10.2 Jaguar"
That's what I'm looking for.
"Apache 2 will install into /usr/local/apache2, and will not overwrite any Apache 1 files that are supplied by Apple"
That also sounds good.
This download gave me a .pkg which installed.
From the terminal this time
sudo apachectl restart
/usr/sbin/apachectl restart: httpd not running, trying to start
sudo apachectl graceful
/usr/sbin/apachectl graceful: httpd not running, trying to start
fopen: No such file or directory
httpd: could not open document config file /etc/httpd/httpd.conf
Am I missing a very basic principle here?
Any help would be gratefully appreciated and any aggression on my part in the near future will probably be channelled into projecting this iBook towards a brick wall, discus style.