Try Arial first for NS4/Win
[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.64
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 WIDTH="100%"
32 BORDER="0"
33 CELLPADDING="0"
34 CELLSPACING="0"
35 ><TR
36 ><TH
37 COLSPAN="3"
38 ALIGN="center"
39 >Privoxy Frequently Asked Questions</TH
40 ></TR
41 ><TR
42 ><TD
43 WIDTH="10%"
44 ALIGN="left"
45 VALIGN="bottom"
46 ><A
47 HREF="installation.html"
48 >Prev</A
49 ></TD
50 ><TD
51 WIDTH="80%"
52 ALIGN="center"
53 VALIGN="bottom"
54 ></TD
55 ><TD
56 WIDTH="10%"
57 ALIGN="right"
58 VALIGN="bottom"
59 ><A
60 HREF="misc.html"
61 >Next</A
62 ></TD
63 ></TR
64 ></TABLE
65 ><HR
66 ALIGN="LEFT"
67 WIDTH="100%"></DIV
68 ><DIV
69 CLASS="SECT1"
70 ><H1
71 CLASS="SECT1"
72 ><A
73 NAME="CONFIGURATION"
74 >3. Configuration</A
75 ></H1
76 ><DIV
77 CLASS="SECT2"
78 ><H3
79 CLASS="SECT2"
80 ><A
81 NAME="NEWCONFIG"
82 >3.1. Can I use my old config files?</A
83 ></H3
84 ><P
85 >   There are major changes to <SPAN
86 CLASS="APPLICATION"
87 >Junkbuster</SPAN
88 >/ 
89    <SPAN
90 CLASS="APPLICATION"
91 >Privoxy</SPAN
92 > configuration from version 2.0.x to
93    2.9.x and later. Most of the older files will not work at all. This is 
94    especially true of <TT
95 CLASS="FILENAME"
96 >blocklist</TT
97 >. If this is the case, you
98    will need to re-enter your old data into the new configuration structure.
99    This is probably also a good recommendation even if upgrading from 2.9.x to
100    3.x since there were many minor changes along the way.
101  </P
102 ></DIV
103 ><DIV
104 CLASS="SECT2"
105 ><H3
106 CLASS="SECT2"
107 ><A
108 NAME="AEN241"
109 >3.2. What is an <SPAN
110 CLASS="QUOTE"
111 >"actions"</SPAN
112 > file?</A
113 ></H3
114 ><P
115 > <SPAN
116 CLASS="QUOTE"
117 >"actions"</SPAN
118 > files are where various actions that
119  <SPAN
120 CLASS="APPLICATION"
121 >Privoxy</SPAN
122 > might take, are configured. 
123  Typically, you would define a set of default actions that apply 
124  to all URLs, then add exceptions to these defaults.</P
125 ><P
126 > Actions can be defined on a per site basis, or for groups of sites. Actions
127  can also be grouped together and then applied to one or more sites. There
128  are many possible actions that might apply to any given site. As an example,
129  if we are blocking cookies as one of our default
130  <SPAN
131 CLASS="APPLICATION"
132 >actions</SPAN
133 >, but need to accept cookies from a given
134  site, we would define this in our <SPAN
135 CLASS="QUOTE"
136 >"actions"</SPAN
137 > file.&#13;</P
138 ><P
139 > <SPAN
140 CLASS="APPLICATION"
141 >Privoxy</SPAN
142 > comes with several default
143  <SPAN
144 CLASS="APPLICATION"
145 >actions</SPAN
146 > files, with varying degrees 
147  of filtering and blocking, as starting points for your own 
148  configuration (see below).</P
149 ></DIV
150 ><DIV
151 CLASS="SECT2"
152 ><H3
153 CLASS="SECT2"
154 ><A
155 NAME="ACTIONSS"
156 >3.3. The <SPAN
157 CLASS="QUOTE"
158 >"actions"</SPAN
159 > concept confuses me. Please list 
160 some of these <SPAN
161 CLASS="QUOTE"
162 >"actions"</SPAN
163 >.</A
164 ></H3
165 ><P
166 > These are all explained in the 
167  <A
168 HREF="../user-manual/configuration.html#ACTIONSFILE"
169 TARGET="_top"
170 >user-manual</A
171 >.
172  Please refer to that.</P
173 ></DIV
174 ><DIV
175 CLASS="SECT2"
176 ><H3
177 CLASS="SECT2"
178 ><A
179 NAME="AEN259"
180 >3.4. How are actions files configured? What is the easiest
181 way to do this?</A
182 ></H3
183 ><P
184 > The easiest way to do this, is to access <SPAN
185 CLASS="APPLICATION"
186 >Privoxy</SPAN
187 >
188  with your web browser at <A
189 HREF="http://p.p/"
190 TARGET="_top"
191 >http://p.p/</A
192 >, 
193  and then select 
194  "<A
195 HREF="http://config.privoxy.org"
196 TARGET="_top"
197 >Edit the actions list</A
198 >"
199  from the selection list. You can also do this by editing the appropriate 
200  file with a text editor.</P
201 ><P
202 > Please see the 
203  <A
204 HREF="../user-manual/configuration.html#ACTIONSFILE"
205 TARGET="_top"
206 >user-manual</A
207 > for a
208  detailed explanation of these and other configuration files, and their
209  various options and syntax.</P
210 ></DIV
211 ><DIV
212 CLASS="SECT2"
213 ><H3
214 CLASS="SECT2"
215 ><A
216 NAME="CONFIGFILES"
217 >3.5. What are the differences between
218 intermediate.action, basic.action, etc.?</A
219 ></H3
220 ><P
221 >Configuring <SPAN
222 CLASS="APPLICATION"
223 >Privoxy</SPAN
224 > is not easy. To help you get
225 started, we provide you with three different default configurations. The
226 following table shows you, which features are enabled in each configuration.
227  </P
228 ><P
229 ><DIV
230 CLASS="TABLE"
231 ><A
232 NAME="AEN272"
233 ></A
234 ><P
235 ><B
236 >Table 1. Default Configurations</B
237 ></P
238 ><TABLE
239 BORDER="1"
240 CLASS="CALSTABLE"
241 ><THEAD
242 ><TR
243 ><TH
244 WIDTH="20%"
245 ALIGN="LEFT"
246 VALIGN="TOP"
247 >Feature</TH
248 ><TH
249 WIDTH="20%"
250 ALIGN="LEFT"
251 VALIGN="TOP"
252 >default.action</TH
253 ><TH
254 WIDTH="20%"
255 ALIGN="LEFT"
256 VALIGN="TOP"
257 >basic.action</TH
258 ><TH
259 WIDTH="20%"
260 ALIGN="LEFT"
261 VALIGN="TOP"
262 >intermediate.action</TH
263 ><TH
264 WIDTH="20%"
265 ALIGN="LEFT"
266 VALIGN="TOP"
267 >advanced.action</TH
268 ></TR
269 ></THEAD
270 ><TBODY
271 ><TR
272 ><TD
273 WIDTH="20%"
274 ALIGN="LEFT"
275 VALIGN="TOP"
276 >ad-filtering</TD
277 ><TD
278 WIDTH="20%"
279 ALIGN="LEFT"
280 VALIGN="TOP"
281 >?</TD
282 ><TD
283 WIDTH="20%"
284 ALIGN="LEFT"
285 VALIGN="TOP"
286 >x</TD
287 ><TD
288 WIDTH="20%"
289 ALIGN="LEFT"
290 VALIGN="TOP"
291 >x</TD
292 ><TD
293 WIDTH="20%"
294 ALIGN="LEFT"
295 VALIGN="TOP"
296 >x</TD
297 ></TR
298 ><TR
299 ><TD
300 WIDTH="20%"
301 ALIGN="LEFT"
302 VALIGN="TOP"
303 >blank image</TD
304 ><TD
305 WIDTH="20%"
306 ALIGN="LEFT"
307 VALIGN="TOP"
308 >?</TD
309 ><TD
310 WIDTH="20%"
311 ALIGN="LEFT"
312 VALIGN="TOP"
313 >x</TD
314 ><TD
315 WIDTH="20%"
316 ALIGN="LEFT"
317 VALIGN="TOP"
318 >x</TD
319 ><TD
320 WIDTH="20%"
321 ALIGN="LEFT"
322 VALIGN="TOP"
323 >x</TD
324 ></TR
325 ><TR
326 ><TD
327 WIDTH="20%"
328 ALIGN="LEFT"
329 VALIGN="TOP"
330 >de-animate GIFs</TD
331 ><TD
332 WIDTH="20%"
333 ALIGN="LEFT"
334 VALIGN="TOP"
335 >?</TD
336 ><TD
337 WIDTH="20%"
338 ALIGN="LEFT"
339 VALIGN="TOP"
340 >x</TD
341 ><TD
342 WIDTH="20%"
343 ALIGN="LEFT"
344 VALIGN="TOP"
345 >x</TD
346 ><TD
347 WIDTH="20%"
348 ALIGN="LEFT"
349 VALIGN="TOP"
350 >x</TD
351 ></TR
352 ><TR
353 ><TD
354 WIDTH="20%"
355 ALIGN="LEFT"
356 VALIGN="TOP"
357 >referer forging</TD
358 ><TD
359 WIDTH="20%"
360 ALIGN="LEFT"
361 VALIGN="TOP"
362 >?</TD
363 ><TD
364 WIDTH="20%"
365 ALIGN="LEFT"
366 VALIGN="TOP"
367 >x</TD
368 ><TD
369 WIDTH="20%"
370 ALIGN="LEFT"
371 VALIGN="TOP"
372 >x</TD
373 ><TD
374 WIDTH="20%"
375 ALIGN="LEFT"
376 VALIGN="TOP"
377 >x</TD
378 ></TR
379 ><TR
380 ><TD
381 WIDTH="20%"
382 ALIGN="LEFT"
383 VALIGN="TOP"
384 >jon's +no-cookies-keep (i.e. session cookies only)</TD
385 ><TD
386 WIDTH="20%"
387 ALIGN="LEFT"
388 VALIGN="TOP"
389 >?</TD
390 ><TD
391 WIDTH="20%"
392 ALIGN="LEFT"
393 VALIGN="TOP"
394 >x</TD
395 ><TD
396 WIDTH="20%"
397 ALIGN="LEFT"
398 VALIGN="TOP"
399 >x</TD
400 ><TD
401 WIDTH="20%"
402 ALIGN="LEFT"
403 VALIGN="TOP"
404 >x</TD
405 ></TR
406 ><TR
407 ><TD
408 WIDTH="20%"
409 ALIGN="LEFT"
410 VALIGN="TOP"
411 >no-popup windows</TD
412 ><TD
413 WIDTH="20%"
414 ALIGN="LEFT"
415 VALIGN="TOP"
416 >?</TD
417 ><TD
418 WIDTH="20%"
419 ALIGN="LEFT"
420 VALIGN="TOP"
421 >&nbsp;</TD
422 ><TD
423 WIDTH="20%"
424 ALIGN="LEFT"
425 VALIGN="TOP"
426 >x</TD
427 ><TD
428 WIDTH="20%"
429 ALIGN="LEFT"
430 VALIGN="TOP"
431 >x</TD
432 ></TR
433 ><TR
434 ><TD
435 WIDTH="20%"
436 ALIGN="LEFT"
437 VALIGN="TOP"
438 >fast redirects</TD
439 ><TD
440 WIDTH="20%"
441 ALIGN="LEFT"
442 VALIGN="TOP"
443 >?</TD
444 ><TD
445 WIDTH="20%"
446 ALIGN="LEFT"
447 VALIGN="TOP"
448 >&nbsp;</TD
449 ><TD
450 WIDTH="20%"
451 ALIGN="LEFT"
452 VALIGN="TOP"
453 >x</TD
454 ><TD
455 WIDTH="20%"
456 ALIGN="LEFT"
457 VALIGN="TOP"
458 >x</TD
459 ></TR
460 ><TR
461 ><TD
462 WIDTH="20%"
463 ALIGN="LEFT"
464 VALIGN="TOP"
465 >hide-referrer</TD
466 ><TD
467 WIDTH="20%"
468 ALIGN="LEFT"
469 VALIGN="TOP"
470 >?</TD
471 ><TD
472 WIDTH="20%"
473 ALIGN="LEFT"
474 VALIGN="TOP"
475 >&nbsp;</TD
476 ><TD
477 WIDTH="20%"
478 ALIGN="LEFT"
479 VALIGN="TOP"
480 >x</TD
481 ><TD
482 WIDTH="20%"
483 ALIGN="LEFT"
484 VALIGN="TOP"
485 >x</TD
486 ></TR
487 ><TR
488 ><TD
489 WIDTH="20%"
490 ALIGN="LEFT"
491 VALIGN="TOP"
492 >hide-useragent</TD
493 ><TD
494 WIDTH="20%"
495 ALIGN="LEFT"
496 VALIGN="TOP"
497 >?</TD
498 ><TD
499 WIDTH="20%"
500 ALIGN="LEFT"
501 VALIGN="TOP"
502 >&nbsp;</TD
503 ><TD
504 WIDTH="20%"
505 ALIGN="LEFT"
506 VALIGN="TOP"
507 >x</TD
508 ><TD
509 WIDTH="20%"
510 ALIGN="LEFT"
511 VALIGN="TOP"
512 >x</TD
513 ></TR
514 ><TR
515 ><TD
516 WIDTH="20%"
517 ALIGN="LEFT"
518 VALIGN="TOP"
519 >content-modification</TD
520 ><TD
521 WIDTH="20%"
522 ALIGN="LEFT"
523 VALIGN="TOP"
524 >?</TD
525 ><TD
526 WIDTH="20%"
527 ALIGN="LEFT"
528 VALIGN="TOP"
529 >&nbsp;</TD
530 ><TD
531 WIDTH="20%"
532 ALIGN="LEFT"
533 VALIGN="TOP"
534 >&nbsp;</TD
535 ><TD
536 WIDTH="20%"
537 ALIGN="LEFT"
538 VALIGN="TOP"
539 >x</TD
540 ></TR
541 ><TR
542 ><TD
543 WIDTH="20%"
544 ALIGN="LEFT"
545 VALIGN="TOP"
546 >feature-x</TD
547 ><TD
548 WIDTH="20%"
549 ALIGN="LEFT"
550 VALIGN="TOP"
551 >?</TD
552 ><TD
553 WIDTH="20%"
554 ALIGN="LEFT"
555 VALIGN="TOP"
556 >&nbsp;</TD
557 ><TD
558 WIDTH="20%"
559 ALIGN="LEFT"
560 VALIGN="TOP"
561 >&nbsp;</TD
562 ><TD
563 WIDTH="20%"
564 ALIGN="LEFT"
565 VALIGN="TOP"
566 >&nbsp;</TD
567 ></TR
568 ><TR
569 ><TD
570 WIDTH="20%"
571 ALIGN="LEFT"
572 VALIGN="TOP"
573 >feature-y</TD
574 ><TD
575 WIDTH="20%"
576 ALIGN="LEFT"
577 VALIGN="TOP"
578 >?</TD
579 ><TD
580 WIDTH="20%"
581 ALIGN="LEFT"
582 VALIGN="TOP"
583 >&nbsp;</TD
584 ><TD
585 WIDTH="20%"
586 ALIGN="LEFT"
587 VALIGN="TOP"
588 >&nbsp;</TD
589 ><TD
590 WIDTH="20%"
591 ALIGN="LEFT"
592 VALIGN="TOP"
593 >&nbsp;</TD
594 ></TR
595 ><TR
596 ><TD
597 WIDTH="20%"
598 ALIGN="LEFT"
599 VALIGN="TOP"
600 >feature-z</TD
601 ><TD
602 WIDTH="20%"
603 ALIGN="LEFT"
604 VALIGN="TOP"
605 >?</TD
606 ><TD
607 WIDTH="20%"
608 ALIGN="LEFT"
609 VALIGN="TOP"
610 >&nbsp;</TD
611 ><TD
612 WIDTH="20%"
613 ALIGN="LEFT"
614 VALIGN="TOP"
615 >&nbsp;</TD
616 ><TD
617 WIDTH="20%"
618 ALIGN="LEFT"
619 VALIGN="TOP"
620 >&nbsp;</TD
621 ></TR
622 ></TBODY
623 ></TABLE
624 ></DIV
625 ></P
626 ></DIV
627 ><DIV
628 CLASS="SECT2"
629 ><H3
630 CLASS="SECT2"
631 ><A
632 NAME="BROWSECONFIG"
633 >3.6. Why can I change the configuration with a
634 browser? Does that not raise security issues?</A
635 ></H3
636 ><P
637 >What I don't understand, is how I can browser edit the config file as a
638 regular user, while the whole <TT
639 CLASS="FILENAME"
640 >/etc/privoxy</TT
641 > hierarchy
642 belongs to the user <SPAN
643 CLASS="QUOTE"
644 >"privoxy"</SPAN
645 >, with only 644 permissions.
646  </P
647 ><P
648 >When you use the browser-based editor, <SPAN
649 CLASS="APPLICATION"
650 >Privoxy</SPAN
651 >
652 itself is writing to the config files.  Because
653 <SPAN
654 CLASS="APPLICATION"
655 >Privoxy</SPAN
656 > is running as the user <SPAN
657 CLASS="QUOTE"
658 >"privoxy"</SPAN
659 >, it can
660 update the config files.
661  </P
662 ><P
663 >If you don't like this, setting <SPAN
664 CLASS="QUOTE"
665 >"enable-edit-actions 0"</SPAN
666 > in the
667 config file will disable the browser-based editor.  If you're that paranoid,
668 you should also consider setting <SPAN
669 CLASS="QUOTE"
670 >"enable-remote-toggle 0"</SPAN
671 > to prevent
672 browser-based enabling/disabling of <SPAN
673 CLASS="APPLICATION"
674 >Privoxy</SPAN
675 >.
676  </P
677 ><P
678 >Note that normally only local users can connect to
679 <SPAN
680 CLASS="APPLICATION"
681 >Privoxy</SPAN
682 >, so this is not (normally) a security
683 problem.
684  </P
685 ></DIV
686 ><DIV
687 CLASS="SECT2"
688 ><H3
689 CLASS="SECT2"
690 ><A
691 NAME="AEN381"
692 >3.7. What is <SPAN
693 CLASS="QUOTE"
694 >"default.filter"</SPAN
695 >?</A
696 ></H3
697 ><P
698 > The <SPAN
699 CLASS="QUOTE"
700 >"default.filter"</SPAN
701 > file is used to <SPAN
702 CLASS="QUOTE"
703 >"filter"</SPAN
704 > any
705  web page content. By <SPAN
706 CLASS="QUOTE"
707 >"filtering"</SPAN
708 > we mean it can modify, remove, 
709  or change <I
710 CLASS="EMPHASIS"
711 >anything</I
712 > on the page, including HTML tags, and
713  JavaScript. Regular expressions are used to accomplish this, and operate 
714  on a line by line basis. This is potentially a very powerful feature, but
715  requires some expertise. </P
716 ><P
717 > If you are familiar with regular expressions, and HTML, you can look at 
718  the provided <TT
719 CLASS="FILENAME"
720 >default.filter</TT
721 > with a text editor and see
722  some of things it can be used for.</P
723 ><P
724 > Presently, there is no GUI editor option for this part of the configuration, 
725  but you can disable/enable various sections of the included default 
726  file with the <SPAN
727 CLASS="QUOTE"
728 >"Actions List Editor"</SPAN
729 > from your browser.</P
730 ></DIV
731 ><DIV
732 CLASS="SECT2"
733 ><H3
734 CLASS="SECT2"
735 ><A
736 NAME="AEN393"
737 >3.8. How can I set up <SPAN
738 CLASS="APPLICATION"
739 >Privoxy</SPAN
740 > to act as a proxy for my 
741  LAN?</A
742 ></H3
743 ><P
744 > By default, <SPAN
745 CLASS="APPLICATION"
746 >Privoxy</SPAN
747 > only responds to requests 
748  from localhost. To have it act as a server for a network, this needs to be 
749  changed in the main config file where the <SPAN
750 CLASS="APPLICATION"
751 >Privoxy</SPAN
752 >
753  configuration is located. In that file is a <SPAN
754 CLASS="QUOTE"
755 >"listen-address"</SPAN
756
757  option. It may be commented out with a <SPAN
758 CLASS="QUOTE"
759 >"#"</SPAN
760 > symbol. Make sure 
761  it is uncommented, and assign it the address of the LAN gateway interface, 
762  and port number to use:</P
763 ><P
764 > <TABLE
765 BORDER="0"
766 BGCOLOR="#E0E0E0"
767 WIDTH="100%"
768 ><TR
769 ><TD
770 ><PRE
771 CLASS="SCREEN"
772 >  listen-address  192.168.1.1:8118
773  </PRE
774 ></TD
775 ></TR
776 ></TABLE
777 ></P
778 ><P
779 > Save the file, and restart <SPAN
780 CLASS="APPLICATION"
781 >Privoxy</SPAN
782 >. Configure 
783  all browsers on the network then to use this address and port number.</P
784 ></DIV
785 ><DIV
786 CLASS="SECT2"
787 ><H3
788 CLASS="SECT2"
789 ><A
790 NAME="AEN405"
791 >3.9. Instead of ads, now I get a checkerboard pattern. I don't want to see anything.</A
792 ></H3
793 ><P
794 > This is a configuration option for images that
795  <SPAN
796 CLASS="APPLICATION"
797 >Privoxy</SPAN
798 > is stopping. You have the choice   of a checkerboard
799  pattern, a transparent 1x1 GIF image (aka <SPAN
800 CLASS="QUOTE"
801 >"blank"</SPAN
802 >), or a custom
803  URL of your choice. Note that to fit this category, the URL must match both 
804  the <SPAN
805 CLASS="QUOTE"
806 >"+image"</SPAN
807 > and <SPAN
808 CLASS="QUOTE"
809 >"+block"</SPAN
810 > actions.</P
811 ><P
812 > If you want to see nothing, then change the <SPAN
813 CLASS="QUOTE"
814 >"+image-blocker"</SPAN
815
816  action to <SPAN
817 CLASS="QUOTE"
818 >"+image-blocker{blank}"</SPAN
819 >. This can be done from the 
820  <SPAN
821 CLASS="QUOTE"
822 >"Edit Actions List"</SPAN
823 > selection at <A
824 HREF="http://p.p/"
825 TARGET="_top"
826 >http://p.p/</A
827 >. Or by hand editing the appropriate 
828  actions file. This will only effect what is defined as <SPAN
829 CLASS="QUOTE"
830 >"images"</SPAN
831 >
832  though. Also, some URLs that generate the bright red <SPAN
833 CLASS="QUOTE"
834 >"Blocked"</SPAN
835 >
836  banner, can be moved to the <SPAN
837 CLASS="QUOTE"
838 >"+image-blocker"</SPAN
839 > section for the
840  same reason, but there are some limits and risks to this (see below).</P
841 ></DIV
842 ><DIV
843 CLASS="SECT2"
844 ><H3
845 CLASS="SECT2"
846 ><A
847 NAME="AEN420"
848 >3.10. Why would anybody want to see a checkerboard pattern?</A
849 ></H3
850 ><P
851 > This can be helpful for troubleshooting problems. It might also be good 
852  for anyone new to <SPAN
853 CLASS="APPLICATION"
854 >Privoxy</SPAN
855 > so that they can 
856  see if their favorite pages are displaying correctly, and
857  <SPAN
858 CLASS="APPLICATION"
859 >Privoxy</SPAN
860 > is not inadvertently removing something 
861  important.</P
862 ></DIV
863 ><DIV
864 CLASS="SECT2"
865 ><H3
866 CLASS="SECT2"
867 ><A
868 NAME="AEN425"
869 >3.11. I see large red banners on some pages that say 
870 <SPAN
871 CLASS="QUOTE"
872 >"Blocked"</SPAN
873 >. Why and how do I get rid of this?</A
874 ></H3
875 ><P
876 > These are URLs that match something in one of 
877  <SPAN
878 CLASS="APPLICATION"
879 >Privoxy's</SPAN
880 > block actions (+block). It is meant
881  to be a warning so that you know something has been blocked and an easy way
882  for you to see why. These are handled differently than what has been defined
883  explicitly as <SPAN
884 CLASS="QUOTE"
885 >"images"</SPAN
886 > (e.g. ad banners). Depending on the 
887  URL itself, it is sometimes hard for <SPAN
888 CLASS="APPLICATION"
889 >Privoxy</SPAN
890 > to 
891  really know whether there is indeed an ad image there or not. And there are
892  limitations as to what <SPAN
893 CLASS="APPLICATION"
894 >Privoxy</SPAN
895 > can do to 
896  <SPAN
897 CLASS="QUOTE"
898 >"fool"</SPAN
899 > the browser.</P
900 ><P
901 > For instance, if the ad is in a frame, then it is embedded in the separate
902  HTML page used for the frame. In this case, you cannot just substitute an
903  aribitray image (like we would for a <SPAN
904 CLASS="QUOTE"
905 >"blank"</SPAN
906 > image), for an HTML
907  page. The browser is expecting an HTML page, and that is what it must have
908  for frames. So this situation can be a little trickier to deal with, and 
909  <SPAN
910 CLASS="APPLICATION"
911 >Privoxy</SPAN
912 > will use the <SPAN
913 CLASS="QUOTE"
914 >"Blocked"</SPAN
915 > page.</P
916 ><P
917 > If you want these to be treated as if they were images, so that they can be
918  made invisible, you can try moving the offending URL from the
919  <SPAN
920 CLASS="QUOTE"
921 >"+block"</SPAN
922 > section to the <SPAN
923 CLASS="QUOTE"
924 >"+imageblock"</SPAN
925 > section of
926  your actions file. Just be forewarned, if any URL is made
927  <SPAN
928 CLASS="QUOTE"
929 >"invisible"</SPAN
930 >, you may not have any inkling that something has
931  been removed from that page, or why. If this approach does not work, then you are
932  probably dealing with a frame (or <SPAN
933 CLASS="QUOTE"
934 >"ilayer"</SPAN
935 >), and the only thing
936  that can go there is an HTML page of some sort.</P
937 ><P
938 > To deal with this situation, you could modify the
939  <SPAN
940 CLASS="QUOTE"
941 >"<TT
942 CLASS="FILENAME"
943 >block</TT
944 >"</SPAN
945 > HTML template that is used by
946  <SPAN
947 CLASS="APPLICATION"
948 >Privoxy</SPAN
949 > to display this, and make it something
950  more to your liking. Currently, there is no configuration option for this.
951  You will have to modify, or create your own page, and use this to replace
952  <TT
953 CLASS="FILENAME"
954 >templates/blocked</TT
955 >, which is what
956  <SPAN
957 CLASS="APPLICATION"
958 >Privoxy</SPAN
959 > uses to display the <SPAN
960 CLASS="QUOTE"
961 >"Blocked"</SPAN
962 >
963  page.</P
964 ><P
965 > Another way to deal with this is find why and where
966  <SPAN
967 CLASS="APPLICATION"
968 >Privoxy</SPAN
969 > is blocking the frame, and 
970  diable this. Then let the <SPAN
971 CLASS="QUOTE"
972 >"+image-blocker"</SPAN
973 > action 
974  handle the ad that is embedded in the frame's HTML page. </P
975 ></DIV
976 ><DIV
977 CLASS="SECT2"
978 ><H3
979 CLASS="SECT2"
980 ><A
981 NAME="ALLISEEISRED"
982 >3.12. I cannot see all of the <SPAN
983 CLASS="QUOTE"
984 >"Blocked"</SPAN
985 > page banner. All I
986 see is a bright red square.</A
987 ></H3
988 ><P
989 > There is not enough space to fit the entire page. Try right clicking on the
990  visible, red portion, and select <SPAN
991 CLASS="QUOTE"
992 >"Show Frame"</SPAN
993 >, or equivalent.
994  This will usually allow you to see the entire Privoxy <SPAN
995 CLASS="QUOTE"
996 >"Blocked"</SPAN
997 >
998  page, and from there you can see just what is being blocked, and why.</P
999 ></DIV
1000 ><DIV
1001 CLASS="SECT2"
1002 ><H3
1003 CLASS="SECT2"
1004 ><A
1005 NAME="SRVANY"
1006 >3.13. Can <SPAN
1007 CLASS="APPLICATION"
1008 >Privoxy</SPAN
1009 > run as a service 
1010 on Win2K/NT?</A
1011 ></H3
1012 ><P
1013 > Yes, it can run as a system service using <B
1014 CLASS="COMMAND"
1015 >srvany.exe</B
1016 >.
1017  The only catch is that this will effectively disable the
1018  <SPAN
1019 CLASS="APPLICATION"
1020 >Privoxy</SPAN
1021 > icon in the taskbar. You can have 
1022  one or the other, but not both at this time :( </P
1023 ><P
1024 > There is a pending feature request for this functionality. See 
1025  thread: <A
1026 HREF="http://sourceforge.net/tracker/?func=detail&atid=361118&aid=485617&group_id=11118"
1027 TARGET="_top"
1028 >http://sourceforge.net/tracker/?func=detail&#38;atid=361118&#38;aid=485617&#38;group_id=11118</A
1029 >, 
1030  for details, and a sample configuration.&#13;</P
1031 ></DIV
1032 ><DIV
1033 CLASS="SECT2"
1034 ><H3
1035 CLASS="SECT2"
1036 ><A
1037 NAME="OTHERPROXY"
1038 >3.14. How can I make <SPAN
1039 CLASS="APPLICATION"
1040 >Privoxy</SPAN
1041 > work with other 
1042 proxies like <SPAN
1043 CLASS="APPLICATION"
1044 >Squid</SPAN
1045 >?</A
1046 ></H3
1047 ><P
1048 > This can be done. See the <A
1049 HREF="../user-manual/configuration.html#FORWARDING"
1050 TARGET="_top"
1051 >user manual</A
1052 >, 
1053  which describes how to do this.&#13;</P
1054 ></DIV
1055 ></DIV
1056 ><DIV
1057 CLASS="NAVFOOTER"
1058 ><HR
1059 ALIGN="LEFT"
1060 WIDTH="100%"><TABLE
1061 WIDTH="100%"
1062 BORDER="0"
1063 CELLPADDING="0"
1064 CELLSPACING="0"
1065 ><TR
1066 ><TD
1067 WIDTH="33%"
1068 ALIGN="left"
1069 VALIGN="top"
1070 ><A
1071 HREF="installation.html"
1072 >Prev</A
1073 ></TD
1074 ><TD
1075 WIDTH="34%"
1076 ALIGN="center"
1077 VALIGN="top"
1078 ><A
1079 HREF="index.html"
1080 >Home</A
1081 ></TD
1082 ><TD
1083 WIDTH="33%"
1084 ALIGN="right"
1085 VALIGN="top"
1086 ><A
1087 HREF="misc.html"
1088 >Next</A
1089 ></TD
1090 ></TR
1091 ><TR
1092 ><TD
1093 WIDTH="33%"
1094 ALIGN="left"
1095 VALIGN="top"
1096 >Installation</TD
1097 ><TD
1098 WIDTH="34%"
1099 ALIGN="center"
1100 VALIGN="top"
1101 >&nbsp;</TD
1102 ><TD
1103 WIDTH="33%"
1104 ALIGN="right"
1105 VALIGN="top"
1106 >Miscellaneous</TD
1107 ></TR
1108 ></TABLE
1109 ></DIV
1110 ></BODY
1111 ></HTML
1112 >