Server Admin 10.4 Help

Experimenting With Apache 2

Version 10.4 of Mac OS X Server includes Apache 2 for evaluation purposes in addition to the operational version of Apache 1.3. By default, Apache 2 is disabled, and all Server Admin operations work correctly with Apache 1.3.

If you want to experiment with Apache 2, note the following:

  • It is installed in a separate location in the file system:  /opt/apache2.
  • It is not connected to Server Admin.
  • It serves webpages from /opt/apache2/htdocs.
  • Its configuration is in /opt/apache2/conf/httpd.conf. Apple modified this file by configuring it to run the httpd processes as user and group www. If you enable WebDAV with Apache 2, note that although your WebDAV clients using version 10.1 of Mac OS X or Mac OS X Server will be able to mount Apache2 WebDAV volumes, they will not have write access; they will have read-only access. WebDAV clients using version 10.2 or later will not have this problem.
  • It is controlled by its own version of the apachectl script, so to start it, type
    sudo /opt/apache2/bin/apachectl start
  • Although it's possible to run both versions of Apache, you should be cautious when doing so. Make sure the two versions do not attempt to listen on the same port. Apache 2 is configured by default to listen on port 8080, so it is possible have both Apache 1.3 and Apache 2 running at the same time.
Keywords: khelp ksa