首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法传递从privoxy到ziproxy的通信量

无法传递从privoxy到ziproxy的通信量
EN

Server Fault用户
提问于 2011-12-22 06:12:18
回答 1查看 1.1K关注 0票数 3

为了节省一些带宽,我决定在我的Debian上建立一个privoxy和ziproxy包。

其想法是只从localhost访问privoxy,并将ziproxy放在后面,以压缩输出和接受连接,因为它支持与privoxy不同的密码身份验证,而且我不想为所有代理运行免费的服务。

但他们似乎不适合我。它们分别工作很好,但是当我试图将它们链接起来时,添加

代码语言:javascript
复制
NextProxy = "127.0.0.1"
NextPort = 8118

若要进行ziproxy配置,ziproxy将开始显示错误404。

所有的吐露都是这样的:

Ziproxy

代码语言:javascript
复制
Port = 100500
Address = "0.0.0.0"
NextProxy = "127.0.0.1"
NextPort = 8118
AccessLogFileName = "/var/log/ziproxy/access.log"
PasswdFile="/etc/ziproxy/http.passwd"
UseContentLength = false
Compressible = {
        "shockwave", "msword", "msexcel", "mspowerpoint", "rtf", "postscript",  
        "java", "javascript", "staroffice", "vnd.", "futuresplash", 
        "asp", "class", "font", "truetype-font", "php", "cgi", "executable",
        "shellscript", "perl", "python", "awk", "dvi", "css",
        "xhtml+xml", "rss+xml", "xml", "pdf", "tar"
}
ImageQuality = {20,15,15,15}
ModifySuffixes = false 

Privoxy

代码语言:javascript
复制
user-manual /usr/share/doc/privoxy/user-manual
confdir /etc/privoxy
logdir /var/log/privoxy
actionsfile standard.action  # Internal purpose, recommended
actionsfile global.action    # Global default setting for all sites
actionsfile default.action   # Main actions file
actionsfile user.action      # User customizations
filterfile default.filter
logfile logfile
listen-address :8118
toggle  1
enable-remote-toggle  0
enable-remote-http-toggle  0
enable-edit-actions 0
enforce-blocks 0
buffer-limit 4096
forwarded-connect-retries  0
accept-intercepted-requests 1
allow-cgi-request-crunching 0
split-large-forms 0

我想知道我错过了什么?

当然,他们现在都很沮丧,当然,当他们开始合作的时候,聆听-- privoxy的地址将会改变。

提前感谢!

EN

回答 1

Server Fault用户

发布于 2011-12-23 05:53:25

嗯,我解决了。

这都是ziproxy的错,在Lenny中的版本是有缺陷的--没有链,默认情况下以根的形式运行。所以,我只是更新挤压,它现在工作得很好。

在更新过程中,其他应用程序都没有受到损害(postfix/dovecot/S情postfix、韵律、apache和Dancer框架)。

不过,对于“严肃”的服务器来说,这不是一个很好的解决方案。

票数 3
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/343373

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档