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.66 2000/02/16 11:06:18 per Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.67 2000/02/27 07:37:32 per 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:92:    defvar("dir", 1, "Enable directory listings per default", TYPE_FLAG|VAR_MORE,    "If set, you have to create a file named .www_not_browsable ("    "or .nodiraccess) in a directory to disable directory listings."    " If unset, a file named .www_browsable in a directory will "    "_enable_ directory listings.\n");       defvar("tilde", 0, "Show backup files", TYPE_FLAG|VAR_MORE,    "If set, files ending with '~' or '#' or '.bak' will "+    "be shown in directory listings");    -  defvar("put", 0, "Handle the PUT method", TYPE_FLAG|VAR_INITIAL, +  defvar("put", 0, "Handle the PUT method", TYPE_FLAG,    "If set, PUT can be used to upload files to the server.");    -  defvar("delete", 0, "Handle the DELETE method", TYPE_FLAG|VAR_INITIAL, +  defvar("delete", 0, "Handle the DELETE method", TYPE_FLAG,    "If set, DELETE can be used to delete files from the "    "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)",