~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/setup/ivle-both.conf

  • Committer: William Grant
  • Date: 2010-02-23 08:08:27 UTC
  • Revision ID: grantw@unimelb.edu.au-20100223080827-wklsx122pcw79wi7
Reject off-site non-GET requests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Custom IVLE Apache config script
2
 
# Configures IVLE at the root of the site.
3
 
NameVirtualHost *:80
4
 
ServerAdmin ADMIN@EXAMPLE.COM
5
 
ServerName IVLE.EXAMPLE.COM
6
 
 
7
 
<VirtualHost *:80>
8
 
    DocumentRoot /usr/local/share/ivle/www
9
 
    ServerName localhost
10
 
    ServerAlias public.localhost
11
 
    <Directory />
12
 
        Options FollowSymLinks
13
 
        AllowOverride None
14
 
    </Directory>
15
 
    <Directory "/usr/local/share/ivle/www/">
16
 
        AllowOverride None
17
 
        Order allow,deny
18
 
        allow from all
19
 
        SetHandler mod_python
20
 
        PythonHandler ivle.dispatch
21
 
        #PythonDebug On
22
 
        Options FollowSymLinks
23
 
        PythonOption mod_python.file_session.database_directory /var/lib/ivle/sessions
24
 
        PythonOption mod_python.session.cookie_name ivle
25
 
    </Directory>
26
 
 
27
 
    ErrorLog /var/log/apache2/error.log
28
 
 
29
 
    # Possible values include: debug, info, notice, warn, error, crit,
30
 
    # alert, emerg.
31
 
    LogLevel warn
32
 
 
33
 
    CustomLog /var/log/apache2/access.log combined
34
 
    ServerSignature On
35
 
</VirtualHost>
36
 
 
37
 
<VirtualHost *:80>
38
 
  ServerName svn.localhost
39
 
  <Location /users>
40
 
    DAV svn
41
 
    SVNParentPath /var/lib/ivle/svn/repositories/users
42
 
    AuthzSVNAccessFile /var/lib/ivle/svn/svn.conf
43
 
    Require valid-user
44
 
    AuthType Basic
45
 
    AuthName "Subversion repository"
46
 
    AuthUserFile /var/lib/ivle/svn/ivle.auth
47
 
  </Location>
48
 
  <Location /groups>
49
 
    DAV svn
50
 
    SVNParentPath /var/lib/ivle/svn/repositories/groups
51
 
    AuthzSVNAccessFile /var/lib/ivle/svn/svn-group.conf
52
 
    Require valid-user
53
 
    AuthType Basic
54
 
    AuthName "Subversion repository"
55
 
    AuthUserFile /var/lib/ivle/svn/ivle.auth
56
 
  </Location>
57
 
</VirtualHost>
58