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

« back to all changes in this revision

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

Merge setup-stuff.

phpBB is gone, configuration, setup and jail building are completely redone.

Please read doc/setup/install_proc.txt, or you'll not get far.

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/">
 
15
    <Directory "/usr/local/share/ivle/www/">
16
16
        AllowOverride None
17
17
        Order allow,deny
18
18
        allow from all
19
19
        SetHandler mod_python
20
 
        PythonHandler dispatch
 
20
        PythonHandler ivle.dispatch
21
21
        #PythonDebug On
22
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
 
23
        PythonOption mod_python.file_session.database_directory /var/lib/ivle/sessions
 
24
        PythonOption mod_python.session.cookie_name ivle
30
25
    </Directory>
31
26
 
32
27
    ErrorLog /var/log/apache2/error.log
39
34
    ServerSignature On
40
35
</VirtualHost>
41
36
 
42
 
<VirtualHost *>
 
37
<VirtualHost *:80>
43
38
  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
 
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
52
56
  </Location>
53
57
</VirtualHost>
54
58