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.367 2000/09/12 22:04:06 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.368 2000/09/13 11:36:04 lange Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>      inherit "basic_defvar";      mapping enabled_modules = ([]);   mapping(string:array(int)) error_log=([]);
Roxen.git/server/base_server/configuration.pike:2039:       if( catch( nm = enable_module( modname, 0, 0, 1 ) ) || (nm == 0) )    enable_module( modname, (nm=old_module), mi, 1 );    else    {    foreach ((array) old_module->error_log, [string msg, array(int) times])    nm->error_log[msg] += times;       catch( mi->update_with( nm,0 ) ); // This is sort of nessesary...    -  nm->report_notice(LOC_C(11, "Reloaded %s.\n"), mi->get_name()); +  nm->report_notice(LOC_C(11, "Reloaded %s.")+"\n", mi->get_name());    // It's possible e.g. in the config interface that the module    // being reloaded is in use for the current request, so delay it a    // little.    //call_out (destruct, 2, old_module);    // Nope, can't do that since there are things like lookup caches    // that count on that the old module object is gone before the new    // is started.    destruct (old_module);    }   
Roxen.git/server/base_server/configuration.pike:2891:    "header is supplied, or the supplied host header does not "    "match the address of any of the other servers.") );       defvar("comment", "", DLOCALE(22, "Virtual server comment"),    TYPE_TEXT_FIELD|VAR_MORE,    DLOCALE(23, "This text will be visible in the administration "    "interface, it can be quite useful to use as a memory helper."));       defvar("name", "", DLOCALE(24, "Virtual server name"),    TYPE_STRING|VAR_MORE, -  DLOCALE(25, "This is the name that will be used in the configuration " +  DLOCALE(25, "This is the name that will be used in the administration "    "interface. If this is left empty, the actual name of the "    "virtual server will be used."));       defvar("LogFormat",    "404: $host $referer - [$cern_date] \"$method $resource $protocol\" 404 -\n"    "500: $host $referer ERROR [$cern_date] \"$method $resource $protocol\" 500 -\n"    "*: $host - - [$cern_date] \"$method $resource $protocol\" $response $length",    DLOCALE(26, "Logging: Format"),    TYPE_TEXT_FIELD|VAR_MORE,    DLOCALE(27, "What format to use for logging. The syntax is:\n"