72e6a4282f951492404edee454c44470ca2248fa
[privoxy.git] / doc / webserver / faq / configuration.html
1 <HTML
2 ><HEAD
3 ><TITLE
4 >Configuration</TITLE
5 ><META
6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8 "><LINK
9 REL="HOME"
10 TITLE="Privoxy Frequently Asked Questions"
11 HREF="index.html"><LINK
12 REL="PREVIOUS"
13 TITLE="Installation"
14 HREF="installation.html"><LINK
15 REL="NEXT"
16 TITLE="Miscellaneous"
17 HREF="misc.html"><LINK
18 REL="STYLESHEET"
19 TYPE="text/css"
20 HREF="../p_doc.css"></HEAD
21 ><BODY
22 CLASS="SECT1"
23 BGCOLOR="#EEEEEE"
24 TEXT="#000000"
25 LINK="#0000FF"
26 VLINK="#840084"
27 ALINK="#0000FF"
28 ><DIV
29 CLASS="NAVHEADER"
30 ><TABLE
31 SUMMARY="Header navigation table"
32 WIDTH="100%"
33 BORDER="0"
34 CELLPADDING="0"
35 CELLSPACING="0"
36 ><TR
37 ><TH
38 COLSPAN="3"
39 ALIGN="center"
40 >Privoxy Frequently Asked Questions</TH
41 ></TR
42 ><TR
43 ><TD
44 WIDTH="10%"
45 ALIGN="left"
46 VALIGN="bottom"
47 ><A
48 HREF="installation.html"
49 ACCESSKEY="P"
50 >Prev</A
51 ></TD
52 ><TD
53 WIDTH="80%"
54 ALIGN="center"
55 VALIGN="bottom"
56 ></TD
57 ><TD
58 WIDTH="10%"
59 ALIGN="right"
60 VALIGN="bottom"
61 ><A
62 HREF="misc.html"
63 ACCESSKEY="N"
64 >Next</A
65 ></TD
66 ></TR
67 ></TABLE
68 ><HR
69 ALIGN="LEFT"
70 WIDTH="100%"></DIV
71 ><DIV
72 CLASS="SECT1"
73 ><H1
74 CLASS="SECT1"
75 ><A
76 NAME="CONFIGURATION">3. Configuration</H1
77 ><DIV
78 CLASS="SECT2"
79 ><H3
80 CLASS="SECT2"
81 ><A
82 NAME="NEWCONFIG">3.1. Can I use my old config files?</H3
83 ><P
84 >   The syntax, number, and purpose of configuration files has substantially
85    changed from <SPAN
86 CLASS="APPLICATION"
87 >Junkbuster</SPAN
88 > and earlier versions
89    of <SPAN
90 CLASS="APPLICATION"
91 >Privoxy</SPAN
92 >. The old files, like <TT
93 CLASS="FILENAME"
94 >blocklist</TT
95 >
96    will not work at all. If you are upgrading from a 2.0.x version, you will
97    need to port your configuration data to the new format. Note that even the
98    pattern syntax has changed! Even configuration files from the 2.9.x versions
99    will need to be adapted, as configuration syntax has been very much in flow
100    in the 2.9.x series.
101  </P
102 ></DIV
103 ><DIV
104 CLASS="SECT2"
105 ><H3
106 CLASS="SECT2"
107 ><A
108 NAME="AEN258">3.2. What is an <SPAN
109 CLASS="QUOTE"
110 >"actions"</SPAN
111 > file?</H3
112 ><P
113 > <A
114 HREF="../user-manual/actions-file.html"
115 TARGET="_top"
116 >Actions files</A
117 >
118  are where various <A
119 HREF="../user-manual/actions-file.html#ACTIONS"
120 TARGET="_top"
121 >actions</A
122 >
123  that <SPAN
124 CLASS="APPLICATION"
125 >Privoxy</SPAN
126 > might take while processing a certain
127  request, are configured. Typically, you would define a set of default actions
128  that apply to all URLs, then add exceptions to these defaults where needed.</P
129 ><P
130 > Actions can be defined on a <A
131 HREF="../user-manual/actions-file.html#AF-PATTERNS"
132 TARGET="_top"
133 >URL pattern</A
134 > basis, i.e.
135  for single URLs, whole web sites, groups or parts thereof etc. Actions can also be
136  grouped together and then applied to requests matching one or more patterns.
137  There are many possible actions that might apply to any given site. As an example,
138  if you are blocking cookies as one of your default actions, but need to accept
139  cookies from a given site, you would need to define an exception for this
140  site in one of your actions files, preferably in <TT
141 CLASS="FILENAME"
142 >user.action</TT
143 ></P
144 ></DIV
145 ><DIV
146 CLASS="SECT2"
147 ><H3
148 CLASS="SECT2"
149 ><A
150 NAME="ACTIONSS">3.3. The <SPAN
151 CLASS="QUOTE"
152 >"actions"</SPAN
153 > concept confuses me. Please list 
154 some of these <SPAN
155 CLASS="QUOTE"
156 >"actions"</SPAN
157 >.</H3
158 ><P
159 > For a comprehensive discussion of the actions concept, please refer
160  to the <A
161 HREF="../user-manual/actions-file.html"
162 TARGET="_top"
163 >actions file
164  chapter</A
165 > in the <A
166 HREF="../user-manual/index.html"
167 TARGET="_top"
168 >user
169  manual</A
170 >. It includes a <A
171 HREF="../user-manual/actions-file.html#ACTIONS"
172 TARGET="_top"
173 >list of all actions</A
174 >
175  and an <A
176 HREF="../user-manual/actions-file.html#ACT-EXAMPLES"
177 TARGET="_top"
178 >actions
179  file tutorial</A
180 > to get you started.</P
181 ></DIV
182 ><DIV
183 CLASS="SECT2"
184 ><H3
185 CLASS="SECT2"
186 ><A
187 NAME="AEN277">3.4. How are actions files configured? What is the easiest
188 way to do this?</H3
189 ><P
190 > Actions files are just text files in a special syntax and can be edited
191  with a text editor. The probably easiest way is to access
192  <SPAN
193 CLASS="APPLICATION"
194 >Privoxy</SPAN
195 >'s user interface with your web browser
196  at <A
197 HREF="http://config.privoxy.org/"
198 TARGET="_top"
199 >http://config.privoxy.org/</A
200 >
201  (Shortcut: <A
202 HREF="http://p.p/"
203 TARGET="_top"
204 >http://p.p/</A
205 >) and then select
206  <SPAN
207 CLASS="QUOTE"
208 >"<A
209 HREF="http://config.privoxy.org/show-status"
210 TARGET="_top"
211 >View &#38;
212  change the current configuration</A
213 >"</SPAN
214 > from the menu.</P
215 ></DIV
216 ><DIV
217 CLASS="SECT2"
218 ><H3
219 CLASS="SECT2"
220 ><A
221 NAME="AEN285">3.5. There are several different <SPAN
222 CLASS="QUOTE"
223 >"actions"</SPAN
224 > files. What are
225 the differences?</H3
226 ><P
227 > As of <SPAN
228 CLASS="APPLICATION"
229 >Privoxy</SPAN
230 > v2.9.15, three actions files 
231  are being included, to be used for 
232  different purposes: These are 
233  <TT
234 CLASS="FILENAME"
235 >default.action</TT
236 >, the <SPAN
237 CLASS="QUOTE"
238 >"main"</SPAN
239 > actions file
240  which is actively maintained by the <SPAN
241 CLASS="APPLICATION"
242 >Privoxy</SPAN
243 >
244  developers, <TT
245 CLASS="FILENAME"
246 >user.action</TT
247 >, where users are encouraged
248  to make their private customizations, and <TT
249 CLASS="FILENAME"
250 >standard.action</TT
251 >, 
252  which is for internal <SPAN
253 CLASS="APPLICATION"
254 >Privoxy</SPAN
255 > use only.
256  Please see <A
257 HREF="../user-manual/actions-file.html"
258 TARGET="_top"
259 >the actions chapter</A
260 >
261  in the <A
262 HREF="../user-manual/index.html"
263 TARGET="_top"
264 >user manual</A
265 > for a more
266  detailed explanation.</P
267 ><P
268 > Earlier versions included three different versions of the 
269  <TT
270 CLASS="FILENAME"
271 >default.action</TT
272 > file. The new scheme allows for 
273  greater flexibility of local configuration, and for browser based 
274  selection of pre-defined <SPAN
275 CLASS="QUOTE"
276 >"aggressiveness"</SPAN
277 > levels.</P
278 ></DIV
279 ><DIV
280 CLASS="SECT2"
281 ><H3
282 CLASS="SECT2"
283 ><A
284 NAME="YAHOO">3.6. How can I make my Yahoo/Hotmail/GMX account work?</H3
285 ><P
286 >  The default configuration shouldn't impact the usability of any of these services.
287   It will, however, make all cookies temporary, so that your browser will forget your
288   login credentials in between browser sessions. If you would like not to have to log
289   in manually each time you access those websites, simply turn off all cookie handling
290   for them in the <TT
291 CLASS="FILENAME"
292 >user.action</TT
293 > file. An example for yahoo might
294   look like:
295  </P
296 ><P
297 >  <TABLE
298 BORDER="0"
299 BGCOLOR="#E0E0E0"
300 WIDTH="100%"
301 ><TR
302 ><TD
303 ><PRE
304 CLASS="SCREEN"
305 ># Allow all cookies for Yahoo login:
306 #
307 { -<A
308 HREF="../user-manual/actions-file.html#CRUNCH-INCOMING-COOKIES"
309 TARGET="_top"
310 >crunch-incoming-cookies</A
311 > -<A
312 HREF="../user-manual/actions-file.html#CRUNCH-OUTGOING-COOKIES"
313 TARGET="_top"
314 >crunch-outgoing-cookies</A
315 > -<A
316 HREF="../user-manual/actions-file.html#SESSION-COOKIES-ONLY"
317 TARGET="_top"
318 >session-cookies-only</A
319 > }
320 .login.yahoo.com</PRE
321 ></TD
322 ></TR
323 ></TABLE
324 >
325  </P
326 ></DIV
327 ><DIV
328 CLASS="SECT2"
329 ><H3
330 CLASS="SECT2"
331 ><A
332 NAME="CONFIGFILES">3.7. What's the difference between the
333 <SPAN
334 CLASS="QUOTE"
335 >"Cautious"</SPAN
336 >, <SPAN
337 CLASS="QUOTE"
338 >"Medium"</SPAN
339 > and <SPAN
340 CLASS="QUOTE"
341 >"Advenced"</SPAN
342 > defaults?</H3
343 ><P
344 >  Configuring <SPAN
345 CLASS="APPLICATION"
346 >Privoxy</SPAN
347 > is not entirely trivial. To help you get
348   started, we provide you with three different default action <SPAN
349 CLASS="QUOTE"
350 >"packages"</SPAN
351 > in
352   the web based actions file editor at <A
353 HREF="http://config.privoxy.org/show-status"
354 TARGET="_top"
355 >http://config.privoxy.org/show-status</A
356 >.
357   The following table shows you, which of the most important features are enabled in each
358   configuration:
359  </P
360 ><P
361 ><DIV
362 CLASS="TABLE"
363 ><A
364 NAME="AEN320"><P
365 ><B
366 >Table 1. Default Configurations</B
367 ></P
368 ><TABLE
369 BORDER="1"
370 CLASS="CALSTABLE"
371 ><THEAD
372 ><TR
373 ><TH
374 WIDTH="25%"
375 ALIGN="LEFT"
376 VALIGN="TOP"
377 >Feature</TH
378 ><TH
379 WIDTH="25%"
380 ALIGN="LEFT"
381 VALIGN="TOP"
382 >Cautious</TH
383 ><TH
384 WIDTH="25%"
385 ALIGN="LEFT"
386 VALIGN="TOP"
387 >Intermadiate</TH
388 ><TH
389 WIDTH="25%"
390 ALIGN="LEFT"
391 VALIGN="TOP"
392 >Advanced</TH
393 ></TR
394 ></THEAD
395 ><TBODY
396 ><TR
397 ><TD
398 WIDTH="25%"
399 ALIGN="LEFT"
400 VALIGN="TOP"
401 >Ad-blocking by URL</TD
402 ><TD
403 WIDTH="25%"
404 ALIGN="LEFT"
405 VALIGN="TOP"
406 >yes</TD
407 ><TD
408 WIDTH="25%"
409 ALIGN="LEFT"
410 VALIGN="TOP"
411 >yes</TD
412 ><TD
413 WIDTH="25%"
414 ALIGN="LEFT"
415 VALIGN="TOP"
416 >yes</TD
417 ></TR
418 ><TR
419 ><TD
420 WIDTH="25%"
421 ALIGN="LEFT"
422 VALIGN="TOP"
423 >Ad-filtering by size</TD
424 ><TD
425 WIDTH="25%"
426 ALIGN="LEFT"
427 VALIGN="TOP"
428 >yes</TD
429 ><TD
430 WIDTH="25%"
431 ALIGN="LEFT"
432 VALIGN="TOP"
433 >yes</TD
434 ><TD
435 WIDTH="25%"
436 ALIGN="LEFT"
437 VALIGN="TOP"
438 >yes</TD
439 ></TR
440 ><TR
441 ><TD
442 WIDTH="25%"
443 ALIGN="LEFT"
444 VALIGN="TOP"
445 >GIF de-animation</TD
446 ><TD
447 WIDTH="25%"
448 ALIGN="LEFT"
449 VALIGN="TOP"
450 >no</TD
451 ><TD
452 WIDTH="25%"
453 ALIGN="LEFT"
454 VALIGN="TOP"
455 >yes</TD
456 ><TD
457 WIDTH="25%"
458 ALIGN="LEFT"
459 VALIGN="TOP"
460 >yes</TD
461 ></TR
462 ><TR
463 ><TD
464 WIDTH="25%"
465 ALIGN="LEFT"
466 VALIGN="TOP"
467 >Referer forging</TD
468 ><TD
469 WIDTH="25%"
470 ALIGN="LEFT"
471 VALIGN="TOP"
472 >no</TD
473 ><TD
474 WIDTH="25%"
475 ALIGN="LEFT"
476 VALIGN="TOP"
477 >yes</TD
478 ><TD
479 WIDTH="25%"
480 ALIGN="LEFT"
481 VALIGN="TOP"
482 >yes</TD
483 ></TR
484 ><TR
485 ><TD
486 WIDTH="25%"
487 ALIGN="LEFT"
488 VALIGN="TOP"
489 >Cookie handling</TD
490 ><TD
491 WIDTH="25%"
492 ALIGN="LEFT"
493 VALIGN="TOP"
494 >none</TD
495 ><TD
496 WIDTH="25%"
497 ALIGN="LEFT"
498 VALIGN="TOP"
499 >session-only</TD
500 ><TD
501 WIDTH="25%"
502 ALIGN="LEFT"
503 VALIGN="TOP"
504 >kill</TD
505 ></TR
506 ><TR
507 ><TD
508 WIDTH="25%"
509 ALIGN="LEFT"
510 VALIGN="TOP"
511 >Pop-up killing</TD
512 ><TD
513 WIDTH="25%"
514 ALIGN="LEFT"
515 VALIGN="TOP"
516 >no</TD
517 ><TD
518 WIDTH="25%"
519 ALIGN="LEFT"
520 VALIGN="TOP"
521 >no</TD
522 ><TD
523 WIDTH="25%"
524 ALIGN="LEFT"
525 VALIGN="TOP"
526 >yes</TD
527 ></TR
528 ><TR
529 ><TD
530 WIDTH="25%"
531 ALIGN="LEFT"
532 VALIGN="TOP"
533 >Fast redirects</TD
534 ><TD
535 WIDTH="25%"
536 ALIGN="LEFT"
537 VALIGN="TOP"
538 >no</TD
539 ><TD
540 WIDTH="25%"
541 ALIGN="LEFT"
542 VALIGN="TOP"
543 >no</TD
544 ><TD
545 WIDTH="25%"
546 ALIGN="LEFT"
547 VALIGN="TOP"
548 >yes</TD
549 ></TR
550 ><TR
551 ><TD
552 WIDTH="25%"
553 ALIGN="LEFT"
554 VALIGN="TOP"
555 >HTML taming</TD
556 ><TD
557 WIDTH="25%"
558 ALIGN="LEFT"
559 VALIGN="TOP"
560 >yes</TD
561 ><TD
562 WIDTH="25%"
563 ALIGN="LEFT"
564 VALIGN="TOP"
565 >yes</TD
566 ><TD
567 WIDTH="25%"
568 ALIGN="LEFT"
569 VALIGN="TOP"
570 >yes</TD
571 ></TR
572 ><TR
573 ><TD
574 WIDTH="25%"
575 ALIGN="LEFT"
576 VALIGN="TOP"
577 >JavaScript taming</TD
578 ><TD
579 WIDTH="25%"
580 ALIGN="LEFT"
581 VALIGN="TOP"
582 >yes</TD
583 ><TD
584 WIDTH="25%"
585 ALIGN="LEFT"
586 VALIGN="TOP"
587 >yes</TD
588 ><TD
589 WIDTH="25%"
590 ALIGN="LEFT"
591 VALIGN="TOP"
592 >yes</TD
593 ></TR
594 ><TR
595 ><TD
596 WIDTH="25%"
597 ALIGN="LEFT"
598 VALIGN="TOP"
599 >Web-bug killing</TD
600 ><TD
601 WIDTH="25%"
602 ALIGN="LEFT"
603 VALIGN="TOP"
604 >yes</TD
605 ><TD
606 WIDTH="25%"
607 ALIGN="LEFT"
608 VALIGN="TOP"
609 >yes</TD
610 ><TD
611 WIDTH="25%"
612 ALIGN="LEFT"
613 VALIGN="TOP"
614 >yes</TD
615 ></TR
616 ><TR
617 ><TD
618 WIDTH="25%"
619 ALIGN="LEFT"
620 VALIGN="TOP"
621 >Fun text replacements</TD
622 ><TD
623 WIDTH="25%"
624 ALIGN="LEFT"
625 VALIGN="TOP"
626 >no</TD
627 ><TD
628 WIDTH="25%"
629 ALIGN="LEFT"
630 VALIGN="TOP"
631 >no</TD
632 ><TD
633 WIDTH="25%"
634 ALIGN="LEFT"
635 VALIGN="TOP"
636 >yes</TD
637 ></TR
638 ></TBODY
639 ></TABLE
640 ></DIV
641 ></P
642 ><P
643 > Where the defaults are likely to break some sites, exceptions for
644  known popular <SPAN
645 CLASS="QUOTE"
646 >"problem"</SPAN
647 > sites are included, but in
648  general, the more aggressive your default settings are, the more
649  exceptions you will have to make later. See the <A
650 HREF="../user-manual/index.html"
651 TARGET="_top"
652 >user manual</A
653 > for a more
654  deatiled discussion.</P
655 ></DIV
656 ><DIV
657 CLASS="SECT2"
658 ><H3
659 CLASS="SECT2"
660 ><A
661 NAME="BROWSECONFIG">3.8. Why can I change the configuration 
662 with a browser? Does that not raise security issues?</H3
663 ><P
664 >  It may seem strange that regular users can edit the config files with their
665   browsers, although the whole <TT
666 CLASS="FILENAME"
667 >/etc/privoxy</TT
668 > hierarchy
669   belongs to the user <SPAN
670 CLASS="QUOTE"
671 >"privoxy"</SPAN
672 >, with only 644 permissions.
673  </P
674 ><P
675 >  When you use the browser-based editor, <SPAN
676 CLASS="APPLICATION"
677 >Privoxy</SPAN
678 >
679   itself is writing to the config files.  Because
680   <SPAN
681 CLASS="APPLICATION"
682 >Privoxy</SPAN
683 > is running as the user <SPAN
684 CLASS="QUOTE"
685 >"privoxy"</SPAN
686 >,
687   it can update the config files.
688  </P
689 ><P
690 >  If you run <SPAN
691 CLASS="APPLICATION"
692 >Privoxy</SPAN
693 > for multiple untrusted users (e.g. in
694   a LAN), you will probably want to turn the web-based editor and remote toggle
695   features off by setting <SPAN
696 CLASS="QUOTE"
697 >"<TT
698 CLASS="LITERAL"
699 ><A
700 HREF="../user-manual/config.html#ENABLE-EDIT-ACTIONS"
701 TARGET="_top"
702 >enable-edit-actions</A
703 >
704   0</TT
705 >"</SPAN
706 > and <SPAN
707 CLASS="QUOTE"
708 >"<TT
709 CLASS="LITERAL"
710 ><A
711 HREF="../user-manual/config.html#ENABLE-REMOTE-TOGGLE"
712 TARGET="_top"
713 >enable-remote-toggle</A
714 >
715   0</TT
716 >"</SPAN
717 > in the <A
718 HREF="../user-manual/config.html"
719 TARGET="_top"
720 >main configuration file</A
721 >.
722  </P
723 ><P
724 >  Note that in the default configuration, only local users (i.e. those on
725   <SPAN
726 CLASS="QUOTE"
727 >"localhost"</SPAN
728 >) can connect to <SPAN
729 CLASS="APPLICATION"
730 >Privoxy</SPAN
731 >,
732   so this is not (normally) a security problem.
733  </P
734 ></DIV
735 ><DIV
736 CLASS="SECT2"
737 ><H3
738 CLASS="SECT2"
739 ><A
740 NAME="AEN413">3.9. What is the <TT
741 CLASS="FILENAME"
742 >default.filter</TT
743 > file?</H3
744 ><P
745 > The <A
746 HREF="../user-manual/filter-file.html"
747 TARGET="_top"
748 ><TT
749 CLASS="FILENAME"
750 >default.filter</TT
751 ></A
752 >
753  file is where <SPAN
754 CLASS="emphasis"
755 ><I
756 CLASS="EMPHASIS"
757 >filters</I
758 ></SPAN
759 > are defined, which can be used to modify or
760  remove, web page content on the fly. This applies to <SPAN
761 CLASS="emphasis"
762 ><I
763 CLASS="EMPHASIS"
764 >anything</I
765 ></SPAN
766 >
767  in the page source, including HTML tags, and JavaScript. Regular expressions are used
768  to accomplish this. There are a number of pre-defined filters to deal with common
769  annoyances. The filters are only defined here, to invoke them, you need to use the
770  <A
771 HREF="../user-manual/actions-file.html#FILTER"
772 TARGET="_top"
773 ><TT
774 CLASS="LITERAL"
775 >filter</TT
776 > action</A
777 >.</P
778 ><P
779 > If you are familiar with regular expressions, and HTML, you can look at 
780  the provided <TT
781 CLASS="FILENAME"
782 >default.filter</TT
783 > with a text editor and define
784  your own filters.  This is potentially a very powerful feature, but
785  requires some expertise. </P
786 ><P
787 > Presently, there is no GUI editor option for this part of the configuration, 
788  but you can disable/enable the various pre-defined filters of the included 
789  <TT
790 CLASS="FILENAME"
791 >default.filter</TT
792 > file with the <A
793 HREF="http://config.privoxy.org/show-status"
794 TARGET="_top"
795 >web-based actions file editor</A
796 >.</P
797 ></DIV
798 ><DIV
799 CLASS="SECT2"
800 ><H3
801 CLASS="SECT2"
802 ><A
803 NAME="AEN428">3.10. How can I set up <SPAN
804 CLASS="APPLICATION"
805 >Privoxy</SPAN
806 > to act as a proxy for my 
807  LAN?</H3
808 ><P
809 > By default, <SPAN
810 CLASS="APPLICATION"
811 >Privoxy</SPAN
812 > only responds to requests 
813  from <TT
814 CLASS="LITERAL"
815 >127.0.0.1</TT
816 > (localhost). To have it act as a server for
817  a network, this needs to be changed in the <A
818 HREF="../user-manual/config.html"
819 TARGET="_top"
820 >main configuration file</A
821 >. Look for
822  the <TT
823 CLASS="LITERAL"
824 ><A
825 HREF="../user-manual/config.html#LISTEN-ADDRESS"
826 TARGET="_top"
827 >listen-address</A
828 ></TT
829 >
830  option, which may be commented out with a <SPAN
831 CLASS="QUOTE"
832 >"#"</SPAN
833 > symbol. Make sure
834  it is uncommented, and assign it the address of the LAN gateway interface,
835  and port number to use. Assuming your LAN address is 192.168.1.1 and you
836  wish to run <SPAN
837 CLASS="APPLICATION"
838 >Privoxy</SPAN
839 > on port 8118, this line
840  schould look like:</P
841 ><P
842 > <TABLE
843 BORDER="0"
844 BGCOLOR="#E0E0E0"
845 WIDTH="100%"
846 ><TR
847 ><TD
848 ><PRE
849 CLASS="SCREEN"
850 >  listen-address  192.168.1.1:8118</PRE
851 ></TD
852 ></TR
853 ></TABLE
854 ></P
855 ><P
856 > Save the file, and restart <SPAN
857 CLASS="APPLICATION"
858 >Privoxy</SPAN
859 >. Configure 
860  all browsers on the network then to use this address and port number.</P
861 ><P
862 > If you run <SPAN
863 CLASS="APPLICATION"
864 >Privoxy</SPAN
865 > on a LAN with untrusted users,
866  we recommend that you double-check the <A
867 HREF="../user-manual/config.html#ACCESS-CONTROL"
868 TARGET="_top"
869 >access control and security</A
870 >
871  options!</P
872 ></DIV
873 ><DIV
874 CLASS="SECT2"
875 ><H3
876 CLASS="SECT2"
877 ><A
878 NAME="AEN446">3.11. Instead of ads, now I get a checkerboard pattern. I don't want to see anything.</H3
879 ><P
880 > The replacement for blocked images can be controlled with the <A
881 HREF="../user-manual/actions-file.html#SET-IMAGE-BLOCKER"
882 TARGET="_top"
883 ><TT
884 CLASS="LITERAL"
885 >set-image-blocker</TT
886 >
887  action</A
888 >. You have the choice of a checkerboard pattern, a transparent 1x1 GIF
889  image (aka <SPAN
890 CLASS="QUOTE"
891 >"blank"</SPAN
892 >), or a redirect to a custom image of your choice.
893  Note that this choice only has effect for images which are blocked as images, i.e.
894  whose URLs match both a <TT
895 CLASS="LITERAL"
896 ><A
897 HREF="../user-manual/actions-file.html#HANDLE-AS-IMAGE"
898 TARGET="_top"
899 >handle-as-image</A
900 ></TT
901 >
902  <SPAN
903 CLASS="emphasis"
904 ><I
905 CLASS="EMPHASIS"
906 >and</I
907 ></SPAN
908 > <TT
909 CLASS="LITERAL"
910 ><A
911 HREF="../user-manual/actions-file.html#BLOCK"
912 TARGET="_top"
913 >block</A
914 ></TT
915 > action.</P
916 ><P
917 > If you want to see nothing, then change the <A
918 HREF="../user-manual/actions-file.html#SET-IMAGE-BLOCKER"
919 TARGET="_top"
920 ><TT
921 CLASS="LITERAL"
922 >set-image-blocker</TT
923 >
924  action</A
925 > to <SPAN
926 CLASS="QUOTE"
927 >"blank"</SPAN
928 >. This can be done by editing the 
929  <TT
930 CLASS="FILENAME"
931 >default.action</TT
932 > file, or trough the <A
933 HREF="http://config.privoxy.org/show-status"
934 TARGET="_top"
935 >web-based actions file editor</A
936 >.</P
937 ></DIV
938 ><DIV
939 CLASS="SECT2"
940 ><H3
941 CLASS="SECT2"
942 ><A
943 NAME="AEN463">3.12. Why would anybody want to see a checkerboard pattern?</H3
944 ><P
945 > Remember that <A
946 HREF="general.html#WHATSANAD"
947 >telling which image is an ad and which
948  isn't</A
949 >, is mostly guesswork. While we hope that the standard configuration
950  is rather smart, it can and will make errors. The checkerboard image is visually
951  decent, but it shows you that and where images were blocked, which can be very
952  helpful in case some navigation aid or otherwise innocent image was
953  erraneously blocked. Some people might also enjoy seeing how many banners
954  they <SPAN
955 CLASS="emphasis"
956 ><I
957 CLASS="EMPHASIS"
958 >don't</I
959 ></SPAN
960 > have to see..</P
961 ></DIV
962 ><DIV
963 CLASS="SECT2"
964 ><H3
965 CLASS="SECT2"
966 ><A
967 NAME="AEN468">3.13. I see some images being replaced by a text
968 instead of the checkerboard image. Why and how do I get rid of this?</H3
969 ><P
970 > This happens when the banners are not embedded in the HTML code of the
971  page itself, but in separate HTML (sub)documents that are loaded into (i)frames
972  or (i)layers, and these external HTML documents are blocked. Being non-images
973  they get replaced by a substitute HTML page rather than a substitute image,
974  which wouldn't work out technically, since the browser expects and accepts
975  only HTML when it has requested an HTML document. </P
976 ><P
977 > The substitute page adapts to the available space and shows itself as a
978  miniature two-liner if loaded into small frames, or full-blown with a
979  large red "BLOCKED" banner if space allows.</P
980 ><P
981 > If you prefer the banners to be blocked by images, you must see to it that
982  the HTML documents in which they are embedded are not blocked. Clicking
983  the <SPAN
984 CLASS="QUOTE"
985 >"See why"</SPAN
986 > link offered in the substitute page will show
987  you which rule blocked the page. After changing the rule and un-blocking
988  the HTML documents, the browser will try to load the actual banner images
989  and the usual image blocking will (hopefully!) kick in.</P
990 ></DIV
991 ><DIV
992 CLASS="SECT2"
993 ><H3
994 CLASS="SECT2"
995 ><A
996 NAME="SRVANY">3.14. Can <SPAN
997 CLASS="APPLICATION"
998 >Privoxy</SPAN
999 > run as a service 
1000 on Win2K/NT?</H3
1001 ><P
1002 > Yes, it can run as a system service using <B
1003 CLASS="COMMAND"
1004 >srvany.exe</B
1005 >.
1006  The only catch is that this will effectively disable the
1007  <SPAN
1008 CLASS="APPLICATION"
1009 >Privoxy</SPAN
1010 > icon (and its menu!) in the taskbar. You can have 
1011  one or the other, but not both at this time :( </P
1012 ><P
1013 > There is a pending feature request for this functionality. See the discussion
1014  at <A
1015 HREF="http://sourceforge.net/tracker/?func=detail&atid=361118&aid=485617&group_id=11118"
1016 TARGET="_top"
1017 >http://sourceforge.net/tracker/?func=detail&#38;atid=361118&#38;aid=485617&#38;group_id=11118</A
1018 >, 
1019  for details, and a sample configuration.&#13;</P
1020 ></DIV
1021 ><DIV
1022 CLASS="SECT2"
1023 ><H3
1024 CLASS="SECT2"
1025 ><A
1026 NAME="OTHERPROXY">3.15. How can I make <SPAN
1027 CLASS="APPLICATION"
1028 >Privoxy</SPAN
1029 > work with other 
1030 proxies like <SPAN
1031 CLASS="APPLICATION"
1032 >Squid</SPAN
1033 >?</H3
1034 ><P
1035 > This can be done and is often useful to combine the benefits of
1036  <SPAN
1037 CLASS="APPLICATION"
1038 >Privoxy</SPAN
1039 > with those of a caching proxy.
1040  See the <A
1041 HREF="../user-manual/config.html#FORWARDING"
1042 TARGET="_top"
1043 >forwarding chapter</A
1044 >
1045  in the <A
1046 HREF="../user-manual/index.html"
1047 TARGET="_top"
1048 >user manual</A
1049 > which
1050  describes how to do this.</P
1051 ></DIV
1052 ><DIV
1053 CLASS="SECT2"
1054 ><H3
1055 CLASS="SECT2"
1056 ><A
1057 NAME="TRANSPARENT">3.16. Can <SPAN
1058 CLASS="APPLICATION"
1059 >Privoxy</SPAN
1060 > run as a <SPAN
1061 CLASS="QUOTE"
1062 >"transparent"</SPAN
1063 > proxy?</H3
1064 ><P
1065 > No, <SPAN
1066 CLASS="APPLICATION"
1067 >Privoxy</SPAN
1068 > currently does not have this ability, 
1069  though it is planned for a future release. Transparent proxies require 
1070  special handling of the request headers beyond what
1071  <SPAN
1072 CLASS="APPLICATION"
1073 >Privoxy</SPAN
1074 > is now capable of.</P
1075 ><P
1076 > Chaining <SPAN
1077 CLASS="APPLICATION"
1078 >Privoxy</SPAN
1079 > behind another proxy that has 
1080  this ability should work though. 
1081  See the <A
1082 HREF="../user-manual/config.html#FORWARDING"
1083 TARGET="_top"
1084 >forwarding chapter</A
1085 >
1086  in the <A
1087 HREF="../user-manual/index.html"
1088 TARGET="_top"
1089 >user manual</A
1090 >. As
1091  a transparent proxy to be used for chaining we recommend Transproxy
1092  (<A
1093 HREF="http://www.transproxy.nlc.net.au/"
1094 TARGET="_top"
1095 >http://www.transproxy.nlc.net.au/</A
1096 >).</P
1097 ></DIV
1098 ></DIV
1099 ><DIV
1100 CLASS="NAVFOOTER"
1101 ><HR
1102 ALIGN="LEFT"
1103 WIDTH="100%"><TABLE
1104 SUMMARY="Footer navigation table"
1105 WIDTH="100%"
1106 BORDER="0"
1107 CELLPADDING="0"
1108 CELLSPACING="0"
1109 ><TR
1110 ><TD
1111 WIDTH="33%"
1112 ALIGN="left"
1113 VALIGN="top"
1114 ><A
1115 HREF="installation.html"
1116 ACCESSKEY="P"
1117 >Prev</A
1118 ></TD
1119 ><TD
1120 WIDTH="34%"
1121 ALIGN="center"
1122 VALIGN="top"
1123 ><A
1124 HREF="index.html"
1125 ACCESSKEY="H"
1126 >Home</A
1127 ></TD
1128 ><TD
1129 WIDTH="33%"
1130 ALIGN="right"
1131 VALIGN="top"
1132 ><A
1133 HREF="misc.html"
1134 ACCESSKEY="N"
1135 >Next</A
1136 ></TD
1137 ></TR
1138 ><TR
1139 ><TD
1140 WIDTH="33%"
1141 ALIGN="left"
1142 VALIGN="top"
1143 >Installation</TD
1144 ><TD
1145 WIDTH="34%"
1146 ALIGN="center"
1147 VALIGN="top"
1148 >&nbsp;</TD
1149 ><TD
1150 WIDTH="33%"
1151 ALIGN="right"
1152 VALIGN="top"
1153 >Miscellaneous</TD
1154 ></TR
1155 ></TABLE
1156 ></DIV
1157 ></BODY
1158 ></HTML
1159 >