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.476 2001/08/30 04:09:17 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.477 2001/08/30 14:43:50 grubba 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:2234:    // FIXME: If we're using e.g. ftp this doesn't exist. But the    // right solution might be that clone_me() in an ftp id object    // returns a vanilla (i.e. http) id instead when this function is    // used.    s = fake_id->scan_for_query (s);       s = Roxen.fix_relative (s, id);       fake_id->raw_url=s;    fake_id->not_query=s; +  fake_id->method = "GET";       if(!(m = get_file(fake_id,0,!not_internal))) {    // Might be a PATH_INFO type URL.    m_delete (fake_id->misc, "path_info");    array a = open_file( s, "r", fake_id, !not_internal );    if(a && a[0]) {    m = a[1];    m->file = a[0];    }    else {