Httpd mod proxy Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(27 intermediate revisions by the same user not shown)
Line 8: Line 8:
* [[httpd mod_proxy#Subjects|mod_proxy]]
* [[httpd mod_proxy#Subjects|mod_proxy]]
* [[Mod_cluster Configuration|mod_cluster Configuration]]
* [[Mod_cluster Configuration|mod_cluster Configuration]]
 
* [[httpd Configuration]]
=Secure mod_proxy=
 
<font color=red>
TODO
</font>


=Directives=
=Directives=


* [[httpd ProxyPass|ProxyPass]]
* [[httpd ProxyPass|ProxyPass]]
* [[httpd Proxy|Proxy]]
* [[httpd ProxyTimeout|ProxyTimeout]]
* [[httpd ProxyPassReverse|ProxyPassReverse]]
* [[httpd ProxyPassReverseCookieDomain|ProxyPassReverseCookieDomain]]
* [[httpd ProxyPassReverseCookiePath|ProxyPassReverseCookiePath]]
* [[httpd ProxyPassMatch|ProxyPassMatch]]
* [[httpd ProxyPassInherit|ProxyPassInherit]]
* [[httpd ProxyPassInterpolateEnv|ProxyPassInterpolateEnv]]
* [[httpd ProxyRequests|ProxyRequests]]
* [[httpd ProxySet|ProxySet]]
* [[httpd BalancerGrowth|BalancerGrowth]]
* [[httpd BalancerInherit|BalancerInherit]]
* [[httpd BalancerMember|BalancerMember]]
* [[httpd BalancerPersist|BalancerPersist]]
* ProxyAddHeaders
* ProxyBadHeader
* ProxyBlock
* ProxyDomain
* ProxyErrorOverride
* [[httpd ProxyIOBufferSize|ProxyIOBufferSize]]
* [[httpd ProxyIOBufferSize|ProxyIOBufferSize]]
* [[httpd ProxyReceiveBufferSize |ProxyReceiveBufferSize]]
* [[httpd ProxyMatch|ProxyMatch]]
* ProxyMaxForwards
* [[httpd ProxyStatus|ProxyStatus]]
* [[httpd NoProxy|NoProxy]]
* [[httpd ProxyRemote|ProxyRemote]]


=Forward Proxy Configuration=
=Forward Proxy Configuration=


A forward proxy is activated using the ProxyRequests directive.
A forward proxy is activated using the [[httpd ProxyRequests|ProxyRequests]] directive.


=Reverse Proxy Configuration=
=Reverse Proxy Configuration=
Line 37: Line 57:
</Proxy>
</Proxy>
</pre>
</pre>


=mod_proxy mod_cluster Configuration=
=mod_proxy mod_cluster Configuration=


mod_proxy directives like ProxyIOBufferSize could be used to configure mod_cluster.  
mod_proxy directives like [[httpd ProxyIOBufferSize|ProxyIOBufferSize]] could be used to configure mod_cluster.  


There is no need to use ProxyPass directives because mod_cluster automatically configures which URLs have to be forwarded to JBossWEB.
There is no need to use ProxyPass directives because mod_cluster automatically configures which URLs have to be forwarded to JBossWEB.


=Reference=
=Secure mod_proxy=


==ProxyTimeout==
<font color=red>
 
TODO
This directive allows a user to specifiy a timeout on proxy requests. This is useful when the application server is slow, and you would rather just return a timeout and fail gracefully instead of waiting however long it takes the server to return.
</font>
 
==ProxyPassReverse==
 
==ProxyPassReverseCookieDomain==
 
==ProxyPassReverseCookiePath==

Latest revision as of 17:00, 10 January 2017

External

Internal

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>

mod_proxy mod_cluster Configuration

mod_proxy directives like ProxyIOBufferSize could be used to configure mod_cluster.

There is no need to use ProxyPass directives because mod_cluster automatically configures which URLs have to be forwarded to JBossWEB.

Secure mod_proxy

TODO