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.1057 2010/03/30 12:28:54 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1058 2010/03/30 12:44:13 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:6405:    " && ((%[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)))", +  " && ((%[0]s->any && sizeof(user->groups())) ||\n" +  " sizeof(mkmultiset(user->groups())&%[0]s)))",    (<" User user" >),    // No need to NOCACHE () here, since it's up to the    // auth-modules to do that.    }), "group", }),    ({ "dns=%s",1,({    " if(!dns && \n"    " ((dns=roxen.quick_ip_to_host(id->remoteaddr))==id->remoteaddr))\n"    " if( (id->misc->delayed+=0.1) < 1.0 )\n"    " return Roxen.http_try_again( 0.1 );\n"    " if (sizeof(filter(%[0]O/\",\",\n"