-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtinycms.conf
44 lines (39 loc) · 1.17 KB
/
tinycms.conf
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
Alias /www/cms /srv/src/tinycms/htdocs/index.C
Alias /www/login /srv/src/tinycms/htdocs/login.C
Alias /www /srv/src/tinycms/htdocs/
<Location /www>
Options Indexes
DirectoryIndex index.C
AddHandler raii_module .csp
AddHandler raii_module .C
Debug on
RaiippPath "/usr/bin/raiipp"
BuildCmd "RaiiBuild"
TmpDir "/srv/raii/build"
DsoDir "/srv/raii/build"
ContextPath "/www"
SqlConnection "sqlite:///srv/raii/tinycms.db"
RaiiParameter "Alias" "/www/cms"
RaiiParameter "Login" "/www/login"
RaiiParameter "Stylesheet" "/www/tourneback.css"
RaiiParameter "Icon" "/www/tournesol.ico"
RaiiParameter "Action" "false"
RaiiParameter "ExcludeSiteMap" "^(/private|/plop)"
</Location>
<Location /www/login>
AuthType Basic
AuthName "tinycms"
AuthUserFile /srv/raii/tinycms.passwd
Require valid-user
</Location>
RedirectMatch ^/www/index.C /www/cms/
RedirectMatch ^/www/login.C /www/cms/
<Location /www/cms/private>
AuthType Basic
AuthName "tinycms"
AuthUserFile /srv/raii/tinycms.passwd
Require valid-user
</Location>
<Location /www/cms/plop>
RaiiParameter "Stylesheet" "/www/autrestyle.css"
</Location>