proxy: Fix exception for serving locally
[sysconfig/apache2.git] / mods-available / proxy.conf
1 <IfModule mod_proxy.c>
2
3         # If you want to use apache2 as a forward proxy, uncomment the
4         # 'ProxyRequests On' line and the <Proxy *> block below.
5         # WARNING: Be careful to restrict access inside the <Proxy *> block.
6         # Open proxy servers are dangerous both to your network and to the
7         # Internet at large.
8         #
9         # If you only want to use apache2 as a reverse proxy/gateway in
10         # front of some web application server, you DON'T need
11         # 'ProxyRequests On'.
12
13         #ProxyRequests On
14         #<Proxy *>
15         #   AddDefaultCharset off
16         #   Require all denied
17         #   #Require local
18         #</Proxy>
19
20         # Enable/disable the handling of HTTP/1.1 "Via:" headers.
21         # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
22         # Set to one of: Off | On | Full | Block
23         #ProxyVia Off
24
25 </IfModule>
26
27 # vim: syntax=apache ts=4 sw=4 sts=4 sr noet