4 >Privoxy Configuration</TITLE
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
10 TITLE="Privoxy 3.1.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.1.1 User Manual</TH
76 NAME="CONFIGURATION">6. <SPAN
84 > configuration is stored
85 in text files. These files can be edited with a text editor.
86 Many important aspects of <SPAN
90 also be controlled easily with a web browser.
97 NAME="AEN582">6.1. Controlling <SPAN
100 > with Your Web Browser</H2
105 >'s user interface can be reached through the special
107 HREF="http://config.privoxy.org/"
109 >http://config.privoxy.org/</A
116 which is a built-in page and works without Internet access.
117 You will see the following section: </P
129 NAME="AEN591"> Privoxy Menu</H2
138 HREF="http://config.privoxy.org/show-status"
140 >View & change the current configuration</A
147 HREF="http://config.privoxy.org/show-version"
149 >View the source code version numbers</A
156 HREF="http://config.privoxy.org/show-request"
158 >View the request headers.</A
165 HREF="http://config.privoxy.org/show-url-info"
167 >Look up which actions apply to a URL and why</A
174 HREF="http://config.privoxy.org/toggle"
176 >Toggle Privoxy on or off</A
183 HREF="http://www.privoxy.org/3.1.1/user-manual/"
198 > This should be self-explanatory. Note the first item leads to an editor for the
200 HREF="actions-file.html"
202 >, which is where the ad, banner,
203 cookie, and URL blocking magic is configured as well as other advanced features of
207 >. This is an easy way to adjust various
211 > configuration. The actions
212 file, and other configuration files, are explained in detail below. </P
216 >"Toggle Privoxy On or Off"</SPAN
217 > is handy for sites that might
218 have problems with your current actions and filters. You can in fact use
219 it as a test to see whether it is <SPAN
223 causing the problem or not. <SPAN
227 to run as a proxy in this case, but all manipulation is disabled, i.e.
231 > acts like a normal forwarding proxy. There
233 HREF="appendix.html#BOOKMARKLETS"
236 that you can toggle <SPAN
239 > with one click from
247 NAME="CONFOVERVIEW">6.2. Configuration Files Overview</H2
249 > For Unix, *BSD and Linux, all configuration files are located in
253 > by default. For MS Windows, OS/2, and
254 AmigaOS these are all in the same directory as the
258 > executable. The name
259 and number of configuration files has changed from previous versions, and is
260 subject to change as development progresses.</P
262 > The installed defaults provide a reasonable starting point, though
263 some settings may be aggressive by some standards. For the time being, the
264 principle configuration files are:</P
273 >main configuration file</A
278 on Linux, Unix, BSD, OS/2, and AmigaOS and <TT
282 on Windows. This is a required file.
291 HREF="actions-file.html"
294 is used to define which <SPAN
297 > relating to banner-blocking, images, pop-ups,
298 content modification, cookie handling etc should be applied by default. It also defines many
299 exceptions (both positive and negative) from this default set of actions that enable
303 > to selectively eliminate the junk, and only the junk, on
304 as many websites as possible.
307 > Multiple actions files may be defined in <TT
311 are processed in the order they are defined. Local customizations and locally
312 preferred exceptions to the default policies as defined in
316 > (which you will most probably want
317 to define sooner or later) are probably best applied in
321 >, where you can preserve them across
333 There is also a web based editor that can be accessed from
335 HREF="http://config.privoxy.org/show-status"
337 >http://config.privoxy.org/show-status</A
340 HREF="http://p.p/show-status"
342 >http://p.p/show-status</A
344 various actions files.
353 HREF="filter-file.html"
356 >) can be used to re-write the raw page content, including
357 viewable text as well as embedded HTML and JavaScript, and whatever else
358 lurks on any given web page. The filtering jobs are only pre-defined here;
359 whether to apply them or not is up to the actions files.
365 > All files use the <SPAN
371 > character to denote a
372 comment (the rest of the line will be ignored) and understand line continuation
373 through placing a backslash ("<TT
376 >") as the very last character
377 in a line. If the <TT
380 > is preceded by a backslash, it looses
381 its special function. Placing a <TT
384 > in front of an otherwise
385 valid configuration line to prevent it from being interpreted is called "commenting
388 > The actions files and <TT
392 can use Perl style <A
393 HREF="appendix.html#REGEX"
394 >regular expressions</A
396 maximum flexibility. </P
398 > After making any changes, there is no need to restart
402 > in order for the changes to take
406 > detects such changes
407 automatically. Note, however, that it may take one or two additional
408 requests for the change to take effect. When changing the listening address
416 must obviously be sent to the <SPAN
422 > listening address.</P
424 > While under development, the configuration content is subject to change.
425 The below documentation may not be accurate by the time you read this.
426 Also, what constitutes a <SPAN
429 > setting, may change, so
430 please check all your configuration files on important issues.</P
438 SUMMARY="Footer navigation table"
490 >The Main Configuration File</TD