Lines 1-5
Link Here
|
1 |
--- etc/ziproxy/ziproxy.conf.orig 2008-11-18 00:28:03.000000000 +0300 |
1 |
--- etc/ziproxy/ziproxy.conf.orig 2009-03-13 17:41:27.000000000 +0300 |
2 |
+++ etc/ziproxy/ziproxy.conf 2008-11-18 00:29:22.000000000 +0300 |
2 |
+++ etc/ziproxy/ziproxy.conf 2009-04-15 10:41:25.000000000 +0400 |
3 |
@@ -12,12 +12,12 @@ |
3 |
@@ -12,12 +12,12 @@ |
4 |
## If you have more than one network interface, |
4 |
## If you have more than one network interface, |
5 |
## it's useful for restricting to which interface you want to bind to. |
5 |
## it's useful for restricting to which interface you want to bind to. |
Lines 15-21
Link Here
|
15 |
|
15 |
|
16 |
## Inactivity timeout before closing the daemon (0 = no timeout) |
16 |
## Inactivity timeout before closing the daemon (0 = no timeout) |
17 |
## default: 0 (no timeout) |
17 |
## default: 0 (no timeout) |
18 |
@@ -67,7 +67,7 @@ |
18 |
@@ -82,7 +82,7 @@ |
19 |
## HTTP auth file |
19 |
## HTTP auth file |
20 |
## Should contain user:pass pairs, lines no longer than 128 chars |
20 |
## Should contain user:pass pairs, lines no longer than 128 chars |
21 |
## Password is unencrypted |
21 |
## Password is unencrypted |
Lines 24-30
Link Here
|
24 |
|
24 |
|
25 |
## Forward everything to another proxy server. |
25 |
## Forward everything to another proxy server. |
26 |
## Modifications/compression is still applied. |
26 |
## Modifications/compression is still applied. |
27 |
@@ -105,7 +105,7 @@ |
27 |
@@ -120,7 +120,7 @@ |
28 |
## This option has no effect if BindOutgoing is not used. |
28 |
## This option has no effect if BindOutgoing is not used. |
29 |
## Default: empty, no hosts are exempted. |
29 |
## Default: empty, no hosts are exempted. |
30 |
## See also: BindOutgoingExAddr |
30 |
## See also: BindOutgoingExAddr |
Lines 33-39
Link Here
|
33 |
|
33 |
|
34 |
## Defines a specific IP to be bound to for hosts specified in BindOutgoingExList. |
34 |
## Defines a specific IP to be bound to for hosts specified in BindOutgoingExList. |
35 |
## As with BindOutgoing, this IP must be a local IP from the server running Ziproxy. |
35 |
## As with BindOutgoing, this IP must be a local IP from the server running Ziproxy. |
36 |
@@ -391,7 +391,7 @@ |
36 |
@@ -429,7 +429,7 @@ |
37 |
## *** THIS IS NOT SUPPOSED TO BE A DEFINITIVE SOLUTION TO INCOMPATIBILITIES *** |
37 |
## *** THIS IS NOT SUPPOSED TO BE A DEFINITIVE SOLUTION TO INCOMPATIBILITIES *** |
38 |
## |
38 |
## |
39 |
## Default: empty (no file specified, inactive) |
39 |
## Default: empty (no file specified, inactive) |
Lines 42-62
Link Here
|
42 |
|
42 |
|
43 |
## This option specifies a file containing a list of URLs which its |
43 |
## This option specifies a file containing a list of URLs which its |
44 |
## data should be intercepted and replaced by another. |
44 |
## data should be intercepted and replaced by another. |
45 |
@@ -409,7 +409,7 @@ |
45 |
@@ -448,7 +448,7 @@ |
46 |
## and cookies are transported) -- a stealthy ad-blocker, if you like. |
|
|
47 |
## |
46 |
## |
48 |
## Default: empty (no file specified, inactive) |
47 |
## Default: empty (no file specified, inactive) |
|
|
48 |
## See also: URLReplaceDataCT |
49 |
-# URLReplaceData = "/etc/ziproxy/replace.list" |
49 |
-# URLReplaceData = "/etc/ziproxy/replace.list" |
50 |
+# URLReplaceData = "%%PREFIX%%/etc/ziproxy/replace.list" |
50 |
+# URLReplaceData = "%%PREFIX%%/etc/ziproxy/replace.list" |
51 |
|
51 |
|
|
|
52 |
## Same as URLReplaceData, except it will only replace the data |
53 |
## from matching URLs if the content-type matches |
54 |
@@ -462,7 +462,7 @@ |
55 |
## |
56 |
## Default: empty (no file specified, inactive) |
57 |
## See also: URLReplaceDataCTList, URLReplaceData |
58 |
-# URLReplaceDataCT = "/etc/ziproxy/replace_ct.list" |
59 |
+# URLReplaceDataCT = "%%PREFIX%%/etc/ziproxy/replace_ct.list" |
60 |
|
61 |
## List of content-types to use with the URLReplaceDataCT option. |
62 |
## Default: empty (no content-type specified, inactive) |
63 |
@@ -474,7 +474,7 @@ |
64 |
## A "access denied" 403 error will be returned when trying to access |
65 |
## one of those URLs. |
66 |
## Default: empty (no file specified, inactive) |
67 |
-# URLDeny = "/etc/ziproxy/deny.list" |
68 |
+# URLDeny = "%%PREFIX%%/etc/ziproxy/deny.list" |
69 |
|
52 |
## Custom HTTP Error Messages |
70 |
## Custom HTTP Error Messages |
53 |
## Define here the full path to the HTML file which should be |
71 |
## Define here the full path to the HTML file which should be |
54 |
@@ -417,19 +417,19 @@ |
72 |
@@ -482,21 +482,21 @@ |
55 |
## Note: The internal defaults give more precise error messages. |
73 |
## Note: The internal defaults give more precise error messages. |
56 |
## |
74 |
## |
57 |
## 400 - Bad request (malformed URL, or unknown URL type) |
75 |
## 400 - Bad request (malformed URL, or unknown URL type) |
58 |
-# CustomError400="/var/ziproxy/error/400.html" |
76 |
-# CustomError400="/var/ziproxy/error/400.html" |
59 |
+# CustomError400="%%DATADIR%%/error/400.html" |
77 |
+# CustomError400="%%DATADIR%%/error/400.html" |
|
|
78 |
## 403 - Forbidden |
79 |
-# CustomError403="/var/ziproxy/error/403.html" |
80 |
+# CustomError403="%%DATADIR%%/error/403.html" |
60 |
## 404 - Unknown host (Ziproxy will not issue 'page not found' errors itself) |
81 |
## 404 - Unknown host (Ziproxy will not issue 'page not found' errors itself) |
61 |
-# CustomError404="/var/ziproxy/error/404.html" |
82 |
-# CustomError404="/var/ziproxy/error/404.html" |
62 |
+# CustomError404="%%DATADIR%%/error/404.html" |
83 |
+# CustomError404="%%DATADIR%%/error/404.html" |