最近在配置squid实现HTTP访问的加速,在指定后台服务器的IP地址时,我在配置文件中设置httpd_accel_host和httpd_accel_port,但在检查配置文件的语法时发现不能识别这两条配置,我使用的squid的版本是2.6.STABLE20。 请帮忙指导1下如何在配置文件中设置后台服务器的IP地址,谢谢!
by gamble_god - 服务器应用 - 2009-05-10 11:08:19 阅读(1978) 回复(1)
本试验参照 http://bbs.linuxpk.com/thread-28845-1-1.html 经本人验证,可行 目的:客户端可以使用浏览器浏览网页,但不能上QQ,下载,FOXMAIL收发邮件等 服务端两块网卡 外网网卡eth0,IP:121.15.134.2 内网网卡eth1,IP:192.168.20.2/24 1.[root@localhost ~]# rpm -qa|grep squid squid-2.6.STABLE6-5.el5_1.3 如没有安装该插件yum安装 2.squid服务器的初始化 第一次使用squid,需先初始化 注意:如果初始化成功的话,...
squid.conf文件如下 http_port 3128 hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY cache_mem 32 MB cache_swap_low 80 cache_swap_high 95 cache_access_log /usr/local/squid/logs/access.log cache_dir ufs /usr/local/squid/cache 100 16 256 cache_log /usr/local/squid/logs/cache.log cache_store_log none error_directory /usr/local/etc/squid/errors/Simplify_Chinese icon_di...
我下了一个squid 2.6 ,Windows2003 C:\squid\sbin>squid -z 2007/05/18 16:31:40| parseConfigFile: line 18 unrecognized: 'httpd_accel_host 192.168.1.168' 2007/05/18 16:31:40| parseConfigFile: line 19 unrecognized: 'httpd_accel_port 80' 2007/05/18 16:31:40| Creating Swap Directories
装好squid-2.5.STABLE1-2.i386.rpm后,想启动起不来,ps -ax看进程里面没有 看squid状态后这样 [root@localhost root]# service squid status squid is stopped squid: ERROR: No running copy 请问怎么解决?
我在suse 10.0上使用suse提供的squid 2.5,安装成功后,基本都没有改过任何东西只是把 http_access allow localhost 改成了 http_access allow all 并把 http_access deny all 注释掉了,如下。 # Example rule allowing access from your local networks. Adapt # to list your (internal) IP networks from where browsing should # be allowed #acl our_networks src 192.168.1.0/24 192.168.2.0/24 #http_access allow our_net...
配置是简单的局域网通过proxy上internet eth0:ip,ipmask,gateway(isp提供) 通向internet eth1:ip,ipmask,gateway不设 eth1接switch,局域网通过switch连接proxy server squid.conf具体配置如下: # NETWORK OPTIONS # TAG: http_port # Usage: port # hostname:port # 1.2.3.4:port http_port 192.168.0.1:3128 # ACCESS CONTROLS # ----------------------------------------------------------------------------- #...
一、squid入门 1.squid是什么? squid是一种用来缓冲Internet数据的软件。它是这样实现其功能的,接受来自人们需要下载的目标(object)的请求并适当地处理这些请求。也就是说,如果一个人想下载一web页面,他请求squid为他取得这个页面。squid随之连接到远程服务器(比如:http://squid.nlanr.net/)并向这个页面发出请求。然后,squid显式地聚集数据到客户端机器,而且同时复制一份。当下一次有人需要同一页面时,Sq...
为什么总是说我配置没有完会设好请问是什么问题? Invalid Proxy Auth ACL 'acl normal proxy_auth REQUIRED' because no authentication schemes are fully configured.
squid 配置详解 + 认证 ! -------------------------------------------------------------------------------- 转! 在此,我们要配置一个只对内部网络提供代理服务的Proxy Server。它将用户分为高级用户和普通用户两种,对高级用户采用网卡物理地址识别的方法,普通用户则需要输入用户名和口令才能正常使用。高级用户没有访问时间和文件类型的限制,而普通用户只在上班时可以访问以及一些其它的限制。 安装 ...
LINUX在一个内网,IP:192.168.1.212,能上网,配置了webmin,squid也能启动,简单的配置了一下,但客户不能访问, 我现在请教有经验的兄弟给个实例,让squid代理,让192.168.1网段的都能上网,但要用户认证才能上,还要禁一些端口,谢谢给我讲解和一些实例