Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.661 2008/12/17 09:59:16 jonasw Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.662 2009/01/07 13:44:56 mast 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)      // Tell Pike.count_memory this is global.   constant pike_cycle_depth = 0;
Roxen.git/server/base_server/configuration.pike:4398:    // a local variable if the compatibility level is to be tested    // frequently. It's perfectly all right to do that in e.g. the    // module start function, since the documentation explicitly states    // that a reload of all modules is necessary to propagate a change    // of the setting.       defvar("Log", 1, DLOCALE(28, "Logging: Enabled"),    TYPE_FLAG, DLOCALE(29, "Log requests"));       defvar("LogFormat", #"\ - 404: $host $referer $user [$cern_date] \"$method $resource $protocol\" 404 - - 500: $host - ERROR [$cern_date] \"$method $resource $protocol\" 500 - - *: $host - $user [$cern_date] \"$method $resource $protocol\" $response $length + # The default format follows the Combined Log Format, a slight + # extension of the Common Log Format - see + # http://httpd.apache.org/docs/1.3/logs.html#combined + *: $ip-number - $user [$cern-date] \"$method $full-resource $protocol\" $response $length \"$referer\" \"$user-agent-raw\"    - # The following lines are extensions of the above that adds useful cache - # info. If you enable these you have to comment out or delete those above. - #404: $host $referer $user [$cern_date] \"$method $resource $protocol\" 404 - $cache-status $eval-status $request-time - #500: $host - ERROR [$cern_date] \"$method $resource $protocol\" 500 - $cache-status $eval-status $request-time - #*: $host - $user [$cern_date] \"$method $resource $protocol\" $response $length $cache-status $eval-status $request-time + # The following line is an extension of the above that adds useful + # cache info. If you enable this you have to comment out or delete the + # line above. + #*: $ip-number - $user [$cern-date] \"$method $full-resource $protocol\" $response $length \"$referer\" \"$user-agent-raw\" $cache-status $eval-status $request-time      # You might want to enable some of the following lines to get logging   # of various internal activities in the server. The formats below are   # somewhat similar to the Common Log Format standard, but they might   # still break external log analysis tools.      # To log commits and similar filesystem changes in a sitebuilder file system. - #sbfs/commit: 0.0.0.0 - - [$cern_date] \"$action $ac-userid:$workarea:$resource sbfs\" - - $commit-type - #sbfs/*: 0.0.0.0 - - [$cern_date] \"$action $ac-userid:$workarea:$resource sbfs\" - - + #sbfs/commit: 0.0.0.0 - - [$cern-date] \"$action $ac-userid:$workarea:$resource sbfs\" - - $commit-type + #sbfs/*: 0.0.0.0 - - [$cern-date] \"$action $ac-userid:$workarea:$resource sbfs\" - -      # Catch-all for internal log messages. - #*/*: 0.0.0.0 - - [$cern_date] \"$action $resource $facility\" - -", + #*/*: 0.0.0.0 - - [$cern-date] \"$action $resource $facility\" - -",    DLOCALE(26, "Logging: Format"),    TYPE_TEXT_FIELD|VAR_MORE,    // FIXME: Undocumented: $cs-uri-stem, $cs-uri-query,    // $real-resource, $real-full-resource, $real-cs-uri-stem,       /* Removed doc for would-be $request-vtime.   <tr><td>$request-vtime</td>    <td>The virtual time the request took (seconds). This measures the    virtual time spent by the Roxen process. Note however that the    accuracy is comparably low on many OS:es, typically much lower