httpd.conf - version confusion

Woolwich

Registered
Once upon a time I had my Apache web server running with php and MySQL etc etc. All very impressive as I don't have any Unix experience.

Then I installed Mac OS X 10.2. That appears to overwrite httpd.conf files. No, I didn't back-up...

To get up and running I folowed an on-line tutorial on the O'Reilly site - http://www.oreillynet.com/pub/ct/49

I'm trying to follow the tutorial again but the config file seems to have changed slightly. There must be a different version of Apache in 10.1 and 10.2?

I could blunder through until I get going. On the other hand I can see some other httpd.conf files in /etc/httpd. For example httpd.conf.applesaved (which looks familiar...) and .conf, .bak, .default, .new and .prefix.

Am I correct in assuming that the .applesaved version is my old config file and I could rename and use that? Even though it seems to be from a slightly earlier Apache?

Or... how do I get PHP running with "Apache/1.3.26 (Darwin) PHP/4.1.2 configured -- resuming normal operations"

Thanks!
 
You are correct. The .applesaved is your previous one from 10.1.x. Just in case, back up the current httpd.conf, then copy your old one to httpd.conf and do a 'apachectl configtest' and make sure it's working. Your old httpd.conf should be fine. Just make sure pathnames are the same.
 
Back
Top