我正在尝试通过我的开发服务器来设置网页浏览代理。 非常基本的configuration工作,我能够浏览,现在当我试图复杂的事情,它突然停止工作,我在浏览器中的连接超时,我的日志文件是空的。
我试图实现的是将代理限制在我的国家/地区的IP范围内,并为其设置一个基本的httpauthentication。
这是我的configuration
acl所有src所有
- 从两个端口访问网站 – Apacheconfiguration
- 在Linux中设置一个http代理服务器,这样在另一个国家的大防火墙后面的Web用户就可以不经过滤就可以访问Web
- Apache ProxyPass虚拟主机
- 将所有DNS查询redirect到IP
- HTTPS到Apache和HTTP到Weblogic不起作用
aclpipe理器proto cache_object
http_port 1302
emulate_httpd_log
acl localhost src 127.0.0.1/32
acl Safe_ports端口1302
auth_param基本程序/ usr / lib / squid / ncsa_auth / etc / squid / squid_passwd
auth_param基本的孩子5
auth_param基本领域NiceIdea
auth_param基本凭证2小时
auth_param基本casesensitive on
acl israel src 84.108.0.0/16
acl deb0rian proxy_auth需要
http_access允许localhost
http_access允许以色列debian
http_access拒绝!Safe_ports
http_access拒绝所有
visible_hostname nadinspes
转发closures
header_access通过拒绝所有
header_access转发 – 拒绝所有
header_access X-Forwarded-For全部拒绝
access_log /var/logs/squid/access.log squid
cache_log /var/logs/squid/cache.log
cache_store_log /var/logs/squid/store.log
任何想法,为什么停止工作?
谢谢! T_T
Debian的localhost地址是127.0.1.1。 ACL中将不包含127.0.0.1的32networking掩码。