]> git.pld-linux.org Git - packages/apache.git/blame_incremental - apache-mod_proxy.conf
- use %useradd/%groupadd macros
[packages/apache.git] / apache-mod_proxy.conf
... / ...
CommitLineData
1# $Id$
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
6
7#
8# Proxy Server directives. Uncomment the following lines to
9# enable the proxy server:
10#
11<IfModule mod_proxy.c>
12ProxyRequests On
13#
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
21# Allow from .your-domain.com
22</Proxy>
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#
29ProxyVia On
30
31#
32# To enable the cache as well, edit and uncomment the following lines:
33# (no cacheing without CacheRoot)
34#
35<IfModule mod_cache.c>
36CacheRoot "/var/cache/apache"
37CacheSize 5
38CacheGcInterval 4
39CacheMaxExpire 24
40CacheLastModifiedFactor 0.1
41CacheDefaultExpire 1
42#NoCache a-domain.com another-domain.edu joes.garage-sale.com
43</IfModule>
44
45</IfModule>
46# End of proxy directives.
47
48# vim: filetype=apache ts=4 sw=4 et
This page took 0.038237 seconds and 4 git commands to generate.