Mac OS X Server 10.4: Web service may not work after upgrade
Symptoms
If you have a computer that has been "upgrade installed" (upgraded without doing an "erase install" or "archive and install" along the way) from Mac OS X Server version 10.2 to 10.3, then to 10.4, Web service may not work after upgrading to 10.4.
This happens because this particular upgrade sequence doesn't properly modify the ServerRoot directive present in the primary Apache config file, /etc/httpd/httpd.conf. This issue does not occur if you upgrade from Mac OS X Server 10.2 to 10.4 in one step.
Products Affected
Mac OS X Server 10.4
Resolution
To resolve the issue, you must edit the /etc/httpd/httpd.conf file to correct the ServerRoot directive. To do this:
- Open /etc/httpd/httpd.conf in a text editor.
- In the file, find this line: ServerRoot "/Library/WebServer"
- Change the line to: ServerRoot "/usr"
- Find this line: Spotlight On
- Enclose it in an IfModule block, so that it looks like this:
<IfModule mod_spotlight_apple.c> Spotlight On </IfModule>
- Save the file, then restart Web Service