![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 64](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653064.webp)
NameTrans Stage
64
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
Example
NameTrans fn=strip-params
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
Examples
See Also
init-uhome, find-links
from
is the URL prefix to translate, usually “
/~
”.
subdir
is the subdirectory within the user’s home directory that
contains their web documents.
pwfile
(optional) is the 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.
bucket
optional, common to all
obj.conf
functions
NameTrans fn=unix-home from=/~ subdir=public_html
NameTrans fn=unix-home from /~ pwfile=/mydir/passwd
subdir=public_html
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...