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
250 >6.2. Configuration Files Overview</A
253 > For Unix, *BSD and Linux, all configuration files are located in
257 > by default. For MS Windows, OS/2, and
258 AmigaOS these are all in the same directory as the
262 > executable. The name
263 and number of configuration files has changed from previous versions, and is
264 subject to change as development progresses.</P
266 > The installed defaults provide a reasonable starting point, though
267 some settings may be aggressive by some standards. For the time being, the
268 principle configuration files are:</P
277 >main configuration file</A
282 on Linux, Unix, BSD, OS/2, and AmigaOS and <TT
286 on Windows. This is a required file.
295 HREF="actions-file.html"
298 is used to define which <SPAN
301 > relating to banner-blocking, images, pop-ups,
302 content modification, cookie handling etc should be applied by default. It also defines many
303 exceptions (both positive and negative) from this default set of actions that enable
307 > to selectively eliminate the junk, and only the junk, on
308 as many websites as possible.
311 > Multiple actions files may be defined in <TT
315 are processed in the order they are defined. Local customizations and locally
316 preferred exceptions to the default policies as defined in
320 > (which you will most probably want
321 to define sooner or later) are probably best applied in
325 >, where you can preserve them across
337 There is also a web based editor that can be accessed from
339 HREF="http://config.privoxy.org/show-status"
341 >http://config.privoxy.org/show-status</A
344 HREF="http://p.p/show-status"
346 >http://p.p/show-status</A
348 various actions files.
355 >"Filter files"</SPAN
357 HREF="filter-file.html"
360 >) can be used to re-write the raw page content, including
361 viewable text as well as embedded HTML and JavaScript, and whatever else
362 lurks on any given web page. The filtering jobs are only pre-defined here;
363 whether to apply them or not is up to the actions files.
367 > includes various filters made
368 available for use by the developers. Some are much more intrusive than
369 others, and all should be used with caution. You may define additional
374 actions files. We suggest <TT
378 locally defined filters or customizations.
384 > The syntax of the configuration and filter files may change between different
385 Privoxy versions, unfortunately some enhancements cost backwards compatibility.
388 > All files use the <SPAN
394 > character to denote a
395 comment (the rest of the line will be ignored) and understand line continuation
396 through placing a backslash ("<TT
399 >") as the very last character
400 in a line. If the <TT
403 > is preceded by a backslash, it looses
404 its special function. Placing a <TT
407 > in front of an otherwise
408 valid configuration line to prevent it from being interpreted is called "commenting
409 out" that line. Blank lines are ignored.</P
411 > The actions files and filter files
412 can use Perl style <A
413 HREF="appendix.html#REGEX"
414 >regular expressions</A
416 maximum flexibility. </P
418 > After making any changes, there is no need to restart
422 > in order for the changes to take
426 > detects such changes
427 automatically. Note, however, that it may take one or two additional
428 requests for the change to take effect. When changing the listening address
436 must obviously be sent to the <SPAN
442 > listening address.</P
444 > While under development, the configuration content is subject to change.
445 The below documentation may not be accurate by the time you read this.
446 Also, what constitutes a <SPAN
449 > setting, may change, so
450 please check all your configuration files on important issues.</P
458 SUMMARY="Footer navigation table"
497 >Starting Privoxy</TD
507 >The Main Configuration File</TD