/usr/share/polipo/www/doc/Internal-forbidden-list.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 | <html lang="en">
<head>
<title>Internal forbidden list - 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="Forbidden.html#Forbidden" title="Forbidden">
<link rel="prev" href="Forbidden.html#Forbidden" title="Forbidden">
<link rel="next" href="External-redirectors.html#External-redirectors" title="External redirectors">
<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="Internal-forbidden-list"></a>
<p>
Next: <a rel="next" accesskey="n" href="External-redirectors.html#External-redirectors">External redirectors</a>,
Previous: <a rel="previous" accesskey="p" href="Forbidden.html#Forbidden">Forbidden</a>,
Up: <a rel="up" accesskey="u" href="Forbidden.html#Forbidden">Forbidden</a>
<hr>
</div>
<h4 class="subsection">3.8.1 Internal forbidden list</h4>
<p><a name="index-forbidden-139"></a><a name="index-redirect-140"></a><a name="index-forbiddenFile-141"></a><a name="index-forbiddenUrl-142"></a><a name="index-forbiddenRedirectCode-143"></a>
The file pointed at by the variable <code>forbiddenFile</code> (defaults to
<samp><span class="file">~/.polipo-forbidden</span></samp> or <samp><span class="file">/etc/polipo/forbidden</span></samp>, whichever
exists) specifies the set of URLs that should never be fetched. If
<code>forbiddenFile</code> is a directory, it will be recursively searched
for files with forbidden URLs.
<p>Every line in a file listing forbidden URLs can either be a domain
name — a string that doesn't contain any of ‘<samp><span class="samp">/</span></samp>’, ‘<samp><span class="samp">*</span></samp>’ or
‘<samp><span class="samp">\</span></samp>’ —, or a POSIX extended regular expression. Blank lines are
ignored, as are those that start with a hash sign ‘<samp><span class="samp">#</span></samp>’.
<p>By default, whenever it attempts to fetch a forbidden URL, the browser
will receive a <em>403 forbidden</em> error from Polipo. Some users
prefer to have the browser display a different page or an image.
<p>If <code>forbiddenUrl</code> is not null, it should represent a URL to which
all forbidden URLs will be redirected. The kind of redirection used
is specified by <code>forbiddenRedirectCode</code>; if this is 302 (the
default) the redirection will be marked as temporary, if 301 it will
be a permanent one.
</body></html>
|