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 - 2004, 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.887 2004/12/15 18:47:15 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.888 2004/12/21 17:39:03 mast 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:5111:    (<" 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" -  " lambda(string q){return glob(q,dns);})))", +  " lambda(string q){return glob(lower_case(q),lower_case(dns));})))",    (< " string dns" >),    (<" NO_PROTO_CACHE()" >),    }), "ip", }),    ({ "time=%d:%d-%d:%d",4,({    (< " mapping l = localtime(time(1))" >),    (< " int th = l->hour, tm = l->min" >),    // No need to NOCACHE() here, does not depend on client.    " if (((th >= %[0]d) && (tm >= %[1]d)) &&\n"    " ((th <= %[2]d) && (tm <= %[3]d)))",    }), "time", }),