########################################################## # # Show-Status-CGI Output template for Privoxy. # # USING HTML TEMPLATES: # --------------------- # # Template files are written win plain HTML, with a few # additions: # # - Lines that start with a '#' character like this one # are ignored # # - Each item in the below list of exported symbols will # be replaced by dynamically generated text, if they # are enclosed in '@'-characters. E.g. The string @version@ # will be replaced by the version number of Privoxy. # # - One special application of this is to make whole blocks # of the HTML template disappear if the condition # is not given. Simply enclose the block between the two # strings @if-start and if--end@. The strings # should be placed in HTML comments (), so the # html structure won't be messed when the magic happens. # # USABLE SYMBOLS IN THIS TEMPLATE: # -------------------------------- # # my-ip-addr: # The IP-address that the client used to reach Privoxy # my-hostname: # The hostname associated with my-ip-addr # admin-address: # The email address of the Privoxy administrator, as configured # in the config file # default-cgi: # The URL for the "main menu" builtin CGI of Privoxy # menu: # List of
  • elements linking to the other available CGIs # version: # The Privoxy version number # code-status: # The Privoxy development status: "alpha", "beta", or "stable". # homepage: # The URL of the Privoxy project, which maintains this software. # # invocation: # The command line with which Privoxy was invoked # options: # The options read from the configfile, linked to their # explanations, plus warnings if parsing acl or forward # statements produced errors. # defines: # A HTML-formatted list of all conditional #defines used when # Privoxy was compiled # # # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS: # ------------------------------------------------------------------ # # unstable: # This is an alpha or beta Privoxy release # have-adminaddr-info: # An e-mail address for the local Privoxy administrator has # been specified and is available through the "admin-address" # symbol # have-proxy-info: # A URL for Privoxy's online documentation has been # specified and is available through the "proxy-info-url" # symbol # have-help-info: # If either have-proxy-info is true or have-adminaddr-info is # true, have-help-info is true. Used to conditionally include # a grey box for any and all help info. # statistics: # Privoxy was compiled with statistics support # have-stats: # There have been previous requests and statistics have # been collected. In this case, the following symbols # are available: # requests-received: # The number of requests received so far # requests-blocked: # The number of request blocked so far # percent-blocked: # The percentage of blocked requests # have-no-stats: # There haven't any statistics been collected yet # extended-statistics: # Privoxy was compiled with extended statistiscs support. # In this case the following symbols are available: # block-reason-statistics: # Table content of block reasons and how often they were used. # filter-statistics: # Table content of content filter statistics. # trust-support: # Privoxy was compiled with trust support # actions-filenames: # The path to the actions files. # re-filter-filenames: # The path to the re_filter files. # trust-filename: # The path to the trust file. Only available if # trust-support is set Privoxy@@my-hostname@: Proxy Status # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
    #include mod-title
    #include mod-unstable-warning

    The following files are in use:

    @actions-filenames@ @re-filter-filenames@
    Actions Files:
    Filter Files:
    Trust File:
    @trust-filename@ View

    The CGI editor is currently disabled, thus no edit buttons are shown.
    Please have a look at the enable-edit-actions documentation to learn how to enable it and what the risks are.

    Privoxy was invoked as follows:

    @invocation@

    The following options were given in the config file:

    @options@

    Blocking Statistics:

    @requests-blocked@ out of @requests-received@ requests have been blocked, which equals a block rate of @percent-blocked@%.

    Note that the statistics currently don't work properly for reused connections where only the last request gets counted. You may want to look into Privoxy-Log-Parser's --statistics option, which doesn't have this limitation. There haven't been any requests so far.

    Block Reason Statistics:

    @block-reason-statistics@
    Block reasonCount

    Content Filter Statistics:

    @filter-statistics@
    Filter nameExecutionsResponse bodies modifiedHits

    Conditional #defines:

    #define Enabled? Effects when enabled
    FEATURE_64_BIT_TIME_T @if-FEATURE_64_BIT_TIME_T-then@ Yes @else-not-FEATURE_64_BIT_TIME_T@ No @endif-FEATURE_64_BIT_TIME_T@ Dates before 1970 and after 2038 are (hopefully) supported.
    FEATURE_ACCEPT_FILTER @if-FEATURE_ACCEPT_FILTER-then@ Yes @else-not-FEATURE_ACCEPT_FILTER@ No @endif-FEATURE_ACCEPT_FILTER@ Support for FreeBSD's accf_http(9) which is also available on some other BSDs.
    FEATURE_ACL @if-FEATURE_ACL-then@ Yes @else-not-FEATURE_ACL@ No @endif-FEATURE_ACL@ Allows the use of an ACL to control access to Privoxy by IP address.
    FEATURE_BROTLI @if-FEATURE_BROTLI-then@ Yes @else-not-FEATURE_BROTLI@ No @endif-FEATURE_BROTLI@ Allows to decompress content with Brotli before filtering it. Requires external brotli library.
    FEATURE_CGI_EDIT_ACTIONS @if-FEATURE_CGI_EDIT_ACTIONS-then@ Yes @else-not-FEATURE_CGI_EDIT_ACTIONS@ No @endif-FEATURE_CGI_EDIT_ACTIONS@ Allows the use of the @if-FEATURE_CGI_EDIT_ACTIONS-then@@else-not-FEATURE_CGI_EDIT_ACTIONS@ @endif-FEATURE_CGI_EDIT_ACTIONS@web-based actions file editor@if-FEATURE_CGI_EDIT_ACTIONS-then@@else-not-FEATURE_CGI_EDIT_ACTIONS@@endif-FEATURE_CGI_EDIT_ACTIONS@.
    FEATURE_CLIENT_TAGS @if-FEATURE_CLIENT_TAGS-then@ Yes @else-not-FEATURE_CLIENT_TAGS@ No @endif-FEATURE_CLIENT_TAGS@ Allows clients to request to be tagged.
    FEATURE_COMPRESSION @if-FEATURE_COMPRESSION-then@ Yes @else-not-FEATURE_COMPRESSION@ No @endif-FEATURE_COMPRESSION@ Allows to compress buffered content before sending it to the client, assuming the client supports it.
    FEATURE_CONNECTION_KEEP_ALIVE @if-FEATURE_CONNECTION_KEEP_ALIVE-then@ Yes @else-not-FEATURE_CONNECTION_KEEP_ALIVE@ No @endif-FEATURE_CONNECTION_KEEP_ALIVE@ Allows to send multiple request through the same connections if the server supports it. Requires the keep-alive-timeout config directive to be set.
    FEATURE_CONNECTION_SHARING @if-FEATURE_CONNECTION_SHARING-then@ Yes @else-not-FEATURE_CONNECTION_SHARING@ No @endif-FEATURE_CONNECTION_SHARING@ Allows to share outgoing connections between incoming connections. Requires the connection-sharing config directive to be set.
    FEATURE_DYNAMIC_PCRE @if-FEATURE_DYNAMIC_PCRE-then@ Yes @else-not-FEATURE_DYNAMIC_PCRE@ No @endif-FEATURE_DYNAMIC_PCRE@ Dynamically link to the PCRE library. This is set automatically by ./configure if you do not have libpcre installed. Dynamically linking to an external libpcre is recommended as the one that is distributed with Privoxy itself is outdated and lacks various features and bug-fixes you may be interested in.
    FEATURE_EXTENDED_STATISTICS @if-FEATURE_EXTENDED_STATISTICS-then@ Yes @else-not-FEATURE_EXTENDED_STATISTICS@ No @endif-FEATURE_EXTENDED_STATISTICS@ Gather statistics for block reasons and filter executions.
    FEATURE_EXTERNAL_FILTERS @if-FEATURE_EXTERNAL_FILTERS-then@ Yes @else-not-FEATURE_EXTERNAL_FILTERS@ No @endif-FEATURE_EXTERNAL_FILTERS@ Allows to filter content with external scripts and programs written in any language the system Privoxy runs on supports.
    FEATURE_FAST_REDIRECTS @if-FEATURE_FAST_REDIRECTS-then@ Yes @else-not-FEATURE_FAST_REDIRECTS@ No @endif-FEATURE_FAST_REDIRECTS@ Allows the +fast-redirects action, to bypass redirect and logging scripts.
    FEATURE_FORCE_LOAD @if-FEATURE_FORCE_LOAD-then@ Yes @else-not-FEATURE_FORCE_LOAD@ No @endif-FEATURE_FORCE_LOAD@ Allows bypassing all blocking for a single page using the prefix @force-prefix@ provided blocks aren't enforced with the enforce-blocks directive.
    FEATURE_GRACEFUL_TERMINATION @if-FEATURE_GRACEFUL_TERMINATION-then@ Yes @else-not-FEATURE_GRACEFUL_TERMINATION@ No @endif-FEATURE_GRACEFUL_TERMINATION@ Allows to shutdown Privoxy through the web interface.
    FEATURE_HTTPS_INSPECTION @if-FEATURE_HTTPS_INSPECTION-then@ Yes @else-not-FEATURE_HTTPS_INSPECTION@ No @endif-FEATURE_HTTPS_INSPECTION@ Allows to intercept and filter HTTPS traffic. Experimental.
    FEATURE_IMAGE_BLOCKING @if-FEATURE_IMAGE_BLOCKING-then@ Yes @else-not-FEATURE_IMAGE_BLOCKING@ No @endif-FEATURE_IMAGE_BLOCKING@ Allows the +handle-as-image action, to send blocked images instead of HTML.
    FEATURE_IPV6_SUPPORT @if-FEATURE_IPV6_SUPPORT-then@ Yes @else-not-FEATURE_IPV6_SUPPORT@ No @endif-FEATURE_IPV6_SUPPORT@ Allows IPv6 addresses in incoming requests, when resolving domains to IP addresses and in the configuration files.
    FEATURE_NO_GIFS @if-FEATURE_NO_GIFS-then@ Yes @else-not-FEATURE_NO_GIFS@ No @endif-FEATURE_NO_GIFS@ Use PNG instead of GIF for the built-in images.
    FEATURE_PCRE_HOST_PATTERNS @if-FEATURE_PCRE_HOST_PATTERNS-then@ Yes @else-not-FEATURE_PCRE_HOST_PATTERNS@ No @endif-FEATURE_PCRE_HOST_PATTERNS@ Allow to use extended host patterns and vanilla host patterns at the same time by prefixing extended host patterns with "PCRE-HOST-PATTERN:".
    FEATURE_PTHREAD @if-FEATURE_PTHREAD-then@ Yes @else-not-FEATURE_PTHREAD@ No @endif-FEATURE_PTHREAD@ Use POSIX threads rather than native threads
    FEATURE_STATISTICS @if-FEATURE_STATISTICS-then@ Yes @else-not-FEATURE_STATISTICS@ No @endif-FEATURE_STATISTICS@ Enables the statistics function.
    FEATURE_STRPTIME_SANITY_CHECKS @if-FEATURE_STRPTIME_SANITY_CHECKS-then@ Yes @else-not-FEATURE_STRPTIME_SANITY_CHECKS@ No @endif-FEATURE_STRPTIME_SANITY_CHECKS@ Try to work around broken strptime() implementations.
    FEATURE_TOGGLE @if-FEATURE_TOGGLE-then@ Yes @else-not-FEATURE_TOGGLE@ No @endif-FEATURE_TOGGLE@ Allow Privoxy to be disabled so it is just a normal non-blocking non-filtering proxy.
    FEATURE_TRUST @if-FEATURE_TRUST-then@ Yes @else-not-FEATURE_TRUST@ No @endif-FEATURE_TRUST@ Allows the use of trust files.
    FEATURE_ZLIB @if-FEATURE_ZLIB-then@ Yes @else-not-FEATURE_ZLIB@ No @endif-FEATURE_ZLIB@ Allows to decompress gzip and zlib compressed documents for filtering. Requires external zlib library.

    More Privoxy:

    #include mod-local-help
    #include mod-support-and-service