]>
Commit | Line | Data |
---|---|---|
60c726e0 AM |
1 | LoadModule proxy_module modules/mod_proxy.so |
2 | LoadModule proxy_connect_module modules/mod_proxy_connect.so | |
3 | LoadModule proxy_ftp_module modules/mod_proxy_ftp.so | |
4 | LoadModule 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> |
11 | ProxyRequests 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 | 28 | ProxyVia 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 | 35 | CacheRoot "/var/cache/apache" |
691b9a5c | 36 | CacheSize 5 |
37 | CacheGcInterval 4 | |
38 | CacheMaxExpire 24 | |
39 | CacheLastModifiedFactor 0.1 | |
40 | CacheDefaultExpire 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 |