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.662 2009/01/07 13:44:56 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.663 2009/01/07 14:00:26 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:4401:    // 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", #"\   # The default format follows the Combined Log Format, a slight   # extension of the Common Log Format - see   # - *: $ip-number - $user [$cern-date] \"$method $full-resource $protocol\" $response $length \"$referer\" \"$user-agent-raw\" + *: $ip-number - $user [$cern-date] \"$method $full-resource $protocol\" $response $length \"$referrer\" \"$user-agent-raw\"      # 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 + #*: $ip-number - $user [$cern-date] \"$method $full-resource $protocol\" $response $length \"$referrer\" \"$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: - - [$cern-date] \"$action $ac-userid:$workarea:$resource sbfs\" - - $commit-type   #sbfs/*: - - [$cern-date] \"$action $ac-userid:$workarea:$resource sbfs\" - -   
Roxen.git/server/base_server/configuration.pike:4568:    <td>The length of the data section of the reply.</td></tr>   <tr><td>$bin-length</td>    <td>Same, but as a 32 bit integer in network byte order.</td></tr>   <tr><td>$request-time</td>    <td>The time the request took (seconds). Note that this measures    real time, not virtual process time. I.e. if there are other    processes using the CPU then this will not accurately show the    time that the Roxen server process spent.</td></tr>   <tr><td>$etag</td>    <td>The entity tag (aka ETag) header of the result.</td></tr> - <tr><td>$referer</td> + <tr><td>$referrer</td>    <td>The header 'referer' from the request, or '-'.</td></tr> -  + <tr><td>$referer</td> +  <td>Same as $referrer. Common misspelling kept for +  compatibility.</td></tr>   <tr><td>$user-agent</td>    <td>The header 'User-Agent' from the request, or '-'.</td></tr>   <tr><td>$user-agent-raw</td>    <td>Same, but spaces in the name are not encoded to %20.</td></tr>   <tr><td>$user</td>    <td>The name of the user, if any is given using the HTTP basic    authentication method.</td></tr>   <tr><td>$user-id</td>    <td>A unique user ID, if cookies are supported, by the client,    otherwise '0'.</td></tr>