unix-home

Applicable in NameTrans-class directives.

UNIX Only. The unix-home function
translates user names (typically of the form ~username) into the user’s
home directory on the server’s UNIX machine. You specify a URL prefix
that signals user directories. Any request that begins with the prefix is
translated to the user’s home directory.

You specify the list of users with either the /etc/passwd file
or a file with a similar structure. Each line in the file should have this
structure (elements in the passwd file that are not needed
are indicated with *):

username:*:*:groupid:*:homedir:*

If you want the server to scan the password file only once at startup,
use the Init-class function init-uhome in magnus.conf.

Parameters

The following table describes parameters for the unix-home function.

Table 4–17 unix-home Parameters

Parameter

Description

subdir

Subdirectory within the user’s home directory that contains their
web documents.

pwfile

(Optional) Full path and file name of the password file if it is different
from /etc/passwd.

name

(Optional) Specifies an additional named object whose directives will
be applied to this request.