User manual

Table Of Contents
52 Chapter 6 Working With Open-Source Applications
To enable mod_rendezvous_apple on Mac OS X Server:
m
To enable the module, use the Modules pane in Server Admin.
To set up mod_rendezvous_apple on Mac OS X Server:
m
To cause additional logging, which may be helpful if you discover a problem, find the
LogLevel directive in httpd.conf and change it to a more verbose setting, such as “info.”
Note: Whenever new users are added, restart web service so that their sites are
registered.
As always, follow the guidelines Apple has added as comments in configuration files.
They explain safe procedures for modifying those files.
Note that a user's home directory, which would include a Sites folder, might not be
present if the administrator added the user without creating a home directory for that
person. There are several ways to create a home directory, such as adding the home
directory in the Workgroup Manager application or using the command-line
createhomedir too to create the directory.
Here is a full description of the Apache configuration directives supported by
mod_rendezvous_apple.
RegisterDefaultSite directive
Syntax: RegisterMachine [port | main]
Default: No registration if directive is absent. Port defaults to 80.
Context: server config
Compatibility: Apache 1.3.x; Mac OS X and Mac OS X Server only
Module: mod_rendezvous_apple
This directive controls how the computer name is registered on the default site with
Rendezvous.
The RegisterDefaultSite directive causes the registration of the default website under
the computer name, as specified in the Sharing pane of System Preferences. A port
number can be specified, or the keyword “main”; in the latter case, the port number of
the “main server (outside any virtual hosts) is used. On Mac OS X Server, do not specify
“main,” because all externally visible sites are virtual hosts, and the main server is used
only for status. If the argument is omitted, port 80 is used.
If the directive is absent, the computer name is not registered.
Rendezvous details: This directive results in a call to the registration function, with an
empty string as the name (causing Rendezvous to use the computer name), with
“_http._tcp as the service type (indicating a web server), and with an empty string as
the TXT parameter (indicating the default website).
LL2350.book Page 52 Friday, August 22, 2003 2:32 PM