1 ##########################################################
3 # Show-Status-CGI Output template for Privoxy.
5 # USING HTML TEMPLATES:
6 # ---------------------
8 # Template files are written win plain HTML, with a few
11 # - Lines that start with a '#' character like this one
14 # - Each item in the below list of exported symbols will
15 # be replaced by dynamically generated text, if they
16 # are enclosed in '@'-characters. E.g. The string @version@
17 # will be replaced by the version number of Privoxy.
19 # - One special application of this is to make whole blocks
20 # of the HTML template disappear if the condition <name>
21 # is not given. Simply enclose the block between the two
22 # strings @if-<name>start and if-<name>-end@. The strings
23 # should be placed in HTML comments (<!-- -->), so the
24 # html structure won't be messed when the magic happens.
26 # USABLE SYMBOLS IN THIS TEMPLATE:
27 # --------------------------------
30 # The IP-address that the client used to reach Privoxy
32 # The hostname associated with my-ip-addr
34 # The email address of the Privoxy administrator, as configured
37 # The URL for the "main menu" builtin CGI of Privoxy
39 # List of <li> elements linking to the other available CGIs
41 # The Privoxy version number
43 # The Privoxy development status: "alpha", "beta", or "stable".
45 # The URL of the SourceForge ijbswa project, who maintains this
49 # The URL to a script that will redirect to the Privoxy
50 # documentation for a given item
52 # The command line with which Privoxy was invoked
54 # The options read from the configfile, linked to their
55 # explanations, plus warnings if parsing acl or forward
56 # statements produced errors.
58 # A HTML-formatted list of the individual source file cvs versions
60 # A HTML-formatted list of all conditional #defines used when
61 # Privoxy was compiled
64 # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
65 # ------------------------------------------------------------------
68 # This is an alpha or beta Privoxy release
69 # have-adminaddr-info:
70 # An e-mail address for the local Privoxy adminstrator has
71 # been specified and is available through the "admin-address"
74 # A URL for Privoxy's online documentation has been
75 # specified and is available through the "proxy-info-url"
78 # If either have-proxy-info is true or have-adminaddr-info is
79 # true, have-help-info is true. Used to conditionally include
80 # a grey box for any and all help info.
82 # Privoxy was compiled with statistics support
84 # There have been previous requests and statistics have
85 # been collected. In this case, the following symbols
88 # The number of requests received so far
90 # The number of request blocked so far
92 # The percentage of blocked requests
94 # There haven't any statistics been collected yet
96 # Privoxy was compiled with pcrs support
98 # Privoxy was compiled with trust support
100 # The path to the actions files.
101 # re-filter-filenames:
102 # The path to the re_filter files. Only available if
103 # pcrs-support is set
105 # The path to the trust file. Only available if
106 # trust-support is set
107 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
111 <title>Privoxy@@my-hostname@: Proxy Status</title>
112 <meta http-equiv="Content-Style-Type" content="text/css">
113 <meta http-equiv="Content-Script-Type" content="text/javascript">
114 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
115 <meta name="robots" content="noindex,nofollow">
116 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
121 <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
130 <!-- @if-unstable-start -->
131 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
135 #include mod-unstable-warning
139 <!-- if-unstable-end@ -->
143 <h2>The following files are in use:</h2>
144 <table summary="Action, filter and trust files in use." class="transparent">
146 <th colspan="2"><a href="@user-manual@@actions-help-prefix@ACTIONS-FILE">Actions Files:</a></th>
150 <th colspan="2"><a href="@user-manual@filter-file.html">Filter Files:</a></th>
152 @re-filter-filenames@
153 <!-- @if-trust-support-start -->
155 <th colspan="2"><a href="@user-manual@config.html#TRUSTFILE">Trust File:</a></th>
162 <!-- @if-have-trustfile-start -->
163 <a href="show-status?file=trust">View</a>
164 <!-- if-have-trustfile-end@ -->
167 <!-- if-trust-support-end@ -->
174 <h2>Privoxy was <a href="@user-manual@startup.html#CMDOPTIONS">invoked</a> as follows:</h2>
181 <h2>The following options were given in the <a href="@user-manual@config.html">config file</a>:</h2>
186 <!-- @if-statistics-start -->
189 <h2>Blocking Statistics:</h2>
191 <!-- @if-have-stats-start -->
192 @requests-blocked@ out of @requests-received@ requests have been blocked,
193 which equals a block rate of @percent-blocked@%.
194 <!-- if-have-stats-end@ -->
195 <!-- @if-have-no-stats-start -->
196 There haven't been any requests so far.
197 <!-- if-have-no-stats-end@ -->
201 <!-- if-statistics-end@ -->
205 <h2>Conditional #defines:</h2>
206 <table summary="The state of some ./configure options and what they do." border="1" style="margin-left: 10px">
208 <th>#define</th> <th>Enabled?</th> <th>Effects when enabled</th>
211 <td><code>FEATURE_ACL</code></td>
212 <td>@if-FEATURE_ACL-then@ Yes @else-not-FEATURE_ACL@ No @endif-FEATURE_ACL@</td>
213 <td>Allows the use of an ACL to control access to Privoxy by IP address.</td>
216 <td><code>FEATURE_CGI_EDIT_ACTIONS</code></td>
217 <td>@if-FEATURE_CGI_EDIT_ACTIONS-then@ Yes @else-not-FEATURE_CGI_EDIT_ACTIONS@ No @endif-FEATURE_CGI_EDIT_ACTIONS@</td>
218 <td>Allows the use of the @if-FEATURE_CGI_EDIT_ACTIONS-then@<a
219 href="@default-cgi@edit-actions">@else-not-FEATURE_CGI_EDIT_ACTIONS@
220 @endif-FEATURE_CGI_EDIT_ACTIONS@web-based actions file
221 editor@if-FEATURE_CGI_EDIT_ACTIONS-then@</a>@else-not-FEATURE_CGI_EDIT_ACTIONS@@endif-FEATURE_CGI_EDIT_ACTIONS@.</td>
224 <td><code>FEATURE_COOKIE_JAR</code></td>
225 <td>@if-FEATURE_COOKIE_JAR-then@ Yes @else-not-FEATURE_COOKIE_JAR@ No @endif-FEATURE_COOKIE_JAR@</td>
226 <td>Allows the use of a <q>cookie jar</q> file to capture cookies.</td>
229 <td><code>FEATURE_FAST_REDIRECTS</code></td>
230 <td>@if-FEATURE_FAST_REDIRECTS-then@ Yes @else-not-FEATURE_FAST_REDIRECTS@ No @endif-FEATURE_FAST_REDIRECTS@</td>
231 <td>Allows the +fast-redirects action, to bypass redirect and logging scripts.</td>
234 <td><code>FEATURE_FORCE_LOAD</code></td>
235 <td>@if-FEATURE_FORCE_LOAD-then@ Yes @else-not-FEATURE_FORCE_LOAD@ No @endif-FEATURE_FORCE_LOAD@</td>
236 <td>Allows bypassing all filtering for a single page using the prefix
237 <q><code>@FORCE_PREFIX@</code></q>.</td>
240 <td><code>FEATURE_GRACEFUL_TERMINATION</code></td>
241 <td>@if-FEATURE_GRACEFUL_TERMINATION-then@ Yes @else-not-FEATURE_GRACEFUL_TERMINATION@ No @endif-FEATURE_GRACEFUL_TERMINATION@</td>
242 <td>Allows to shutdown Privoxy through the web interface.</td>
245 <td><code>FEATURE_IMAGE_BLOCKING</code></td>
246 <td>@if-FEATURE_IMAGE_BLOCKING-then@ Yes @else-not-FEATURE_IMAGE_BLOCKING@ No @endif-FEATURE_IMAGE_BLOCKING@</td>
247 <td>Allows the +image action, to send <q>blocked</q> images instead of HTML.</td>
250 <td><code>FEATURE_IMAGE_DETECT_MSIE</code></td>
251 <td>@if-FEATURE_IMAGE_DETECT_MSIE-then@ Yes @else-not-FEATURE_IMAGE_DETECT_MSIE@ No @endif-FEATURE_IMAGE_DETECT_MSIE@</td>
252 <td>Enables automatic detection of image and HTML requests from
253 Microsoft Internet Explorer users, overriding the setting of
254 +image in the actions file.</td>
257 <td><code>FEATURE_KILL_POPUPS</code></td>
258 <td>@if-FEATURE_KILL_POPUPS-then@ Yes @else-not-FEATURE_KILL_POPUPS@ No @endif-FEATURE_KILL_POPUPS@</td>
259 <td>Allows the +no-popups action, to block JavaScript popups.</td>
262 <td><code>FEATURE_NO_GIFS</code></td>
263 <td>@if-FEATURE_NO_GIFS-then@ Yes @else-not-FEATURE_NO_GIFS@ No @endif-FEATURE_NO_GIFS@</td>
264 <td>Use PNG instead of GIF for the built-in images.</td>
267 <td><code>FEATURE_PTHREAD</code></td>
268 <td>@if-FEATURE_PTHREAD-then@ Yes @else-not-FEATURE_PTHREAD@ No @endif-FEATURE_PTHREAD@</td>
269 <td>Use POSIX threads rather than native threads</td>
272 <td><code>FEATURE_STATISTICS</code></td>
273 <td>@if-FEATURE_STATISTICS-then@ Yes @else-not-FEATURE_STATISTICS@ No @endif-FEATURE_STATISTICS@</td>
274 <td>Enables the statistics function.</td>
277 <td><code>FEATURE_TOGGLE</code></td>
278 <td>@if-FEATURE_TOGGLE-then@ Yes @else-not-FEATURE_TOGGLE@ No @endif-FEATURE_TOGGLE@</td>
279 <td>Allow Privoxy to be <q>disabled</q> so it is just a normal non-blocking non-anonymizing proxy.</td>
282 <td><code>FEATURE_TRUST</code></td>
283 <td>@if-FEATURE_TRUST-then@ Yes @else-not-FEATURE_TRUST@ No @endif-FEATURE_TRUST@</td>
284 <td>Allows the use of trust files.</td>
287 <td><code>STATIC_PCRE</code></td>
288 <td>@if-STATIC_PCRE-then@ Yes @else-not-STATIC_PCRE@ No @endif-STATIC_PCRE@</td>
289 <td>Use the supplied statically-linked PCRE library. This is set automatically
290 by <code>./configure</code> if you do not have the libpcre installed.</td>
293 <td><code>STATIC_PCRS</code></td>
294 <td>@if-STATIC_PCRS-then@ Yes @else-not-STATIC_PCRS@ No @endif-STATIC_PCRS@</td>
295 <td>Use the supplied statically-linked PCRS library. This is set automatically
296 by <code>./configure</code> if you do not have the libpcrs installed.</td>
304 <h2>More Privoxy:</h2>
305 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
312 #include mod-support-and-service
317 <!-- @if-have-help-info-start -->
321 #include mod-local-help
325 <!-- if-have-help-info-end@ -->