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

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:1:   // This is a ChiliMoon module. Copyright © 1996 - 2001, Roxen IS.      // 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 "socket";    - constant cvs_version = "$Id: filesystem.pike,v 1.124 2004/05/22 11:10:30 _cvs_stephen Exp $"; + constant cvs_version = "$Id: filesystem.pike,v 1.125 2004/05/23 14:14:37 _cvs_dirix Exp $";   constant thread_safe = 1;      #include <module.h>   #include <stat.h>   #include <request_trace.h>   #include <roxen.h>      // NGSERVER: Make an API where a module can send back an error token which is   // then substituted with the apropriate message for the protocol and locale.   // This would enable us to theme other error pages than the now special case 404.
Roxen.git/server/modules/filesystems/filesystem.pike:673:    }    } else {    return(0);    }    }    return(0);   }      mapping make_collection(string coll, RequestID id)   { -  TRACE_ENTER(sprintf("make_collection(%O)", coll), this_object()); +  TRACE_ENTER(sprintf("make_collection(%O)", coll), this);       string norm_f = real_path(coll, id);       if (!norm_f) {    TRACE_LEAVE(sprintf("%s: Bad path", id->method));    return Roxen.http_status(405, "Bad path.");    }       if(!query("put"))    {