為了神秘用途裝squid太麻煩了,直接用現成的Apache簡單方便。

ProxyRequests On

<Proxy *>
  Order Deny,Allow
  Deny from all
  # 限制用戶IP位址
  Allow from 10.1.1.11
  # 驗證帳號
  AuthType Basic
  AuthName "Proxy Server"
  AuthUserFile /usr/local/etc/apache22/passwd
  Require valid-user
</Proxy>

CacheRoot /usr/local/www/apache22/cache
CacheEnable disk /
創作者介紹
創作者 不就是個blog 的頭像
Forth

不就是個blog

Forth 發表在 痞客邦 留言(0) 人氣( 58 )