make Apache to Proxy/Caching Server


add these config to httpd.conf

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule cache_module modules/mod_cache.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so


Listen 8080
NameVirtualHost *:8080
ErrorLog "logs/proxy-error.log"
CustomLog "logs/proxy-access.log" combined
ProxyRequests On
ProxyVia On
Order deny,allow
Deny from all
Allow from 127.0.0.1
CacheRoot c:/cacheroot
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
CacheDisable http://security.update.server/update-list/
ProxyTimeout 60


don't forget created c:/cacheroot then open web browser and set proxy to 127.0.0.1 at port 8080

Comments

Popular posts from this blog

Wowza 4.0.1 (Wowza Streaming Engine) Released!

WebRTC for Real-Time Communications