4 >Privoxy Configuration</TITLE
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
10 TITLE="Privoxy 3.0.1 User Manual"
11 HREF="index.html"><LINK
13 TITLE="Starting Privoxy"
14 HREF="startup.html"><LINK
16 TITLE="The Main Configuration File"
17 HREF="config.html"><LINK
20 HREF="../p_doc.css"></HEAD
31 SUMMARY="Header navigation table"
40 >Privoxy 3.0.1 User Manual</TH
86 > configuration is stored
87 in text files. These files can be edited with a text editor.
88 Many important aspects of <SPAN
92 also be controlled easily with a web browser.
101 >6.1. Controlling <SPAN
104 > with Your Web Browser</H2
109 >'s user interface can be reached through the special
111 HREF="http://config.privoxy.org/"
113 >http://config.privoxy.org/</A
120 which is a built-in page and works without Internet access.
121 You will see the following section: </P
144 HREF="http://config.privoxy.org/show-status"
146 >View & change the current configuration</A
153 HREF="http://config.privoxy.org/show-version"
155 >View the source code version numbers</A
162 HREF="http://config.privoxy.org/show-request"
164 >View the request headers.</A
171 HREF="http://config.privoxy.org/show-url-info"
173 >Look up which actions apply to a URL and why</A
180 HREF="http://config.privoxy.org/toggle"
182 >Toggle Privoxy on or off</A
189 HREF="http://www.privoxy.org/3.0.1/user-manual/"
204 > This should be self-explanatory. Note the first item leads to an editor for the
206 HREF="actions-file.html"
208 >, which is where the ad, banner,
209 cookie, and URL blocking magic is configured as well as other advanced features of
213 >. This is an easy way to adjust various
217 > configuration. The actions
218 file, and other configuration files, are explained in detail below. </P
222 >"Toggle Privoxy On or Off"</SPAN
223 > is handy for sites that might
224 have problems with your current actions and filters. You can in fact use
225 it as a test to see whether it is <SPAN
229 causing the problem or not. <SPAN
233 to run as a proxy in this case, but all manipulation is disabled, i.e.
237 > acts like a normal forwarding proxy. There
239 HREF="appendix.html#BOOKMARKLETS"
242 that you can toggle <SPAN
245 > with one click from
255 >6.2. Configuration Files Overview</H2
257 > For Unix, *BSD and Linux, all configuration files are located in
261 > by default. For MS Windows, OS/2, and
262 AmigaOS these are all in the same directory as the
268 > The installed defaults provide a reasonable starting point, though
269 some settings may be aggressive by some standards. For the time being, the
270 principle configuration files are:</P
279 >main configuration file</A
284 on Linux, Unix, BSD, OS/2, and AmigaOS and <TT
288 on Windows. This is a required file.
297 HREF="actions-file.html"
300 is used to define which <SPAN
303 > relating to banner-blocking, images, pop-ups,
304 content modification, cookie handling etc should be applied by default. It also defines many
305 exceptions (both positive and negative) from this default set of actions that enable
309 > to selectively eliminate the junk, and only the junk, on
310 as many websites as possible.
313 > Multiple actions files may be defined in <TT
317 are processed in the order they are defined. Local customizations and locally
318 preferred exceptions to the default policies as defined in
322 > (which you will most probably want
323 to define sooner or later) are probably best applied in
327 >, where you can preserve them across
339 There is also a web based editor that can be accessed from
341 HREF="http://config.privoxy.org/show-status"
343 >http://config.privoxy.org/show-status</A
346 HREF="http://p.p/show-status"
348 >http://p.p/show-status</A
350 various actions files.
359 HREF="filter-file.html"
362 >) can be used to re-write the raw page content, including
363 viewable text as well as embedded HTML and JavaScript, and whatever else
364 lurks on any given web page. The filtering jobs are only pre-defined here;
365 whether to apply them or not is up to the actions files.
371 > All files use the <SPAN
377 > character to denote a
378 comment (the rest of the line will be ignored) and understand line continuation
379 through placing a backslash ("<TT
382 >") as the very last character
383 in a line. If the <TT
386 > is preceded by a backslash, it looses
387 its special function. Placing a <TT
390 > in front of an otherwise
391 valid configuration line to prevent it from being interpreted is called "commenting
394 > The actions files and <TT
398 can use Perl style <A
399 HREF="appendix.html#REGEX"
400 >regular expressions</A
402 maximum flexibility. </P
404 > After making any changes, there is no need to restart
408 > in order for the changes to take
412 > detects such changes
413 automatically. Note, however, that it may take one or two additional
414 requests for the change to take effect. When changing the listening address
422 must obviously be sent to the <SPAN
428 > listening address.</P
436 SUMMARY="Footer navigation table"
488 >The Main Configuration File</TD