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.   //   // A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.456 2001/07/31 07:46:43 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.457 2001/07/31 09:32:20 per 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:3210:    "other sites when virtual hosting is used and no host "    "header is supplied, or the supplied host header does not "    "match the address of any of the other servers.") );       defvar("comment", "", DLOCALE(22, "Site 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, "Site name"), -  TYPE_STRING|VAR_MORE| VAR_PUBLIC, +  TYPE_STRING|VAR_MORE| VAR_PUBLIC|VAR_NO_DEFAULT,    DLOCALE(25, "This is the name that will be used in the administration "    "interface. If this is left empty, the actual name of the "    "site will be used."));       defvar("compat_level", Variable.StringChoice ( -  "", roxen.compat_levels, 0, +  "", roxen.compat_levels, VAR_NO_DEFAULT,    DLOCALE(246, "Compatibility level"),    DLOCALE(384, "The compatibility level is used by different modules to select "    "the right behavior to remain compatible with earlier Roxen "    "versions. When a server configuration is created, this variable "    "is set to the latest version. After that it's never changed "    "automatically, thereby ensuring that server configurations "    "migrated from earlier Roxen versions is kept at the right "    "compatibility level.\n"    "<p>\n"    "This variable may be changed manually, but it's advisable to "
Roxen.git/server/base_server/configuration.pike:3307:    ,0, lambda(){ return !query("Log");});       defvar("NoLog", ({ }),    DLOCALE(32, "Logging: No Logging for"), TYPE_STRING_LIST|VAR_MORE,    DLOCALE(33, "Don't log requests from hosts with an IP number which "    "matches any of the patterns in this list. This also affects "    "the access counter log."),    0, lambda(){ return !query("Log");});       defvar("Domain", roxen.get_domain(), DLOCALE(34, "Domain"), -  TYPE_STRING|VAR_PUBLIC, +  TYPE_STRING|VAR_PUBLIC|VAR_NO_DEFAULT,    DLOCALE(35, "The domain name of the server. The domain name is used "    "to generate default URLs, and to generate email addresses."));       defvar("MyWorldLocation", "",    DLOCALE(36, "Primary Server URL"), TYPE_URL|VAR_PUBLIC,    DLOCALE(37, #"\   This is the main server URL, where your start page is located. This   setting is for instance used as fallback to generate absolute URLs to   the server, but in most circumstances the URLs sent by the clients are   used. A URL is deduced from the first entry in 'URLs' if this is left   blank.      <p>Note that setting this doesn't make the server accessible; you must   also set 'URLs'."));       defvar("URLs", -  Variable.PortList( ({"http://*/"}), VAR_INITIAL, +  Variable.PortList( ({"http://*/"}), VAR_INITIAL|VAR_NO_DEFAULT,    DLOCALE(38, "URLs"),    DLOCALE(39, "Bind to these URLs. You can use '*' and '?' to perform"    " globbing (using any of these will default to binding to "    "all IP-numbers on your machine). The possible protocols "    "are http, fhttp (a faster version of the normal HTTP "    "protocol, but not 100% compatible with all modules) "    "https, ftp, ftps, hilfe and tetris.")));       defvar("InternalLoc", "/_internal/",    DLOCALE(40, "Internal module resource mountpoint"),