Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

mod_proxy

From Wikipedia, the free encyclopedia

mod_proxy is an optional module for the Apache HTTP Server.[1]

This module implements a proxy, gateway or cache for Apache. It implements proxying capability for AJP13 (Apache JServ Protocol version 1.3), FTP, CONNECT (for SSL), HTTP/0.9, HTTP/1.0, and (since Apache 1.3.23) HTTP/1.1. The module can be configured to connect to other proxy modules for these and other protocols.

One powerful feature of Apache is flexible virtual hosting—multiple virtual hosts on a single server. This is a convenient way to partition separate websites and applications. With mod_proxy it is possible to set various web framework-based applications up as virtual hosts as well.[2][3][4]

mod_proxy can help to improve LAMP security [5] or to strip SSL from HTTP requests.[6]

History

[edit]

This module was experimental in Apache 1.1.x.[7]

As of Apache 1.2, mod_proxy stability was greatly improved.[8]

Since Apache 2.0, proxy features are divided into several modules in addition to mod_proxy: mod_proxy_http, mod_proxy_ftp, and mod_proxy_connect — moreover, caching is provided by mod_cache and related modules.[9]

Since Apache 2.2, mod_proxy_ajp and mod_proxy_balancer have been added as well.[10]

As of Apache 2.4, mod_proxy_fcgi was also added, to proxy FastCGI requests to another server, superseding mod_fcgid and mod_fastcgi. [11]

See also

[edit]

Notes

[edit]
  1. ^ Homepage of mod_proxy for Apache 2.2
  2. ^ "Running CherryPy behind Apache using mod_proxy". Archived from the original on 2010-02-21. Retrieved 2009-11-09.
  3. ^ Single Django App behind multiple Apache Proxies
  4. ^ "Using web2py with Apache, mod_proxy, and mod_proxy_html". Archived from the original on 2009-11-11. Retrieved 2009-11-09.
  5. ^ Improve LAMP security with Apache Proxy's directive (mod_proxy)
  6. ^ "Strip SSL with Apache mod_proxy". Archived from the original on 2009-09-29. Retrieved 2009-11-09.
  7. ^ "The mod_proxy module was experimental in Apache 1.1.x". Archived from the original on 2009-10-10. Retrieved 2009-10-10.
  8. ^ "In Apache 1.2, mod_proxy stability was greatly improved". Archived from the original on 2009-10-10. Retrieved 2009-10-10.
  9. ^ In Apache 2.0 proxy features are divided into several modules
  10. ^ In Apache 2.2 mod_proxy_ajp and mod_proxy_balancer added
  11. ^ mod_proxy_fcgi documentation
[edit]