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 |
|
934
by wagrant
doc/setup/ivle(-both).conf: Set the mod_python cookie name to 'ivle'. |
24 |
PythonOption mod_python.session.cookie_name ivle |
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
25 |
</Directory>
|
26 |
<Directory "/opt/ivle/www/media"> |
|
27 |
SetHandler None |
|
28 |
</Directory>
|
|
29 |
<Directory "/opt/ivle/www/php"> |
|
30 |
SetHandler None |
|
31 |
</Directory>
|
|
32 |
||
33 |
ErrorLog /var/log/apache2/error.log |
|
34 |
||
35 |
# Possible values include: debug, info, notice, warn, error, crit, |
|
36 |
# alert, emerg. |
|
37 |
LogLevel warn |
|
38 |
||
39 |
CustomLog /var/log/apache2/access.log combined |
|
40 |
ServerSignature On |
|
41 |
</VirtualHost>
|
|
42 |
||
43 |
<VirtualHost *> |
|
44 |
ServerName svn.localhost |
|
953
by wagrant
Add users/ to the front of all Subversion repositories, to clear the |
45 |
<Location /users> |
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
46 |
DAV svn |
953
by wagrant
Add users/ to the front of all Subversion repositories, to clear the |
47 |
SVNParentPath /home/informatics/repositories/users |
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
48 |
AuthzSVNAccessFile /opt/ivle/svn/svn.conf |
49 |
Require valid-user |
|
50 |
AuthType Basic |
|
51 |
AuthName "Subversion repository" |
|
52 |
AuthUserFile /opt/ivle/svn/ivle.auth |
|
53 |
</Location>
|
|
989
by dcoles
Groups: Added userservice/assign_group call. This allows a user with the |
54 |
<Location /groups> |
55 |
DAV svn |
|
56 |
SVNParentPath /home/informatics/repositories/groups |
|
57 |
AuthzSVNAccessFile /opt/ivle/svn/svn-group.conf |
|
58 |
Require valid-user |
|
59 |
AuthType Basic |
|
60 |
AuthName "Subversion repository" |
|
61 |
AuthUserFile /opt/ivle/svn/ivle.auth |
|
62 |
</Location>
|
|
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
63 |
</VirtualHost>
|
64 |