1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
5 >Privoxy Configuration</TITLE
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
10 TITLE="Privoxy 3.0.7 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
21 <LINK REL="STYLESHEET" TYPE="text/css" HREF="p_doc.css">
33 SUMMARY="Header navigation table"
42 >Privoxy 3.0.7 User Manual</TH
79 >6. Privoxy Configuration</A
85 > configuration is stored
86 in text files. These files can be edited with a text editor.
87 Many important aspects of <SPAN
91 also be controlled easily with a web browser.
99 >6.1. Controlling Privoxy with Your Web Browser</A
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
140 HREF="http://config.privoxy.org/show-status"
142 >View & change the current configuration</A
149 HREF="http://config.privoxy.org/show-version"
151 >View the source code version numbers</A
158 HREF="http://config.privoxy.org/show-request"
160 >View the request headers.</A
167 HREF="http://config.privoxy.org/show-url-info"
169 >Look up which actions apply to a URL and why</A
176 HREF="http://config.privoxy.org/toggle"
178 >Toggle Privoxy on or off</A
185 HREF="http://www.privoxy.org/ 3.0.7/user-manual/"
200 > This should be self-explanatory. Note the first item leads to an editor for the
202 HREF="actions-file.html"
204 >, which is where the ad, banner,
205 cookie, and URL blocking magic is configured as well as other advanced features of
209 >. This is an easy way to adjust various
213 > configuration. The actions
214 file, and other configuration files, are explained in detail below. </P
218 >"Toggle Privoxy On or Off"</SPAN
219 > is handy for sites that might
220 have problems with your current actions and filters. You can in fact use
221 it as a test to see whether it is <SPAN
225 causing the problem or not. <SPAN
229 to run as a proxy in this case, but all manipulation is disabled, i.e.
233 > acts like a normal forwarding proxy. There
235 HREF="appendix.html#BOOKMARKLETS"
238 that you can toggle <SPAN
241 > with one click from
244 > Note that several of the features described above are disabled by default
248 > 3.0.7 beta and later.
253 >configuration file</A
255 and in which cases it's safe to enable them again.</P
263 >6.2. Configuration Files Overview</A
266 > For Unix, *BSD and Linux, all configuration files are located in
270 > by default. For MS Windows, OS/2, and
271 AmigaOS these are all in the same directory as the
275 > executable. The name
276 and number of configuration files has changed from previous versions, and is
277 subject to change as development progresses.</P
279 > The installed defaults provide a reasonable starting point, though
280 some settings may be aggressive by some standards. For the time being, the
281 principle configuration files are:</P
290 >main configuration file</A
295 on Linux, Unix, BSD, OS/2, and AmigaOS and <TT
299 on Windows. This is a required file.
308 HREF="actions-file.html"
311 is used to define which <SPAN
314 > relating to banner-blocking, images, pop-ups,
315 content modification, cookie handling etc should be applied by default. It also defines many
316 exceptions (both positive and negative) from this default set of actions that enable
320 > to selectively eliminate the junk, and only the junk, on
321 as many websites as possible.
324 > Multiple actions files may be defined in <TT
328 are processed in the order they are defined. Local customizations and locally
329 preferred exceptions to the default policies as defined in
333 > (which you will most probably want
334 to define sooner or later) are probably best applied in
338 >, where you can preserve them across
350 There is also a web based editor that can be accessed from
352 HREF="http://config.privoxy.org/show-status"
354 >http://config.privoxy.org/show-status</A
357 HREF="http://p.p/show-status"
359 >http://p.p/show-status</A
361 various actions files.
368 >"Filter files"</SPAN
370 HREF="filter-file.html"
373 >) can be used to re-write the raw page content, including
374 viewable text as well as embedded HTML and JavaScript, and whatever else
375 lurks on any given web page. The filtering jobs are only pre-defined here;
376 whether to apply them or not is up to the actions files.
380 > includes various filters made
381 available for use by the developers. Some are much more intrusive than
382 others, and all should be used with caution. You may define additional
387 actions files. We suggest <TT
391 locally defined filters or customizations.
397 > The syntax of the configuration and filter files may change between different
398 Privoxy versions, unfortunately some enhancements cost backwards compatibility.
401 > All files use the <SPAN
407 > character to denote a
408 comment (the rest of the line will be ignored) and understand line continuation
409 through placing a backslash ("<TT
412 >") as the very last character
413 in a line. If the <TT
416 > is preceded by a backslash, it looses
417 its special function. Placing a <TT
420 > in front of an otherwise
421 valid configuration line to prevent it from being interpreted is called "commenting
422 out" that line. Blank lines are ignored.</P
424 > The actions files and filter files
425 can use Perl style <A
426 HREF="appendix.html#REGEX"
427 >regular expressions</A
429 maximum flexibility. </P
431 > After making any changes, there is no need to restart
435 > in order for the changes to take
439 > detects such changes
440 automatically. Note, however, that it may take one or two additional
441 requests for the change to take effect. When changing the listening address
449 must obviously be sent to the <SPAN
455 > listening address.</P
457 > While under development, the configuration content is subject to change.
458 The below documentation may not be accurate by the time you read this.
459 Also, what constitutes a <SPAN
462 > setting, may change, so
463 please check all your configuration files on important issues.</P
471 SUMMARY="Footer navigation table"
510 >Starting Privoxy</TD
520 >The Main Configuration File</TD