/usr/share/polipo/www/doc/Configuring-Polipo.html is in polipo 1.0.4.1-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | <html lang="en">
<head>
<title>Configuring Polipo - The Polipo Manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="The Polipo Manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Polipo-Invocation.html#Polipo-Invocation" title="Polipo Invocation">
<link rel="prev" href="Polipo-Invocation.html#Polipo-Invocation" title="Polipo Invocation">
<link rel="next" href="Daemon.html#Daemon" title="Daemon">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 2003 -- 2006 by Juliusz Chroboczek.-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="Configuring-Polipo"></a>
<p>
Next: <a rel="next" accesskey="n" href="Daemon.html#Daemon">Daemon</a>,
Previous: <a rel="previous" accesskey="p" href="Polipo-Invocation.html#Polipo-Invocation">Polipo Invocation</a>,
Up: <a rel="up" accesskey="u" href="Polipo-Invocation.html#Polipo-Invocation">Polipo Invocation</a>
<hr>
</div>
<h4 class="subsection">2.1.1 Configuration</h4>
<p><a name="index-runtime-configuration-32"></a><a name="index-variable-33"></a><a name="index-configuration-variable-34"></a><a name="index-configuration-file-35"></a>
There is a number of variables that you can tweak in order to
configure Polipo, and they should all be described in this manual
(see <a href="Variable-index.html#Variable-index">Variable index</a>). You can display the complete, most
up-to-date list of configuration variables by using the <samp><span class="option">-v</span></samp>
command line flag or by accessing the “current configuration” page
of Polipo's web interface (see <a href="Web-interface.html#Web-interface">Web interface</a>). Configuration
variables can be set either on the command line or else in the
configuration file given by the <samp><span class="option">-c</span></samp> command-line flag.
<p>Configuration variables are typed, and <samp><span class="option">-v</span></samp> will display their
types. The type can be of one of the following:
<ul>
<li>‘<samp><span class="samp">integer</span></samp>’ or ‘<samp><span class="samp">float</span></samp>’: a numeric value;
<li>‘<samp><span class="samp">boolean</span></samp>’: a truth value, one of ‘<samp><span class="samp">true</span></samp>’ or ‘<samp><span class="samp">false</span></samp>’;
<li>‘<samp><span class="samp">tristate</span></samp>’: one of ‘<samp><span class="samp">false</span></samp>’, ‘<samp><span class="samp">maybe</span></samp>’ or ‘<samp><span class="samp">true</span></samp>’;
<li>‘<samp><span class="samp">4-state</span></samp>’, one of ‘<samp><span class="samp">false</span></samp>’, ‘<samp><span class="samp">reluctantly</span></samp>’,
‘<samp><span class="samp">happily</span></samp>’ or ‘<samp><span class="samp">true</span></samp>’;
<li>‘<samp><span class="samp">5-state</span></samp>’, one of ‘<samp><span class="samp">false</span></samp>’, ‘<samp><span class="samp">reluctantly</span></samp>’, ‘<samp><span class="samp">maybe</span></samp>’,
‘<samp><span class="samp">happily</span></samp>’ or ‘<samp><span class="samp">true</span></samp>’;
<li>‘<samp><span class="samp">atom</span></samp>’, a string written within double quotes ‘<samp><span class="samp">"</span></samp>’);
<li>‘<samp><span class="samp">list</span></samp>’, a comma-separated list of strings;
<li>‘<samp><span class="samp">intlist</span></samp>’, a comma-separated list of integers and ranges of
integers (of the form `<var>n</var>–<var>m</var>').
</ul>
<p>The configuration file has a very simple syntax. All blank lines are
ignored, as are lines starting with a hash sign ‘<samp><span class="samp">#</span></samp>’. Other lines
must be of the form
<pre class="example"> <var>var</var> = <var>val</var>
</pre>
<p>where <var>var</var> is a variable to set and <var>val</var> is the value to set
it to.
<p>It is possible to change the configuration of a running polipo by
using the local configuration interface (see <a href="Web-interface.html#Web-interface">Web interface</a>).
</body></html>
|