~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to debian/config-mods/proxy.conf

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<IfModule mod_proxy.c>
2
 
 
3
 
        #turning ProxyRequests on and allowing proxying from all may allow 
4
 
        #spammers to use your proxy to send email.
5
 
                
6
 
        ProxyRequests Off
7
 
 
8
 
        <Proxy *>
9
 
                Order deny,allow
10
 
                Deny from all
11
 
                #Allow from .your_domain.com
12
 
        </Proxy>
13
 
 
14
 
        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
15
 
        # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
16
 
        # Set to one of: Off | On | Full | Block
17
 
        
18
 
        ProxyVia On
19
 
 
20
 
        # To enable the cache as well, edit and uncomment the following lines:
21
 
        # (no cacheing without CacheRoot)
22
 
        
23
 
        CacheRoot "/var/cache/apache2/proxy"
24
 
        CacheSize 5
25
 
        CacheGcInterval 4
26
 
        CacheMaxExpire 24
27
 
        CacheLastModifiedFactor 0.1
28
 
        CacheDefaultExpire 1
29
 
        # Again, you probably should change this.
30
 
        #NoCache a_domain.com another_domain.edu joes.garage_sale.com
31
 
 
32
 
</IfModule>