Httpd mod proxy Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 20: Line 20:


A reverse proxy is activated using the ProxyPass directive or the [P] flag to the RewriteRule directive. It is not necessary to [[#Forward_Proxy_Configuration|turn ProxyRequests on]] in order to configure a reverse proxy.
A reverse proxy is activated using the ProxyPass directive or the [P] flag to the RewriteRule directive. It is not necessary to [[#Forward_Proxy_Configuration|turn ProxyRequests on]] in order to configure a reverse proxy.
=Controlling access to the Proxy=
Use the <Proxy> control block:
<pre>
<Proxy "*">
    Require ip 192.168.0
</Proxy>
</pre>

Revision as of 19:54, 6 December 2016

Internal

Secure mod_proxy

TODO

Directives

Forward Proxy Configuration

A forward proxy is activated using the ProxyRequests directive.

Reverse Proxy Configuration

A reverse proxy is activated using the ProxyPass directive or the [P] flag to the RewriteRule directive. It is not necessary to turn ProxyRequests on in order to configure a reverse proxy.

Controlling access to the Proxy

Use the <Proxy> control block:

<Proxy "*">
    Require ip 192.168.0
</Proxy>