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