squid2.6 unrecognized: 'httpd_accel_host'错误

#2.5的反向代理加速配置
#httpd_accel_host 127.0.0.1
#httpd_accel_port 80
#httpd_accel_single_host on
#httpd_accel_uses_host_header on
#httpd_accel_with_proxy on
#2.6的反向代理加速配置
#代理到本机的80端口的服务,仅仅做为原始内容服务器
#监听服务器的80端口,透明代理,支持域名和IP的虚拟主机
http_port 192.168.1.1:80 transparent vhost vport
#最新2.6使用http_port 192.168.1.1:80 vhost vport
[root@localhost squid]# squid -k parse 2025/08/25 15:06:20| Startup: Initializing Authentication Schemes ... 2025/08/25 15:06:20| Startup: Initialized Authentication Scheme 'basic' 2025/08/25 15:06:20| Startup: Initialized Authentication Scheme 'digest' 2025/08/25 15:06:20| Startup: Initialized Authentication Scheme 'negotiate' 2025/08/25 15:06:20| Startup: Initialized Authentication Scheme 'ntlm' 2025/08/25 15:06:20| Startup: Initialized Authentication. 2025/08/25 15:06:20| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback. 2025/08/25 15:06:20| aclIpParseIpData: IPv6 has not been enabled. 2025/08/25 15:06:20| aclIpParseIpData: IPv6 has not been enabled. 2025/08/25 15:06:20| Processing Configuration File: /etc/squid/squid.conf (depth 0) 2025/08/25 15:06:20| Processing: http_port 3128 2025/08/25 15:06:20| Processing: visible_hostname squid-proxy 2025/08/25 15:06:20| Processing: redirect_program /usr/bin/java -cp /opt/clamav/VirusScanner-1.0-SNAPSHOT-jar-with-dependencies.jar 2025/08/25 15:06:20| Processing: redirect_children 10 2025/08/25 15:06:20| Processing: redirector_bypass off 2025/08/25 15:06:20| Processing: acl localnet src 192.168.18.0/24 2025/08/25 15:06:20| Processing: acl SSL_ports port 443 2025/08/25 15:06:20| Processing: acl Safe_ports port 80 2025/08/25 15:06:20| Processing: acl Safe_ports port 443 2025/08/25 15:06:20| Processing: acl CONNECT method CONNECT 2025/08/25 15:06:20| Processing: acl DownloadExtensions urlpath_regex -i \.exe$ \.bat$ \.cmd$ \.com$ \.scr$ \.pif$ \.vbs$ \.js$ \.doc$ \.docx$ \.xls$ \.xlsx$ \.ppt$ \.pptx$ \.zip$ \.rar$ 2025/08/25 15:06:20| Processing: redirect_access allow DownloadExtensions 2025/08/25 15:06:20| /etc/squid/squid.conf:19 unrecognized: 'redirect_access' 2025/08/25 15:06:20| Processing: redirect_access deny all 2025/08/25 15:06:20| /etc/squid/squid.conf:20 unrecognized: 'redirect_access' 2025/08/25 15:06:20| Processing: http_access allow localnet 2025/08/25 15:06:20| Processing: http_access deny all 2025/08/25 15:06:20| Processing: cache_dir ufs /var/spool/squid 100 16 256 2025/08/25 15:06:20| Processing: maximum_object_size 100 MB 2025/08/25 15:06:20| Processing: access_log /var/log/squid/access.log squid 2025/08/25 15:06:20| Processing: cache_log /var/log/squid/cache.log 2025/08/25 15:06:20| Initializing https:// proxy context
最新发布
08-26
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值