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