~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: 2009-05-26 03:06:53 UTC
  • Revision ID: grantw@unimelb.edu.au-20090526030653-axxawt0o5ws4icbt
Remove ivle.conf usage from ivle.studpath.

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
 
 
16
    <Location />
 
17
        Order allow,deny
 
18
        Allow from all
 
19
        SetHandler mod_python
 
20
        PythonHandler ivle.dispatch
 
21
        #PythonDebug On
 
22
        PythonOption mod_python.file_session.database_directory /var/lib/ivle/sessions
 
23
        PythonOption mod_python.session.cookie_name ivle
 
24
    </Location>
 
25
 
 
26
    ErrorLog /var/log/apache2/error.log
 
27
 
 
28
    # Possible values include: debug, info, notice, warn, error, crit,
 
29
    # alert, emerg.
 
30
    LogLevel warn
 
31
 
 
32
    CustomLog /var/log/apache2/access.log combined
 
33
    ServerSignature On
 
34
</VirtualHost>
 
35
 
 
36
<VirtualHost *:80>
 
37
  ServerName svn.localhost
 
38
  <Location /users>
 
39
    DAV svn
 
40
    SVNParentPath /var/lib/ivle/svn/repositories/users
 
41
    AuthzSVNAccessFile /var/lib/ivle/svn/svn.conf
 
42
    Require valid-user
 
43
    AuthType Basic
 
44
    AuthName "Subversion repository"
 
45
    AuthUserFile /var/lib/ivle/svn/ivle.auth
 
46
  </Location>
 
47
  <Location /groups>
 
48
    DAV svn
 
49
    SVNParentPath /var/lib/ivle/svn/repositories/groups
 
50
    AuthzSVNAccessFile /var/lib/ivle/svn/svn-group.conf
 
51
    Require valid-user
 
52
    AuthType Basic
 
53
    AuthName "Subversion repository"
 
54
    AuthUserFile /var/lib/ivle/svn/ivle.auth
 
55
  </Location>
 
56
</VirtualHost>
 
57