]> git.pld-linux.org Git - packages/apache.git/blame - apache-mod_proxy.conf
- update
[packages/apache.git] / apache-mod_proxy.conf
CommitLineData
60c726e0
AM
1LoadModule proxy_module modules/mod_proxy.so
2LoadModule proxy_connect_module modules/mod_proxy_connect.so
3LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
4LoadModule proxy_http_module modules/mod_proxy_http.so
40350f98
MM
5
6#
691b9a5c 7# Proxy Server directives. Uncomment the following lines to
8# enable the proxy server:
9#
40350f98
MM
10<IfModule mod_proxy.c>
11ProxyRequests On
691b9a5c 12#
ef43dd95 13#
14# This prevents spammers from using apache as a relay by posting to
15# http://victim:25/ and sending raw data.
16#
17<Proxy *>
18 Order deny,allow
19 Deny from all
40350f98 20# Allow from .your-domain.com
ef43dd95 21</Proxy>
691b9a5c 22
23#
24# Enable/disable the handling of HTTP/1.1 "Via:" headers.
25# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
26# Set to one of: Off | On | Full | Block
27#
40350f98 28ProxyVia On
691b9a5c 29
30#
31# To enable the cache as well, edit and uncomment the following lines:
32# (no cacheing without CacheRoot)
33#
4da72157 34<IfModule mod_cache.c>
40350f98 35CacheRoot "/var/cache/apache"
691b9a5c 36CacheSize 5
37CacheGcInterval 4
38CacheMaxExpire 24
39CacheLastModifiedFactor 0.1
40CacheDefaultExpire 1
40350f98 41#NoCache a-domain.com another-domain.edu joes.garage-sale.com
4da72157 42</IfModule>
691b9a5c 43
40350f98 44</IfModule>
691b9a5c 45# End of proxy directives.
40350f98 46
This page took 0.038709 seconds and 4 git commands to generate.