QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 721|回复: 0

Squid任何站点都连到apache的根目录,该怎么设置??

[复制链接]
发表于 2005-10-19 23:29:54 | 显示全部楼层 |阅读模式
我的DEBIAN系统有两个网卡,eth0连接到外网,IP是202.115.30.162,eth1连接内网,我设置其地址为192.168.1.1,另外一台PC设置IP地址为192.168.1.2,网关设置为192.168.1.1,squid.conf配置文件如下.在PC中,设置IE代理为192.168.1.1:80,结果在PC中访问任何网站都连接到DEBIAN系统的apache 根目录下了,请问该在哪里设置??谢谢了!!
# NETWORK OPTIONS
# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
# OPTIONS WHICH AFFECT THE CACHE SIZE
# LOGFILE PATHNAMES AND CACHE DIRECTORIES
# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
# OPTIONS FOR TUNING THE CACHE
# TIMEOUTS
# ACCESS CONTROLS
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
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 Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
icp_access allow all
# ADMINISTRATIVE PARAMETERS
# OPTIONS FOR THE CACHE REGISTRATION SERVICE
http_port 80
# HTTPD-ACCELERATOR OPTIONS
# MISCELLANEOUS
# DELAY POOL PARAMETERS (all require DELAY_POOLS compilation option)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 04:28 , Processed in 0.035483 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表