Roxen.git / server / modules / misc / pathinfo.pike

version» Context lines:

Roxen.git/server/modules/misc/pathinfo.pike:1:   // This is a roxen module. Copyright © 1998 - 2000, Roxen IS.      inherit "module";    - constant cvs_version = "$Id: pathinfo.pike,v 1.15 2000/06/19 16:33:06 grubba Exp $"; + constant cvs_version = "$Id: pathinfo.pike,v 1.16 2001/05/16 07:51:00 per Exp $";   constant thread_safe = 1;      #ifdef PATHINFO_DEBUG   # define PATHINFO_WERR(X) werror("PATHINFO: "+X+"\n");   #else   # define PATHINFO_WERR(X)   #endif      constant module_type = MODULE_LAST; - constant module_name = "Path info support"; + constant module_name = "Scripting: Path info support";   constant module_doc = #"\   Support for \"path info\" style URLs, e.g. URLs that got a path like   <tt>/index.html/a/b</tt>, where <tt>/index.html</tt> is an existing   file, but <tt>/index.html/a</tt> and <tt>/index.html/a/b</tt> aren't.   In this case <tt>/index.html</tt> will be fetched, and the rest,   <tt>/a/b</tt> is made available in the RXML variable page.pathinfo.";      /* #define PATHINFO_LINEAR */      mapping|int last_resort(object id)