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 - 2009, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.689 2009/12/22 14:11:05 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.690 2010/02/25 13:49:18 jonasw 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:5095:       http_compr_exact_mimes = mkmapping(exact_mimes,    ({ 1 }) * sizeof(exact_mimes));    http_compr_main_mimes = mkmapping(main_mimes,    ({ 1 }) * sizeof(main_mimes));    };    defvar("http_compression_mimetypes",    ({ "text/*",    "application/javascript",    "application/x-javascript", +  "application/json",    "application/xhtml+xml" }),    DLOCALE(1002, "Compression: Enabled MIME-types"),    TYPE_STRING_LIST,    DLOCALE(1003, "The MIME types for which to enable compression. The "    "forms \"maintype/*\" and \"maintype/subtype\" are allowed, "    "but globbing on the general form (such as "    "\"maintype/*subtype\") is not allowed and such globs will "    "be silently ignored."))    ->add_changed_callback(lambda(object v)    { set_mimetypes(v->query());