1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5 >Privoxy Configuration</TITLE
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
10 TITLE="Privoxy 3.0.3 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.3 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.
100 >6.1. Controlling <SPAN
103 > with Your Web Browser</A
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.3/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
254 >6.2. Configuration Files Overview</A
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. Only one filter
372 > All files use the <SPAN
378 > character to denote a
379 comment (the rest of the line will be ignored) and understand line continuation
380 through placing a backslash ("<VAR
383 >") as the very last character
384 in a line. If the <VAR
387 > is preceded by a backslash, it looses
388 its special function. Placing a <VAR
391 > in front of an otherwise
392 valid configuration line to prevent it from being interpreted is called "commenting
395 > The actions files and <TT
399 can use Perl style <A
400 HREF="appendix.html#REGEX"
401 >regular expressions</A
403 maximum flexibility. </P
405 > After making any changes, there is no need to restart
409 > in order for the changes to take
413 > detects such changes
414 automatically. Note, however, that it may take one or two additional
415 requests for the change to take effect. When changing the listening address
423 must obviously be sent to the <SPAN
429 > listening address.</P
437 SUMMARY="Footer navigation table"
489 >The Main Configuration File</TD