第三卷 apache+mysql+php+ssl服務器之完全安裝攻略(1 / 1)

But it's getting there.

Module proxy_module modules/proxy/libproxy.a

然後按照以上的步驟進行係統編譯。編譯完成後,編輯配置文件httpd.conf,在關於

Proxy的地方設置如下:

# Proxy Server directives. Uncomment the following line to

# enable the proxy server:

ProxyRequests On

# To enable the cache as well, edit and uncomment the following lines:

CacheRoot /usr/local/etc/httpd/proxy

CacheSize 5

CacheGcInterval 4

CacheMaxExpire 24

CacheLastModifiedFactor 0.1

CacheDefaultExpire 1

#NoCache a_domain.com another_domain.edu joes.garage_sale.com

配置後,建立Proxy所使用的Cache目錄。並將其屬性設置為可寫狀態。這樣在客戶的

瀏覽器上便可以將Proxy設置到此主機上。