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

525 by drtomc
A sample apache config containing both ivle and svn configuration.
1
# Custom IVLE Apache config script
2
# Configures IVLE at the root of the site.
3
NameVirtualHost *
4
ServerAdmin ADMIN@EXAMPLE.COM
5
ServerName IVLE.EXAMPLE.COM
6
7
<VirtualHost *>
8
    DocumentRoot /opt/ivle/www
9
    ServerName localhost
10
    ServerName public.localhost
11
    <Directory />
12
        Options FollowSymLinks
13
        AllowOverride None
14
    </Directory>
15
    <Directory "/opt/ivle/www/">
16
        AllowOverride None
17
        Order allow,deny
18
        allow from all
19
        SetHandler mod_python
20
        PythonHandler dispatch
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>
31
32
    ErrorLog /var/log/apache2/error.log
33
34
    # Possible values include: debug, info, notice, warn, error, crit,
35
    # alert, emerg.
36
    LogLevel warn
37
38
    CustomLog /var/log/apache2/access.log combined
39
    ServerSignature On
40
</VirtualHost>
41
42
<VirtualHost *>
43
  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
52
  </Location>
53
</VirtualHost>
54