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.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.541 2003/09/18 17:17:26 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.542 2003/10/07 10:45:08 anders 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:2165:    foreach(location_modules(), tmp)    {    loc = tmp[0];       TRACE_ENTER(sprintf("Location module [%s] ", loc), 0);    /* Note that only new entries are added. */    if(!search(file, loc))    {    /* file == loc + subpath */   #ifdef MODULE_LEVEL_SECURITY -  if(check_security(tmp[1], id)) continue; +  if(check_security(tmp[1], id)) { +  TRACE_LEAVE("Security check failed."); +  continue; +  }   #endif    RoxenModule c = function_object(tmp[1]);    string f = file[strlen(loc)..];    if (c->find_dir_stat) {    TRACE_ENTER("Has find_dir_stat().", 0);    if (d = c->find_dir_stat(f, id)) {    TRACE_ENTER("Returned mapping."+sprintf("%O", d), c);    dir = d | dir;    TRACE_LEAVE("");    }