X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=doc%2Fwebserver%2Fuser-manual%2Fstartup.html;h=fa653dd78bc6268a2a72432198051853f32de927;hp=3c6560e06f6a1f8957a015b4e888263f51f1d900;hb=75397537c3986cafa8dc1b4b37af40f93ab9372f;hpb=2d6b5d2e894f920d7e376a9dc4fa436a8dbefcec diff --git a/doc/webserver/user-manual/startup.html b/doc/webserver/user-manual/startup.html index 3c6560e0..fa653dd7 100644 --- a/doc/webserver/user-manual/startup.html +++ b/doc/webserver/user-manual/startup.html @@ -1,475 +1,245 @@ -Starting Privoxy
Privoxy User Manual
PrevNext

5. Starting Privoxy

Before launching Privoxy for the first time, you - will want to configure your browser(s) to use - Privoxy as a HTTP and HTTPS proxy. The default is - 127.0.0.1 (or localhost) for the proxy address, and port 8118 (earlier versions - used port 8000). This is the one configuration step that must be done!

- With Netscape (and - Mozilla), this can be set under Edit - -> Preferences -> Advanced -> Proxies -> HTTP Proxy. - For Internet Explorer: Tools -> - Internet Properties -> Connections -> LAN Setting. Then, - check "Use Proxy" and fill in the appropriate info (Address: - 127.0.0.1, Port: 8118). Include if HTTPS proxy support too.

After doing this, flush your browser's disk and memory caches to force a - re-reading of all pages and to get rid of any ads that may be cached. You - are now ready to start enjoying the benefits of using - Privoxy!

Privoxy is typically started by specifying the - main configuration file to be used on the command line. If no configuration - file is specified on the command line, Privoxy - will look for a file named config in the current - directory. Except on Win32 where it will try config.txt.

5.1. RedHat, Conectiva and Debian

We use a script. Note that RedHat does not start Privoxy upon booting per -default. It will use the file /etc/privoxy/config as its -main configuration file. FIXME: Debian??

 # /etc/rc.d/init.d/privoxy start

5.2. SuSE

We use a script. It will use the file /etc/privoxy/config -as its main configuration file. Note that SuSE starts Privoxy upon booting -your PC.

 # rcprivoxy start

5.3. Windows

Click on the Privoxy Icon to start Privoxy. If no configuration file is - specified on the command line, Privoxy will look - for a file named config.txt. Note that Windows will - automatically start Privoxy upon booting you PC.

5.4. Solaris, NetBSD, FreeBSD, HP-UX and others

Example Unix startup command:

 # /usr/sbin/privoxy /etc/privoxy/config

5.5. OS/2

FIXME.

5.6. MAX OSX

FIXME.

5.7. AmigaOS

FIXME.

5.8. Command Line Options

Privoxy may be invoked with the following - command-line options:


PrevHomeNext
Quickstart to Using Privoxy Privoxy Configuration
\ No newline at end of file + + + + Starting Privoxy + + + + + + + + + + +
+

5. Starting Privoxy

+

Before launching Privoxy for the first time, you will want to configure your + browser(s) to use Privoxy as a HTTP and HTTPS (SSL) proxy. The default is 127.0.0.1 (or localhost) for + the proxy address, and port 8118 (earlier versions used port 8000). This is the one configuration step that must be done!

+

Please note that Privoxy can only proxy HTTP and HTTPS traffic. It will not + work with FTP or other protocols.

+
+ +

Figure 2. Proxy Configuration Showing Mozilla/Netscape HTTP and HTTPS (SSL) Settings

+
+

+
+
+

With Firefox, this is typically set under:

+

 Tools -> Options ->  Advanced -> Network ->Connection -> Settings

+

Or optionally on some platforms:

+

 Edit -> Preferences -> General -> Connection + Settings -> Manual Proxy Configuration

+

With Netscape (and Mozilla), this can be set + under:

+

 Edit -> Preferences -> Advanced -> Proxies -> HTTP Proxy

+

For Internet Explorer v.5-7:

+

 Tools -> Internet Options -> Connections -> LAN Settings

+

Then, check "Use Proxy" and fill in the appropriate info (Address: 127.0.0.1, Port: + 8118). Include HTTPS (SSL), if you want HTTPS proxy support too (sometimes labeled "Secure"). Make sure any checkboxes like "Use the same proxy server for all + protocols" is UNCHECKED. You want only HTTP and HTTPS + (SSL)!

+
+ +

Figure 3. Proxy Configuration Showing Internet Explorer HTTP and HTTPS (Secure) Settings

+
+

+
+
+

After doing this, flush your browser's disk and memory caches to force a re-reading of all pages and to get rid + of any ads that may be cached. Remove any cookies, if you want Privoxy to manage that. You are now ready to start + enjoying the benefits of using Privoxy!

+

Privoxy itself is typically started by specifying the main configuration file + to be used on the command line. If no configuration file is specified on the command line, Privoxy will look for a file named config in the current directory. + Except on Win32 where it will try config.txt.

+
+

5.1. Debian

+

We use a script. Note that Debian typically starts Privoxy upon booting per + default. It will use the file /etc/privoxy/config as its main configuration file.

+ + + + +
+
 # /etc/init.d/privoxy start
+
+
+
+

5.2. FreeBSD and ElectroBSD

+

To start Privoxy upon booting, add "privoxy_enable='YES'" to /etc/rc.conf. Privoxy will use /usr/local/etc/privoxy/config as its main configuration file.

+

If you installed Privoxy into a jail, the paths above are relative to the + jail root.

+

To start Privoxy manually, run:

+ + + + +
+
 # service privoxy onestart
+
+
+
+

5.3. Windows

+

Click on the Privoxy Icon to start Privoxy. + If no configuration file is specified on the command line, Privoxy will look for + a file named config.txt. Note that Windows will automatically start Privoxy when the system starts if you chose that option when installing.

+

Privoxy can run with full Windows service functionality. On Windows only, the + Privoxy program has two new command line arguments to install and uninstall + Privoxy as a service. See the Windows Installation instructions for details.

+
+
+

5.4. Generic instructions for Unix derivates (Solaris, + NetBSD, HP-UX etc.)

+

Example Unix startup command:

+ + + + +
+
 # /usr/sbin/privoxy --user privoxy /etc/privoxy/config
+
+

Note that if you installed Privoxy through a package manager, the package + will probably contain a platform-specific script or configuration file to start Privoxy upon boot.

+
+
+

5.5. OS/2

+

During installation, Privoxy is configured to start automatically when the + system restarts. You can start it manually by double-clicking on the Privoxy + icon in the Privoxy folder.

+
+
+

5.6. Mac OS X

+

The privoxy service will automatically start after a successful installation (and thereafter every time your + computer starts up) however you will need to configure your web browser(s) to use it. To do so, configure them to + use a proxy for HTTP and HTTPS at the address 127.0.0.1:8118.

+

To prevent the privoxy service from automatically starting when your computer starts up, remove or rename the + file /Library/LaunchDaemons/org.ijbswa.privoxy.plist (on OS X 10.5 and higher) or the + folder named /Library/StartupItems/Privoxy (on OS X 10.4 'Tiger').

+

To manually start or stop the privoxy service, use the scripts startPrivoxy.sh and stopPrivoxy.sh supplied in + /Applications/Privoxy. They must be run from an administrator account, using sudo.

+
+
+

5.7. Command Line Options

+

Privoxy may be invoked with the following command-line options:

+ +

On MS Windows only there are two additional command-line options to allow + Privoxy to install and run as a service. See the Window Installation + section for details.

+
+
+ + +