Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2009, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.1056 2010/02/19 15:58:28 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1057 2010/03/30 12:28:54 grubba Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:6394:    " if (sizeof(filter(%[0]O/\",\",\n"    " lambda(string q){\n"    " return glob(q,id->remoteaddr);\n"    " })))",    }), "ip", }),    ({ "user=%s",1,({ 1,    lambda( string x ) {    return ({sprintf("(< %{%O, %}>)", x/"," )});    },    -  " if ((user || (user = authmethod->authenticate(id, userdb_module)))\n" -  " && ((%[0]s->any) || (%[0]s[user->name()]))) ", +  " if (((user || (user = authmethod->authenticate(id, userdb_module)))\n" +  " && ((%[0]s->any) || (%[0]s[user->name()]))) || %[0]s->ANY) ",    (<" User user" >),    // No need to NOCACHE () here, since it's up to the    // auth-modules to do that.    }), "user", }),    ({ "group=%s",1,({ 1,    lambda( string x ) {    return ({sprintf("(< %{%O, %}>)", x/"," )});    },    " if ((user || (user = authmethod->authenticate(id, userdb_module)))\n"    " && ((%[0]s->any) || sizeof(mkmultiset(user->groups())&%[0]s)))",