~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-02-23 23:47:02 UTC
  • mfrom: (1099.1.211 new-dispatch)
  • Revision ID: grantw@unimelb.edu.au-20090223234702-db4b1llly46ignwo
Merge from lp:~ivle-dev/ivle/new-dispatch.

Pretty much everything changes. Reread the setup docs. Backup your databases.
Every file is now in a different installed location, the configuration system
is rewritten, the dispatch system is rewritten, URLs are different, the
database is different, worksheets and exercises are no longer on the
filesystem, we use a templating engine, jail service protocols are rewritten,
we don't repeat ourselves, we have authorization rewritten, phpBB is gone,
and probably lots of other things that I cannot remember.

This is certainly the biggest commit I have ever made, and hopefully
the largest I ever will.

Show diffs side-by-side

added added

removed removed

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