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 *> |
|
1079
by William Grant
Merge setup-refactor branch. This completely breaks existing installations; |
8 |
DocumentRoot /usr/local/share/ivle/www |
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
9 |
ServerName localhost |
10 |
ServerName public.localhost |
|
11 |
<Directory /> |
|
12 |
Options FollowSymLinks |
|
13 |
AllowOverride None |
|
14 |
</Directory>
|
|
1079
by William Grant
Merge setup-refactor branch. This completely breaks existing installations; |
15 |
<Directory "/usr/local/share/ivle/www/"> |
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
16 |
AllowOverride None |
17 |
Order allow,deny |
|
18 |
allow from all |
|
19 |
SetHandler mod_python |
|
1080
by me at id
doc/setup/ivle(-both).conf: Set PythonHandler to ivle.dispatch. |
20 |
PythonHandler ivle.dispatch |
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
21 |
#PythonDebug On |
22 |
Options FollowSymLinks |
|
1079
by William Grant
Merge setup-refactor branch. This completely breaks existing installations; |
23 |
PythonOption mod_python.file_session.database_directory /var/lib/ivle/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>
|
1079
by William Grant
Merge setup-refactor branch. This completely breaks existing installations; |
26 |
<Directory "/usr/local/share/ivle/www/media"> |
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
27 |
SetHandler None |
28 |
</Directory>
|
|
1079
by William Grant
Merge setup-refactor branch. This completely breaks existing installations; |
29 |
<Directory "/usr/local/share/ivle/www/php"> |
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
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 |
1079
by William Grant
Merge setup-refactor branch. This completely breaks existing installations; |
47 |
SVNParentPath /var/lib/ivle/svn/repositories/users |
48 |
AuthzSVNAccessFile /var/lib/ivle/svn/svn.conf |
|
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
49 |
Require valid-user |
50 |
AuthType Basic |
|
51 |
AuthName "Subversion repository" |
|
1079
by William Grant
Merge setup-refactor branch. This completely breaks existing installations; |
52 |
AuthUserFile /var/lib/ivle/svn/ivle.auth |
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
53 |
</Location>
|
989
by dcoles
Groups: Added userservice/assign_group call. This allows a user with the |
54 |
<Location /groups> |
55 |
DAV svn |
|
1079
by William Grant
Merge setup-refactor branch. This completely breaks existing installations; |
56 |
SVNParentPath /var/lib/ivle/svn/repositories/groups |
57 |
AuthzSVNAccessFile /var/lib/ivle/svn/svn-group.conf |
|
989
by dcoles
Groups: Added userservice/assign_group call. This allows a user with the |
58 |
Require valid-user |
59 |
AuthType Basic |
|
60 |
AuthName "Subversion repository" |
|
1079
by William Grant
Merge setup-refactor branch. This completely breaks existing installations; |
61 |
AuthUserFile /var/lib/ivle/svn/ivle.auth |
989
by dcoles
Groups: Added userservice/assign_group call. This allows a user with the |
62 |
</Location>
|
525
by drtomc
A sample apache config containing both ivle and svn configuration. |
63 |
</VirtualHost>
|
64 |