]> git.pld-linux.org Git - packages/apache.git/blob - apache-mod_proxy.conf
- added Id cvs tag and vim modeline
[packages/apache.git] / apache-mod_proxy.conf
1 # $Id$
2 LoadModule proxy_module         modules/mod_proxy.so
3 LoadModule proxy_connect_module modules/mod_proxy_connect.so
4 LoadModule proxy_ftp_module     modules/mod_proxy_ftp.so
5 LoadModule 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>
12 ProxyRequests 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 #
29 ProxyVia 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>
36 CacheRoot "/var/cache/apache"
37 CacheSize 5
38 CacheGcInterval 4
39 CacheMaxExpire 24
40 CacheLastModifiedFactor 0.1
41 CacheDefaultExpire 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.03506 seconds and 4 git commands to generate.