Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //   // A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.455 2001/07/21 14:22:26 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.456 2001/07/31 07:46:43 per Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>   #include <timers.h>      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      // --- Locale defines ---   //<locale-token project="roxen_start"> LOC_S </locale-token>
Roxen.git/server/base_server/configuration.pike:1249:   //! otherwise a result mapping is always generated.   {   #ifdef MODULE_LEVEL_SECURITY    int slevel;   #endif      #ifdef THREADS    Thread.MutexKey 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,"\\","/")); -  if( !ss ) id->not_query = id->not_query[1..]; -  } - #endif +  id->not_query = VFS.normalize_path( id->not_query );       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)