/etc/apache2/mods-available/proxy.conf - Ubuntu 12.04 LTS (Precise Pangolin)

This is the default example configuration of proxy.conf provided by Apache. This config file was generated by Apache running on Ubuntu 12.04.

It is located under: /etc/apache2/mods-available/proxy.conf

    <IfModule mod_proxy.c>

# If you want to use apache2 as a forward proxy, uncomment the
# 'ProxyRequests On' line and the <Proxy *> block below.
# WARNING: Be careful to restrict access inside the <Proxy *> block.
# Open proxy servers are dangerous both to your network and to the
# Internet at large.
#
# If you only want to use apache2 as a reverse proxy/gateway in
# front of some web application server, you DON'T need
# 'ProxyRequests On'.

#ProxyRequests On
#<Proxy *>
#        AddDefaultCharset off
#        Order deny,allow
#        Deny from all
#        #Allow from .example.com
#</Proxy>

# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#ProxyVia Off

</IfModule>

    
  

Config Details

Location
/etc/apache2/mods-available/proxy.conf
Operating system
Ubuntu 12.04 LTS (Precise Pangolin)
Length
26 lines
MD5 checksum
5b40618d1d3ec04e618b05581effd68a

Usage

Download the raw file with wget or curl

Wget

wget -O proxy.conf.example http://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/apache2/mods-available/proxy.conf

cURL

curl http://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/apache2/mods-available/proxy.conf > proxy.conf.example