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

« back to all changes in this revision

Viewing changes to debian/config-dir/sites-available/default

  • 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
NameVirtualHost *
 
2
<VirtualHost *>
 
3
        ServerAdmin webmaster@localhost
 
4
        
 
5
        DocumentRoot /var/www/
 
6
        <Directory />
 
7
                Options FollowSymLinks
 
8
                AllowOverride None
 
9
        </Directory>
 
10
        <Directory /var/www/>
 
11
                Options Indexes FollowSymLinks MultiViews
 
12
                AllowOverride None
 
13
                Order allow,deny
 
14
                allow from all
 
15
                # This directive allows us to have apache2's default start page
 
16
                # in /apache2-default/, but still have / go to the right place
 
17
                RedirectMatch ^/$ /apache2-default/
 
18
        </Directory>
 
19
 
 
20
        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
 
21
        <Directory "/usr/lib/cgi-bin">
 
22
                AllowOverride None
 
23
                Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
 
24
                Order allow,deny
 
25
                Allow from all
 
26
        </Directory>
 
27
 
 
28
        ErrorLog /var/log/apache2/error.log
 
29
 
 
30
        # Possible values include: debug, info, notice, warn, error, crit,
 
31
        # alert, emerg.
 
32
        LogLevel warn
 
33
 
 
34
        CustomLog /var/log/apache2/access.log combined
 
35
        ServerSignature On
 
36
 
 
37
    Alias /doc/ "/usr/share/doc/"
 
38
    <Directory "/usr/share/doc/">
 
39
        Options Indexes MultiViews FollowSymLinks
 
40
        AllowOverride None
 
41
        Order deny,allow
 
42
        Deny from all
 
43
        Allow from 127.0.0.0/255.0.0.0 ::1/128
 
44
    </Directory>
 
45
 
 
46
</VirtualHost>