3
3
loggerhead.conf and bazaar.conf. You can copy them into place and use them as
4
4
a starting point if you want.
6
1) Edit /etc/loggerhead/bazaar.conf. You need to set http_root_dir to the filesystem
7
path that you will find your bzr branches under. Note that normal
8
directories under that path will also be visible in loggerhead.
10
2) Install mod_wsgi. On Fedora-derived distros::
6
1) Install mod_wsgi. On Fedora-derived distros::
11
7
su -c yum install mod_wsgi
13
9
On Debian-derived distros::
14
10
sudo apt-get install libapache2-mod-wsgi
16
3) Install the apache conf file::
17
# cp /usr/share/doc/loggerhead-*/loggerhead.conf /etc/httpd/conf.d/
19
4) Edit /etc/httpd/conf.d/loggerhead.conf to point to the url you desire to
12
2) Copy the bazaar conf file where apache will find it (May be done for you if
13
you installed loggerhead from a distribution package)::
14
# install -d -o apache -g apache -m 0755 /etc/loggerhead
15
# cp -p /usr/share/doc/loggerhead*/bazaar.conf /etc/loggerhead/
17
3) Create the cache directory (May be done for you if you installed loggerhead
18
from a distribution package)::
19
# install -d -o apache -g apache -m 0700 /var/cache/loggerhead/
21
4) Edit /etc/loggerhead/bazaar.conf. You need to set http_root_dir to the filesystem
22
path that you will find your bzr branches under. Note that normal
23
directories under that path will also be visible in loggerhead.
25
5) Install the apache conf file::
26
# cp -p /usr/share/doc/loggerhead*/apache-loggerhead.conf /etc/httpd/conf.d/loggerhead.conf
28
6) Edit /etc/httpd/conf.d/loggerhead.conf to point to the url you desire to
20
29
serve loggerhead on. This should match with the setting for
21
30
http_user_prefix in bazaar.conf
23
5) Restart apache and you should be able to start browsing
32
7) Restart apache and you should be able to start browsing
25
34
.. note:: If you have SELinux enabled on your system you may need to allow
26
35
apache to execute files in temporary directories. You will get a