root / trunk / src / dot / proxy / config.win

Revision 7793, 4.9 kB (checked in by BradNeuberg, 22 months ago)

Found a way to have Windows, running in Parallels, talk to my Mac OS X portion outside the virtual machine for the 'server-side' of Moxie, without having to have a network present which I had to have to resolve private IP addresses in the past.

Line 
1# Configuration file for Dojo Offline for Windows
2
3# You should not need to use a configuration file; all configuration
4# variables have reasonable defaults.  If you want to use one, you
5# can copy this to /etc/polipo/config or to ~/.polipo and modify.
6
7# This file only contains some of the configuration variables; see the
8# list given by ``polipo -v'' and the manual for more.
9
10
11### Basic configuration
12### *******************
13
14# Uncomment one of these if you want to allow remote clients to
15# connect:
16
17# proxyAddress = "::0"        # both IPv4 and IPv6
18# proxyAddress = "0.0.0.0"    # IPv4 only
19
20# If you do that, you'll want to restrict the set of hosts allowed to
21# connect:
22
23# allowedClients = "127.0.0.1, 134.157.168.57"
24# allowedClients = "127.0.0.1, 134.157.168.0/24"
25
26# Uncomment this if you want your Polipo to identify itself by
27# something else than the host name:
28
29# proxyName = "polipo.example.org"
30
31# Uncomment this if there's only one user using this instance of Polipo:
32
33# cacheIsShared = false
34
35# Uncomment this if you want to use a parent proxy:
36
37# parentProxy = "squid.example.org:3128"
38
39# Uncomment this if you want to use a parent SOCKS proxy:
40
41# socksParentProxy = "localhost:9050"
42# socksProxyType = socks5
43
44# A test URL that will actually resolve to the address given by
45# 'testDomainAddress'; useful because Polipo does not resolve your local
46# etc/hosts.conf file, which can
47# make testing disconnected web applications running on your local machine
48# difficult
49testDomain = "brad.com"
50testDomainAddress = "10.37.129.2"
51
52
53### Memory
54### ******
55
56# Uncomment this if you want Polipo to use a ridiculously small amount
57# of memory (a hundred C-64 worth or so):
58
59# chunkHighMark = 819200
60# objectHighMark = 128
61
62# Uncomment this if you've got plenty of memory:
63
64# chunkHighMark = 50331648
65# objectHighMark = 16384
66
67
68### On-disk data
69### ************
70
71# Uncomment this if you want to disable the on-disk cache:
72
73# diskCacheRoot = ""
74
75# Uncomment this if you want to put the on-disk cache in a
76# non-standard location:
77
78diskCacheRoot = /.offline-cache
79
80# Uncomment this if you want to disable the local web server:
81
82# localDocumentRoot = ""
83
84# Uncomment this if you want to enable the pages under /polipo/index?
85# and /polipo/servers?.  This is a serious privacy leak if your proxy
86# is shared.
87
88# disableIndexing = false
89# disableServersList = false
90
91# Uncomment this if you want to enable offline support for web
92# applications
93
94disableOfflineSupport = false;
95
96
97### Domain Name System
98### ******************
99
100# Uncomment this if you want to contact IPv4 hosts only (and make DNS
101# queries somewhat faster):
102
103# dnsQueryIPv6 = no
104
105# Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
106# double-stack hosts:
107
108# dnsQueryIPv6 = reluctantly
109
110# Uncomment this to disable Polipo's DNS resolver and use the system's
111# default resolver instead.  If you do that, Polipo will freeze during
112# every DNS query:
113
114# dnsUseGethostbyname = yes
115
116
117### HTTP
118### ****
119
120# Uncomment this if you want to enable detection of proxy loops.
121# This will cause your hostname (or whatever you put into proxyName
122# above) to be included in every request:
123
124# disableVia=false
125
126# Uncomment this if you want to slightly reduce the amount of
127# information that you leak about yourself:
128
129# censoredHeaders = from, accept-language
130# censorReferer = maybe
131
132# Uncomment this if you're paranoid.  This will break a lot of sites,
133# though:
134
135# censoredHeaders = set-cookie, cookie, cookie2, from, accept-language
136# censorReferer = true
137
138# Uncomment this if you want to use Poor Man's Multiplexing; increase
139# the sizes if you're on a fast line.  They should each amount to a few
140# seconds' worth of transfer; if pmmSize is small, you'll want
141# pmmFirstSize to be larger.
142
143# Note that PMM is somewhat unreliable.
144
145# pmmFirstSize = 16384
146# pmmSize = 8192
147
148# Uncomment this if your user-agent does something reasonable with
149# Warning headers (most don't):
150
151# relaxTransparency = maybe
152
153# Uncomment this if you never want to revalidate instances for which
154# data is available (this is not a good idea):
155
156# relaxTransparency = yes
157
158# Uncomment this if you have no network:
159
160proxyOffline = yes
161
162# Uncomment this if you want to avoid revalidating instances with a
163# Vary header (this is not a good idea):
164
165# mindlesslyCacheVary = true
166
167### Offline
168### *******
169
170# Uncomment to assign a custom location for where the list of
171# offline enabled web applications is located
172
173offlineFile = /.offline-list
174# offlineFile = /some/custom/location
175
176# Uncomment to assign a custom location where our Proxy AutoConfig (PAC)
177# file is saved. This PAC file is autogenerated from the list of available
178# offline sites, and is used by a web browser when deciding whether to
179# communicate with the local Polipo instance or not.
180
181offlinePACFile = /.offline-pac
182# offlinePACFile = /some/custom/location
Note: See TracBrowser for help on using the browser.