Rearrange struct client_state to reduce memory on amd64
[privoxy.git] / doc / webserver / faq / installation.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5   <title>Installation</title>
6   <meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.79">
7   <link rel="HOME" title="Privoxy Frequently Asked Questions" href="index.html">
8   <link rel="PREVIOUS" title="General Information" href="general.html">
9   <link rel="NEXT" title="Configuration" href="configuration.html">
10   <link rel="STYLESHEET" type="text/css" href="../p_doc.css">
11   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
12 </head>
13 <body class="SECT1" bgcolor="#EEEEEE" text="#000000" link="#0000FF" vlink="#840084" alink="#0000FF">
14   <div class="NAVHEADER">
15     <table summary="Header navigation table" width="100%" border="0" cellpadding="0" cellspacing="0">
16       <tr>
17         <th colspan="3" align="center">Privoxy Frequently Asked Questions</th>
18       </tr>
19       <tr>
20         <td width="10%" align="left" valign="bottom"><a href="general.html" accesskey="P">Prev</a></td>
21         <td width="80%" align="center" valign="bottom"></td>
22         <td width="10%" align="right" valign="bottom"><a href="configuration.html" accesskey="N">Next</a></td>
23       </tr>
24     </table>
25     <hr align="left" width="100%">
26   </div>
27   <div class="SECT1">
28     <h1 class="SECT1"><a name="INSTALLATION" id="INSTALLATION">2. Installation</a></h1>
29     <div class="SECT2">
30       <h3 class="SECT2"><a name="WHICHBROWSERS" id="WHICHBROWSERS">2.1. Which browsers are supported by
31       Privoxy?</a></h3>
32       <p>Any browser that can be configured to use a proxy, which should be virtually all browsers, including
33       <span class="APPLICATION">Firefox</span>, <span class="APPLICATION">Internet Explorer</span>, <span class=
34       "APPLICATION">Opera</span>, and <span class="APPLICATION">Safari</span> among others. Direct browser support is
35       not an absolute requirement since <span class="APPLICATION">Privoxy</span> runs as a separate application and
36       talks to the browser in the standardized HTTP protocol, just like a web server does.</p>
37     </div>
38     <div class="SECT2">
39       <h3 class="SECT2"><a name="WHICHOS" id="WHICHOS">2.2. Which operating systems are supported?</a></h3>
40       <p>At present, <span class="APPLICATION">Privoxy</span> is known to run on Windows 95 and later versions (98, ME,
41       2000, XP, Vista, Windows 7, Windows 10 etc.), GNU/Linux (RedHat, SuSE, Debian, Fedora, Gentoo, Slackware and
42       others), Mac OS X (10.4 and upwards on PPC and Intel processors), Haiku, DragonFly, ElectroBSD, FreeBSD, NetBSD,
43       OpenBSD, Solaris, and various other flavors of Unix.</p>
44       <p>But any operating system that runs TCP/IP, can conceivably take advantage of <span class=
45       "APPLICATION">Privoxy</span> in a networked situation where <span class="APPLICATION">Privoxy</span> would run as
46       a server on a LAN gateway. Then only the <span class="QUOTE">"gateway"</span> needs to be running one of the
47       above operating systems.</p>
48       <p>Source code is freely available, so porting to other operating systems is always a possibility.</p>
49     </div>
50     <div class="SECT2">
51       <h3 class="SECT2"><a name="EMAIL-CLIENT" id="EMAIL-CLIENT">2.3. Can I use Privoxy with my email client?</a></h3>
52       <p>As long as there is some way to set a HTTP proxy for the client, then yes, any application can be used,
53       whether it is strictly speaking a <span class="QUOTE">"browser"</span> or not. Though this may not be the best
54       approach for dealing with some of the common abuses of HTML in email. See <a href=
55       "configuration.html#OUTLOOK">How can I configure <span class="APPLICATION">Privoxy</span> with <span class=
56       "APPLICATION">Outlook</span>?</a> below for more on this.</p>
57       <p>Be aware that HTML email presents a number of unique security and privacy related issues, that can require
58       advanced skills to overcome. The developers recommend using email clients that can be configured to convert HTML
59       to plain text for these reasons.</p>
60     </div>
61     <div class="SECT2">
62       <h3 class="SECT2"><a name="FIRSTSTEP" id="FIRSTSTEP">2.4. I just installed Privoxy. Is there anything special I
63       have to do now?</a></h3>
64       <p>All browsers should be told to use <span class="APPLICATION">Privoxy</span> as a proxy by specifying the
65       correct proxy address and port number in the appropriate configuration area for the browser. It's possible to
66       combine <span class="APPLICATION">Privoxy</span> with a packet filter to intercept HTTP requests even if the
67       client isn't explicitly configured to use <span class="APPLICATION">Privoxy</span>, but where possible,
68       configuring the client is recommended. See <a href="../user-manual/startup.html" target="_top">the User Manual
69       for more details</a>. You should also flush your browser's memory and disk cache to get rid of any cached junk
70       items, and remove any stored <a href="https://en.wikipedia.org/wiki/Browser_cookie" target=
71       "_top">cookies</a>.</p>
72     </div>
73     <div class="SECT2">
74       <h3 class="SECT2"><a name="LOCALHOST" id="LOCALHOST">2.5. What is the proxy address of Privoxy?</a></h3>
75       <p>If you set up the <span class="APPLICATION">Privoxy</span> to run on the computer you browse from (rather than
76       your ISP's server or some networked computer on a LAN), the proxy will be on <tt class="LITERAL">127.0.0.1</tt>
77       (sometimes referred to as <span class="QUOTE">"localhost"</span>, which is the special name used by every
78       computer on the Internet to refer to itself) and the port will be 8118 (unless you used the <a href=
79       "../user-manual/config.html#LISTEN-ADDRESS" target="_top">listen-address</a> config option to tell <span class=
80       "APPLICATION">Privoxy</span> to run on a different port).</p>
81       <p>When configuring your browser's proxy settings you typically enter the word <span class=
82       "QUOTE">"localhost"</span> or the IP address <span class="QUOTE">"127.0.0.1"</span> in the boxes next to
83       <span class="QUOTE">"HTTP"</span> and <span class="QUOTE">"Secure"</span> (HTTPS) and then the number
84       <span class="QUOTE">"8118"</span> for <span class="QUOTE">"port"</span>. This tells your browser to send all web
85       requests to <span class="APPLICATION">Privoxy</span> instead of directly to the Internet.</p>
86       <p><span class="APPLICATION">Privoxy</span> can also be used to proxy for a Local Area Network. In this case,
87       your would enter either the IP address of the LAN host where <span class="APPLICATION">Privoxy</span> is running,
88       or the equivalent hostname, e.g. <tt class="LITERAL">192.168.1.1</tt>. Port assignment would be same as above.
89       Note that <span class="APPLICATION">Privoxy</span> doesn't listen on any LAN interfaces by default.</p>
90       <p><span class="APPLICATION">Privoxy</span> does not currently handle any other protocols such as FTP, SMTP, IM,
91       IRC, ICQ, etc.</p>
92     </div>
93     <div class="SECT2">
94       <h3 class="SECT2"><a name="NOTHING" id="NOTHING">2.6. I just installed Privoxy, and nothing is happening. All the
95       ads are there. What's wrong?</a></h3>
96       <p>Did you configure your browser to use <span class="APPLICATION">Privoxy</span> as a proxy? It does not sound
97       like it. See above. You might also try flushing the browser's caches to force a full re-reading of pages. You can
98       verify that <span class="APPLICATION">Privoxy</span> is running, and your browser is correctly configured by
99       entering the special URL: <a href="http://p.p/" target="_top">http://p.p/</a>. This should take you to a page
100       titled <span class="QUOTE">"This is Privoxy.."</span> with access to <span class="APPLICATION">Privoxy's</span>
101       internal configuration. If you see this, then you are good to go. If you receive a page saying <span class=
102       "QUOTE">"Privoxy is not running"</span>, then the browser is not set up to use your <span class=
103       "APPLICATION">Privoxy</span> installation. If you receive anything else (probably nothing at all), it could
104       either be that the browser is not set up correctly, or that <span class="APPLICATION">Privoxy</span> is not
105       running at all. Check the <a href="../user-manual/config.html#LOGFILE" target="_top">log file</a>. For
106       instructions on starting <span class="APPLICATION">Privoxy</span> and browser configuration, see the <a href=
107       "https://www.privoxy.org/user-manual/startup.html" target="_top">chapter on starting <span class=
108       "APPLICATION">Privoxy</span></a> in the <a href="https://www.privoxy.org/user-manual/" target="_top">User
109       Manual</a>.</p>
110     </div>
111     <div class="SECT2">
112       <h3 class="SECT2"><a name="NOTUSED" id="NOTUSED">2.7. I get a <span class="QUOTE">"Privoxy is not being
113       used"</span> dummy page although Privoxy is running and being used.</a></h3>
114       <p>First, make sure that Privoxy is <span class="emphasis"><i class="EMPHASIS">really</i></span> running and
115       being used by visiting <a href="http://p.p/" target="_top">http://p.p/</a>. You should see the <span class=
116       "APPLICATION">Privoxy</span> main page. If not, see the <a href=
117       "https://www.privoxy.org/user-manual/startup.html" target="_top">chapter on starting <span class=
118       "APPLICATION">Privoxy</span></a> in the <a href="https://www.privoxy.org/user-manual/" target="_top">User
119       Manual</a>.</p>
120       <p>Now if <a href="http://p.p/" target="_top">http://p.p/</a> works for you, but other parts of <span class=
121       "APPLICATION">Privoxy</span>'s web interface show the dummy page, your browser has cached a redirection it
122       encountered before <span class="APPLICATION">Privoxy</span> was being used. You need to clear your browser's
123       cache. Note that shift-reloading the dummy page won't help, since that'll only refresh the dummy page, not the
124       redirection that lead you there.</p>
125       <p>The procedure for clearing the cache varies from browser to browser. For example, <span class=
126       "APPLICATION">Mozilla/Netscape</span> users would click <span class="GUIBUTTON">Edit</span> --&#62; <span class=
127       "GUIBUTTON">Preferences</span> --&#62; <span class="GUIBUTTON">Advanced</span> --&#62; <span class=
128       "GUIBUTTON">Cache</span> and then click both <span class="QUOTE">"<span class="GUIBUTTON">Clear Memory
129       Cache</span>"</span> and <span class="QUOTE">"<span class="GUIBUTTON">Clear Disk Cache</span>"</span>. In some
130       <span class="APPLICATION">Firefox</span> versions it's <span class="GUIBUTTON">Tools</span> --&#62; <span class=
131       "GUIBUTTON">Options</span> --&#62; <span class="GUIBUTTON">Privacy</span> --&#62; <span class=
132       "GUIBUTTON">Cache</span> and then click <span class="QUOTE">"<span class="GUIBUTTON">Clear Cache
133       Now</span>"</span>.</p>
134     </div>
135   </div>
136   <div class="NAVFOOTER">
137     <hr align="left" width="100%">
138     <table summary="Footer navigation table" width="100%" border="0" cellpadding="0" cellspacing="0">
139       <tr>
140         <td width="33%" align="left" valign="top"><a href="general.html" accesskey="P">Prev</a></td>
141         <td width="34%" align="center" valign="top"><a href="index.html" accesskey="H">Home</a></td>
142         <td width="33%" align="right" valign="top"><a href="configuration.html" accesskey="N">Next</a></td>
143       </tr>
144       <tr>
145         <td width="33%" align="left" valign="top">General Information</td>
146         <td width="34%" align="center" valign="top">&nbsp;</td>
147         <td width="33%" align="right" valign="top">Configuration</td>
148       </tr>
149     </table>
150   </div>
151 </body>
152 </html>