Mac OS X Server 10.2 installs Apache 2 (v 2.0.36) for evaluation purposes, in addition to Apache 1 (v 1.3.23), which is used by default. Apache 2 is disabled, and the Server Settings application works only with Apache 1.
If you want to try Apache 2, note the following:
- It is installed in a separate location in the file system: /opt/apache2
- It is not connected to Server Settings.
- It serves Web pages from /opt/apache2/htdocs.
- Its config is at: /opt/apache2/conf/httpd.conf
- It is controlled by its own version of the apachectl script, so to start it type the following:
sudo /opt/apache2/bin/apachectl start
- Although it's possible to use both versions of apache, you should be cautious when doing so, and make sure the two versions do not attempt to listen on the same port. Both are configured to listen on port 80, so do one of the following:
1. Edit /opt/apache2/conf/httpd.conf and change the Listen directive, or
2. Use the Web panel in the Server Settings application to change the port of all your virtual hosts to something other than 80.