Mod proxy explained

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

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

External links

Notes and References

  1. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html Homepage of mod_proxy for Apache 2.2
  2. Web site: Running CherryPy behind Apache using mod_proxy . 2009-11-09 . 2010-02-21 . https://web.archive.org/web/20100221210626/http://tools.cherrypy.org/wiki/ModProxy . dead .
  3. http://www.djangosnippets.org/snippets/213/ Single Django App behind multiple Apache Proxies
  4. Web site: Using web2py with Apache, mod_proxy, and mod_proxy_html . 2009-11-09 . 2009-11-11 . https://web.archive.org/web/20091111034948/http://mdp.cti.depaul.edu/AlterEgo/default/show/136 . dead .
  5. http://www.ibm.com/developerworks/library/wa-lampsec/ Improve LAMP security with Apache Proxy's directive (mod_proxy)
  6. Web site: Strip SSL with Apache mod_proxy . 2009-11-09 . 2009-09-29 . https://web.archive.org/web/20090929074559/http://www.onlinehowto.net/Tutorials/Apache-Web-Server/Strip-SSL-with-Apache-mod-proxy-part-one/1051 . dead .
  7. Web site: The mod_proxy module was experimental in Apache 1.1.x . 2009-10-10 . 2009-10-10 . https://web.archive.org/web/20091010162646/http://httpd.apache.org/docs/1.3/mod/mod_proxy.html . dead .
  8. Web site: In Apache 1.2, mod_proxy stability was greatly improved . 2009-10-10 . 2009-10-10 . https://web.archive.org/web/20091010162646/http://httpd.apache.org/docs/1.3/mod/mod_proxy.html . dead .
  9. http://httpd.apache.org/docs/2.0/mod/mod_proxy.html In Apache 2.0 proxy features are divided into several modules
  10. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html In Apache 2.2 mod_proxy_ajp and mod_proxy_balancer added
  11. https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html mod_proxy_fcgi documentation