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.403 2000/12/11 03:07:46 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.404 2000/12/17 21:18:18 grubba Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.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:1582:    }    TRACE_LEAVE("Returned 'no such file'.");   }      mapping error_file( RequestID id )   {    string data = query("ZNoSuchFile");    NOCACHE();   #ifdef OLD_RXML_COMPAT    data = replace(data,({"$File", "$Me"}), -  ({"&page.virtfile;",query("MyWorldLocation")})); +  ({"&page.virtfile;", "&roxen.server;"}));   #endif    id->misc->defines = ([ " _error":404 ]);    return Roxen.http_rxml_answer( data, id, 0, "text/html" );   }      // this is not as trivial as it sounds. Consider gtext. :-)   array open_file(string fname, string mode, RequestID id, void|int internal_get)   {    if( id->conf && (id->conf != this_object()) )    return id->conf->open_file( fname, mode, id, internal_get );