|
|
这两天正在做squid,我下载了最新的2.5-STABLE4,弄了两三天了,还是没做出来。我参考了linuxsir上的很多例子,写出了这样一份简单了不能再简单的东西。令我暴汗的是它就是不工作。虽然我用ps ax已经可以看到它的三个进程在工作了,但是客户端就是不能通过它来访问http。我保证这个配置文件中用到的文件夹的权限都给我squid了。我实在受不了了,向各位linuxsir求救了。谢谢谢谢。
下面是我的配置文件squid.conf:
icp_port 0
http_port 192.168.1.128:8080
#cache_dir null /temp
cache_dir ufs /temp/cache 500 16 256
cache_mem 2 MB
cache_swap_low 90
cache_swap_high 95
cache_access_log /temp/squid_logs/access.log
cache_log /temp/squid_logs/cache.log
cache_store_log /temp/squid_logs/store.log
visible_hostname proxy.test.edu.cn
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl all src 0.0.0.0/0
http_access allow all |
|