Roxen.git / server / modules / filesystems / filesystem.pike

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:1:   // This is a roxen module. Copyright © 1996 - 1999, Idonex AB.      // This is a virtual "file-system".   // It will be located somewhere in the name-space of the server.   // Also inherited by some of the other filesystems.      inherit "module";   inherit "roxenlib";   inherit "socket";    - constant cvs_version= "$Id: filesystem.pike,v 1.67 2000/02/27 07:37:32 per Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.68 2000/03/01 18:30:33 nilsson Exp $";   constant thread_safe=1;      #include <module.h>   #include <roxen.h>   #include <stat.h>   #include <request_trace.h>      #if DEBUG_LEVEL > 20   # ifndef FILESYSTEM_DEBUG   # define FILESYSTEM_DEBUG
Roxen.git/server/modules/filesystems/filesystem.pike:107:    "server.");       defvar("check_auth", 1, "Require authentication for modification",    TYPE_FLAG,    "Only allow authenticated users to use methods other than "    "GET and POST. If unset, this filesystem will be a _very_ "    "public one (anyone can edit files located on it)");       defvar("stat_cache", 0, "Cache the results of stat(2)",    TYPE_FLAG|VAR_MORE, -  "This can speed up the retrieval of files up to 60/70% if you " +  "This can speed up the retrieval of files up to 70% if you "    "use NFS, but it does use some memory.\n"    "<p>Also note that the cached results are only rechecked when the "    "file is fetched with the no-cache pragma (produced e.g. by " -  "Alt-Ctrl-Reload in Netscape) and when the module is reloaded. " +  "Alt-Ctrl-Reload in Netscape), when the module is reloaded " +  "or when the cached entry has expired. "    "Thus, it's not recommended to use this on filesystems that " -  "change a lot, e.g. where users are allowed to upload."); +  "change a lot.");       defvar("access_as_user", 0, "Access file as the logged in user",    TYPE_FLAG|VAR_MORE,    "EXPERIMENTAL. Access file as the logged in user.<br>\n"    "This is useful for eg named-ftp.");       defvar("no_symlinks", 0, "Forbid access to symlinks", TYPE_FLAG|VAR_MORE,    "EXPERIMENTAL.\n"    "Forbid access to paths containing symbolic links.<br>\n"    "NOTE: This can cause *alot* of lstat system-calls to be performed "