diff options
Diffstat (limited to 'www/ziproxy/files/patch-ziproxy.conf')
-rw-r--r-- | www/ziproxy/files/patch-ziproxy.conf | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/www/ziproxy/files/patch-ziproxy.conf b/www/ziproxy/files/patch-ziproxy.conf index 4f4fdfa67eef..45e03311bae8 100644 --- a/www/ziproxy/files/patch-ziproxy.conf +++ b/www/ziproxy/files/patch-ziproxy.conf @@ -1,15 +1,30 @@ ---- etc/ziproxy.conf.orig Wed Jul 26 09:01:36 2006 -+++ etc/ziproxy.conf Mon Jul 31 01:07:02 2006 -@@ -36,7 +36,7 @@ +--- etc/ziproxy.conf.orig 2007-09-06 07:51:42.000000000 +0400 ++++ etc/ziproxy.conf 2007-09-15 13:31:16.000000000 +0400 +@@ -11,12 +11,12 @@ + ## If you have more than one network interface, + ## it's useful for restricting to which interface you want to bind to. + ## By default Ziproxy binds to all interfaces. +-# Address = "127.0.0.1" ++Address = "127.0.0.1" + + ## Accepts conections only from that address. + ## WARNING: Remember to restrict the access to Ziproxy + ## if your machine is directly connected to the Internet. +-# OnlyFrom = "127.0.0.1" ++OnlyFrom = "127.0.0.1" + + # Inactivity timeout before closing the daemon (0 = no timeout) + NetdTimeout = 0 +@@ -50,7 +50,7 @@ ## HTTP auth file ## Should contain user:pass pairs, lines no longer than 128 chars ## Password is unencrypted -# PasswdFile="/usr/local/ziproxy/ziproxy.passwd" -+# PasswdFile="/usr/local/etc/ziproxy.passwd" - ++# PasswdFile="%%PREFIX%%/etc/ziproxy.passwd" + ## Forward everything to another proxy server. ## Modifications/compression is still applied. -@@ -151,13 +151,12 @@ +@@ -263,13 +263,13 @@ ## Note: The internal defaults give more precise error messages. ## ## 400 - Bad request (malformed URL, or unknown URL type) @@ -26,5 +41,5 @@ +# CustomError500="%%DATADIR%%/error/500.html" ## 503 - Connection refused (or service unavailable) -# CustomError503="/var/ziproxy/error/503.html" -- +# CustomError503="%%DATADIR%%/error/503.html" + |