-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
107 lines (86 loc) · 2.56 KB
/
INSTALL
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Testing
~~~~~~~
If you want to give a quick try at the web interface:
cd tests/minimal_configs/
make install
Then point your browser at http://localhost:50080/
That's all!
You need 'apache2', 'mysqld_safe' and 'mysql' binaries in your
PATH. They will be used with alternate configuration files to create a
non-privileged testing environment, and will not impact your other
Apache or MySQL installations.
Complete install
~~~~~~~~~~~~~~~~
# Configure system paths [1]
./configure.sh
# build what need to be built
make
# log as superuser
su
# create the database
make database
# create the configuration file (WIP)
# make conf
emacs /etc/savane/savane.conf.pl
# install the backend scripts and the translation files
make install
# OR do all of the above all at once (WIP)
#./configure
#su -c "make savane"
Then, you must plug Savane into Apache. Exemple if you want to install Savane
at yourdomain/savane:
Alias /savane $path_to_savane/frontend/php
<Directory $path_to_savane/frontend/php>
# Pure apache conf:
SetEnv SAVANE_CONF /etc/savane
Options SymLinksIfOwnerMatch
DirectoryIndex index.php
AllowOverride None
#Necessary with apache2: AcceptPathInfo On
ErrorDocument 404 /savane/404.php
Order allow,deny
Allow from all
# Configure some specials urls:
<Files u>
ForceType application/x-httpd-php
</Files>
<Files us>
ForceType application/x-httpd-php
</Files>
<Files users>
ForceType application/x-httpd-php
</Files>
<Files projects>
ForceType application/x-httpd-php
</Files>
<Files pr>
ForceType application/x-httpd-php
</Files>
<Files p>
ForceType application/x-httpd-php
</Files>
<Files file>
ForceType application/x-httpd-php
</Files>
# Restrict access to testconfig
<Files testconfig.php>
Order Deny,Allow
Allow from 127.0.0.1
Deny from All
</Files>
</Directory>
# Restrict access into include/
<Directory $path_to_savane/frontend/php/include>
Order Allow,Deny
Deny from all
</Directory>
If you use the backend, read also etc/README.
# Afterwards, you should check
# http://127.0.0.1/savane/testconfig.php
(please read carefully INSTALL.verbose for a more complete guide)
Notes
~~~~~
[1] If you checked out Savane directly from the repository (instead of
downloading a release tarball), you first need to install the
autotools (Autoconf and Automake), and bootstrap the build system:
./bootstrap