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 - 2004, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.594 2006/09/14 13:01:24 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.595 2006/09/27 16:20:17 wellhard 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:1953:    TRACE_LEAVE("");    TRACE_LEAVE("Returning data");       // Keep query (if any).    // FIXME: Should probably keep config <foo>    string new_query = Roxen.http_encode_string(id->not_query) + "/" +    (id->query?("?"+id->query):"");    new_query=Roxen.add_pre_state(new_query, id->prestate);       TIMER_END(location_modules); +  // Avoid overcaching of the host header by disabling the protocol cache. +  NO_PROTO_CACHE();    return Roxen.http_redirect(new_query, id);    }    }    TIMER_END(location_modules);    }       if(fid == -1)    {    if(no_magic)    {