Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS.    - constant cvs_version = "$Id: configuration.pike,v 1.391 2001/06/06 21:02:27 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.392 2001/07/31 07:41:03 per Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>      inherit "basic_defvar";      mapping enabled_modules = ([]);   mapping(string:array(int)) error_log=([]);
Roxen.git/server/base_server/configuration.pike:976:   //! otherwise a result mapping is always generated.   {   #ifdef MODULE_LEVEL_SECURITY    int slevel;   #endif      #ifdef THREADS    object key;   #endif    - #if defined(__NT__) || defined(STRIP_BSLASH) +     if( strlen(id->not_query ) )    {    int ss = (<'/','\\'>)[ id->not_query[0] ]; -  id->not_query = combine_path("/",replace(id->not_query,"\\","/")); +  id->not_query = combine_path("/", + #if defined(__NT__) || defined(STRIP_BSLASH) +  replace(id->not_query,"\\","/") + #else +  id->not_query + #endif +  );    if( !ss ) id->not_query = id->not_query[1..];    } - #endif +        TRACE_ENTER(sprintf("Request for %s", id->not_query), 0);       string file=id->not_query;    string loc;    function funp;    mixed tmp, tmp2;    mapping|object(Stdio.File)|int fid;       if(!no_magic)