Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Internet Server.   // Copyright © 1996 - 2001, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.527 2002/06/18 16:45:41 nilsson Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.528 2002/06/19 22:59:36 nilsson 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)      #ifdef THROTTLING_DEBUG   #undef THROTTLING_DEBUG
Roxen.git/server/base_server/configuration.pike:683:   {    if( userdb_module_cache )    return userdb_module_cache;    array tmp = ({});    foreach( values( modules ), mapping m )    foreach( values(m->copies), RoxenModule mo )    if( mo->module_type & MODULE_USERDB )    tmp += ({ ({ mo->query( "_priority" ), mo }) });       sort( tmp ); - // tmp += ({ ({ 0, roxen->config_userdb_module }) }); + // tmp += ({ ({ 0, roxen->admin_userdb_module }) });    return userdb_module_cache = reverse(column(tmp,1));   }      array(AuthModule) auth_modules()   {    if( auth_module_cache )    return auth_module_cache;    array tmp = ({});    foreach( values( modules ), mapping m )    foreach( values(m->copies), RoxenModule mo )
Roxen.git/server/base_server/configuration.pike:2676: Inside #if defined(MODULE_LEVEL_SECURITY)
  // ("The realm to use when requesting password from the "   // "client. Usually used as an informative message to the "   // "user."));       me->defvar("_seclevels", "", "Security: Patterns",    TYPE_TEXT_FIELD,    #"The syntax is:   <dl>    <dt><b>userdb</b> <i>userdatabase module</i></dt>    <dd> Select a non-default userdatabase module. The default is to -  search all modules. The userdatabase module config_userdb is always -  present, and contains the configuration users</dd> +  search all modules. The userdatabase module admin_userdb is always +  present, and contains the administration interface users</dd>    <dt><b>authmethod</b> <i>authentication module</i></dt>    <dd>Select a non-default authentication method.</dd>    <dt><b>realm</b> <i>realm name</i></dt>    <dd>The realm is used when user authentication info is requested</dd>   </dl>      Below, CMD is one of 'allow' and 'deny'   <dl>    <dt>CMD <b>ip</b>=<i>ip/bits</i> [return]<br />    CMD <b>ip</b>=<i>ip:mask</i> [return] <br />