Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manuale Utente Pagina 77

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 148
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 76
obj.conf
Chapter 2 Configuration Files 77
path Thepathandnameofthehomepagefile.Ifpath
starts with a slash (/),it is assumed to be a full pathto
a file.
pfx2dir Translates anyURLbeginningwith agiven prefix toa
filesystem directory andoptionally enablesdirectives
in an additional named object.
from The URI prefix to convert. It should not have a
trailing slash (/).
dir The local file system directory path that the prefix is
converted to. It should not have a trailing slash (/).
name (optional) specifies an additional named object in
obj.conf whose directives will be applied to this
request.
find-pathinfo-
forward
The
value is
ignored
(optional) makes the server look for the PATHINFO
forward in thepath right afterthe ntrans-base instead
of backward from the end of path as the server
function pfx2dir does by default.
redirect Redirects the client to a different URL.
from Specifies the prefix of the requested URI to match.
url (maybe optional) specifies a complete URL to return
to the client. If you use this parameter, don’t use
url-prefix (and vice-versa).
url-prefix (maybe optional) the new URL prefix to return to the
client. Thefrom prefixis simply replaced bythisURL
prefix. If you use this parameter, don’t useurl (and
vice-versa).
escape yes, no yes (optional) is a flag which tells the server to
util_uri_escape the URL before sending it.
strip-params Removes embedded semicolon-delimited parameters
from the path. For example, a URI of
/dir1;param1/dir2 becomes/dir1/dir2.If
used, should be the firstNameTrans directive listed.
unix-home TranslatesaURLtoaspecifieddirectorywithina
user’s home directory.
from The URL prefix to translate, usually “/~”.
Table 2-16 obj.conf NameTrans functions
Function/Parameter Allowed
Values
Default Value Description
Vedere la pagina 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 147 148

Commenti su questo manuale

Nessun commento