If you want the server to scan the password file only once at startup, use the
Init-class function
Parameters
from
subdir
pwfile
name
bucket
Examples
NameTrans fn=unix-home from=/~ subdir=public_html
NameTrans fn=unix-home from /~ pwfile=/mydir/passwd
subdir=public_html
See Also
init-uhome, find-links
PathCheck Stage
PathCheck
NameTrans
for dangerous elements such as
restriction is applied.
If there is more than one
order.
The following PathCheck-class functions are described in detail in this section:
•
check-acl
•
deny-existence
•
find-index
in
init-uhome
is the URL prefix to translate, usually "/~".
is the subdirectory within the user's home directory that
contains their web documents.
(optional) is the full path and file name of the password file if
it is different from /etc/passwd.
(optional) specifies an additional named object whose
directives will be applied to this request.
optional, common to all obj.conf functions
directives check the local file system path that is returned after the
step. The path is checked for things such as CGI path information and
/./
PathCheck
checks an access control list for authorization.
indicates that a resource was not found.
locates a default file when a directory is requested.
Chapter 3
.
magnus.conf
and
and
, and then any access
/../
//
directive, each of the functions are executed in
Predefined SAFs and the Request Handling Process
PathCheck Stage
61