]>
Commit | Line | Data |
---|---|---|
1 | # $Id$ | |
2 | LoadModule proxy_module modules/mod_proxy.so | |
3 | ||
4 | # FIXME: enable or disable these by default? | |
5 | # I'd enable if the config is secure. but i'm not sure | |
6 | #LoadModule proxy_connect_module modules/mod_proxy_connect.so | |
7 | #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so | |
8 | #LoadModule proxy_http_module modules/mod_proxy_http.so | |
9 | #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so | |
10 | #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so | |
11 | ||
12 | # Proxy Server directives. Uncomment the following lines to | |
13 | # enable the proxy server: | |
14 | # | |
15 | <IfModule proxy_module> | |
16 | ProxyRequests On | |
17 | # | |
18 | # | |
19 | # This prevents spammers from using apache as a relay by posting to | |
20 | # http://victim:25/ and sending raw data. | |
21 | # | |
22 | <Proxy *> | |
23 | Order deny,allow | |
24 | Deny from all | |
25 | # Allow from .your-domain.com | |
26 | </Proxy> | |
27 | ||
28 | # | |
29 | # Enable/disable the handling of HTTP/1.1 "Via:" headers. | |
30 | # ("Full" adds the server version; "Block" removes all outgoing Via: headers) | |
31 | # Set to one of: Off | On | Full | Block | |
32 | # | |
33 | ProxyVia On | |
34 | ||
35 | # To enable the cache as well, see mod_cache.conf | |
36 | ||
37 | </IfModule> |