windows系統下安裝squid代理服務器時,squid.conf組態檔怎么配置啊?
如何添加用戶和密碼啊?
不用很復雜的,只需要用戶和密碼驗證就可以了,
下面是我寫的組態檔,但是啟動不成功,
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
auth_param basic program c:/squid/libexec/ncsa_auth c:/squid/etc/passwd
acl auth_user proxy_auth REQUIRED
http_access allow auth_user
acl all src 0.0.0.0/0.0.0.0
http_access allow all
http_port 3128
cache_mem 32 MB
cache_dir ufs D:/cache 10240 16 256
visible_hostname ForWindows
↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
錯誤資訊
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
FATAL: auth_param basic program c:/squid/libexec/ncsa_auth: (2) No such file or directory
Squid Cache (Version 2.7.STABLE8): Terminated abnormally.
CPU Usage: 0.047 seconds = 0.016 user + 0.031 sys
Maximum Resident Size: 7612 KB
Page faults with physical i/o: 2091
abnormal program termination
↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
我這個問題出在哪里了??
有知道的大牛請指點一下好嗎?
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/96835.html
標籤:網絡通信
