Greetings. We use apache as our forward proxy. This is the basic machine status, And we only run apache as a purpose. OS: FreeBSD frontendc.cnwisp.com 9.1-RELEASE FreeBSD 9.1-RELEASE CPU: Quad-Core AMD Opteron(tm) Processor 2384 x 2 Memory: 8192 MB Some days passed, we had lots of questions about how to tuning the apache as a forward proxy. This is our base config for the base function. Listen 10.10.0.1:2212 ExtendedStatus On ServerRoot "/usr/local/apache2" DocumentRoot "/usr/local/apache2/htdocs" ErrorLog "/var/log/apache2/error.log" FilterDeclare MYFILTER FilterProvider MYFILTER SUBSTITUTE "%{CONTENT_TYPE} >= 'text/html'" FilterProvider MYFILTER SUBSTITUTE "%{CONTENT_TYPE} >= 'text/plain'" FilterProvider MYFILTER SUBSTITUTE "%{CONTENT_TYPE} >= 'application/json'" FilterProvider MYFILTER SUBSTITUTE "%{CONTENT_TYPE} >= 'application/xhtml+xml'" <IfModule mod_proxy.c> ProxyRequests On ProxyVia On NoProxy localhost ProxyBadHeader Ignore ProxyPreserveHost On FilterChain MYFILTER FilterTrace MYFILTER 1 FilterProtocol MYFILTER SUBSTITUTE change=1:1 Substitute "s|ourtextforfilter|thefilterresult|ni" RequestHeader unset Accept-Encoding </IfModule> And we found the doc there are lots of directives. Which should i tuning for my os and my httpd.conf |