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 - 2001, 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.844 2003/11/05 11:10:30 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.845 2003/11/05 13:16:37 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:5104:    continue;    }    else {    m->report_notice( LOC_M( 60,"Syntax error in security patterns: "    "Expected 'allow' or 'deny'\n" ));    continue;    }    int shorted = sscanf( line, "%s return", line );       -  // Notes on the state variable: +  // Notes on the variables @[state] and @[short_fail]:    // -  // It has several potential entries (currently "ip", "user", "group", -  // "time", "date", "referer", "language" and "luck"). +  // The variable @[state] has several potential entries +  // (currently "ip", "user", "group", "time", "date", +  // "referer", "language" and "luck").    // An entry exists in the mapping if a corresponding accept directive    // has been executed. -  // @mixed +  // +  // The variable @[short_fail] contains a non-zero entry if +  // a potentially acceptable accept with return has been +  // encountered. +  // +  // Valid values in @[state] and @[short_fail] are: +  // @int    // @value 0    // Successful match.    // @value 1    // Plain failure.    // @value 2    // Fail with authenticate. -  // @endmixed +  // @endint    //    // Shorted directives will only be regarded if all unshorted directives    // encountered at that point have succeeded.    // If the checking ends with an ok return unshorted directives of    // the same class will be disregarded as well as any potential    // short directives.    // If there are unshorted directives of type 2 and none of type 1,    // an auth request will be sent.    // If there are unshorted directives, and all of them have been    // satisfied an OK will be sent.