use apache event module with forward proxy, how to tuning?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
http://httpd.apache.org/docs/current/mod/event.html
http://httpd.apache.org/docs/current/mod/mpm_common.html
there are lots of directives. Which should i tuning for my os and my httpd.conf



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux