Roxen.git / server / modules / examples / location.pike

version» Context lines:

Roxen.git/server/modules/examples/location.pike:1:   #include <module.h>   inherit "module";   // All roxen modules must inherit module.pike    - constant cvs_version = "$Id: location.pike,v 1.3 2000/08/28 12:28:52 jhs Exp $"; + constant cvs_version = "$Id: location.pike,v 1.4 2001/04/18 20:54:25 js Exp $";   constant module_type = MODULE_LOCATION;   constant module_name = "RefDoc for MODULE_LOCATION";   constant module_doc = "This module does nothing, but its inlined "    "documentation gets imported into the roxen "    "programmer manual. You really don't want to "    "add this module to your virtual server, promise!";      // see common_api.pike for further explanations of the above constants      void create()
Roxen.git/server/modules/examples/location.pike:100:   //!   //! <tt>mtime</tt> is a unixtime integer containing the last time the   //! file was modified (seconds since 1970). It will be used to handle   //! Last-Modified-Since requests and should be supplied if possible.   //!   //! <tt>ctime</tt> is a unixtime integer containing the time the file   //! was created (seconds since 1970). It can be ignored.   //!   //! <tt>uid</tt> is an integer containing the user id of this file. It   //! will be correlated with the information from the current - //! authentification type module, and used by the CGI executable + //! authentication type module, and used by the CGI executable   //! support module to start CGI scripts as the correct user. It is   //! only necessary for location modules that provide access to a real   //! file system and that implement the <ref>real_file()</ref> method.   //!   //! <tt>gid</tt> is an integer containing the group id of the file. It   //! is needed when uid is needed.   {    return ({ 0775, // mode    ({ 17, -2 })[random(2)], // size/special    963331858, // atime