Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/backbone.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Proxy 在本地主机上运行Squid_Proxy_Squid - Fatal编程技术网

Proxy 在本地主机上运行Squid

Proxy 在本地主机上运行Squid,proxy,squid,Proxy,Squid,我有一个赛门铁克的产品表单,他们的帮助…没有什么帮助,包括一条很好的消息,上面说在联系我们链接中联系您的经销商。我的经销商说要联系他们。怎样无论如何,如果Squid用于Windows,这是一个重新打包的版本。当我将IE指向本地运行的代理时,访问被拒绝。访问控制配置阻止此时允许您的请求。如果您觉得这不正确,请联系您的服务提供商。然而,当我将另一台机器上的IE指向运行Squid的服务器时,一切正常 我对Squid或代理没有任何经验。我尝试了一些基于搜索的不同配置,但没有任何效果。我相信这很简单。以下

我有一个赛门铁克的产品表单,他们的帮助…没有什么帮助,包括一条很好的消息,上面说在联系我们链接中联系您的经销商。我的经销商说要联系他们。怎样无论如何,如果Squid用于Windows,这是一个重新打包的版本。当我将IE指向本地运行的代理时,访问被拒绝。访问控制配置阻止此时允许您的请求。如果您觉得这不正确,请联系您的服务提供商。然而,当我将另一台机器上的IE指向运行Squid的服务器时,一切正常

我对Squid或代理没有任何经验。我尝试了一些基于搜索的不同配置,但没有任何效果。我相信这很简单。以下是配置:

digest_generation off

hierarchy_stoplist cgi-bin ?

acl all src 0.0.0.0/0.0.0.0

cache deny all

maximum_object_size 0 KB

emulate_httpd_log on

debug_options ALL,1

cache_store_log none
access_log none
useragent_log none

auth_param ntlm program c:/clientsiteproxy/libexec/mswin_ntlm_auth.exe
auth_param ntlm children 80
auth_param ntlm keep_alive on

auth_param negotiate children 80

auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

authenticate_ip_shortcircuit_ttl 30 seconds

refresh_pattern ^ftp:       1440    20% 10080
refresh_pattern ^gopher:    1440    0%  1440
refresh_pattern .       0   20% 4320

read_timeout 15 minutes

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80      # http
acl Safe_ports port 21      # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70      # gopher
acl Safe_ports port 210     # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280     # http-mgmt
acl Safe_ports port 488     # gss-http
acl Safe_ports port 591     # filemaker
acl Safe_ports port 777     # multiling http
acl Smartconnect dstdomain ned.webscanningservice.com
acl CONNECT method CONNECT
acl authproxy proxy_auth REQUIRED

acl our_networks src 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8 169.254.0.0/16
acl HEAD method HEAD

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access allow HEAD
http_access deny !our_networks
http_access allow Smartconnect

http_access allow authproxy
http_access deny all

icp_access allow all

httpd_suppress_version_string on

visible_hostname ClientSiteProxy

forwarded_for off

header_access Via deny all

never_direct allow all

cache_dir null c:/ClientSiteProxy
coredump_dir c:/clientsiteproxy/var/cache

http_port 3128

这很可能是罪魁祸首:http_访问拒绝!我们的网络。此语句拒绝192.168.0.0/16 172.16.0.0/12 10.0.0.0/8 169.254.0.0/16之外的所有源IP的出站访问


当您从同一台机器浏览时,浏览器将绑定到localhost,因此您可以尝试用127.0.0.1扩展我们的网络定义。

我添加了127.0.0.1,现在我得到:此时无法转发此请求。无法将此请求转发到源服务器或任何父缓存。此错误最可能的原因是:•缓存管理员不允许此缓存直接连接到源服务器,并且•所有配置的父缓存当前都不可访问。请尝试删除“永不\u直接允许所有”。您确定这适用于非本地主机客户端吗?