~libravatar/libravatar/master

444 by Francois Marier
Document mirror setup
1
libravatar-slave for Debian
2
---------------------------
3
4
Once you have installed this package and its dependencies,
5
782.1.1 by Francois Marier
Reverse the mirror sync direction (closes: #947796)
6
1- Put "ServerName X.cdn.libravatar.org" in your /etc/apache2/httpd.conf
444 by Francois Marier
Document mirror setup
7
   where X is the mirror number you were given.
8
782.1.1 by Francois Marier
Reverse the mirror sync direction (closes: #947796)
9
2- (Optional) Turn on all of the Apache security settings in
444 by Francois Marier
Document mirror setup
10
   /etc/apache2/conf.d/security.
11
782.1.1 by Francois Marier
Reverse the mirror sync direction (closes: #947796)
12
3- Restart apache: apache2ctl configtest && apache2ctl graceful
444 by Francois Marier
Document mirror setup
13
14
15
Optional generation of traffic statistics
16
-----------------------------------------
17
18
Both libravatar-cdn and libravatar-seccdn come pre-configured
19
for awstats. To turn it on:
20
21
1- Install the awstats package
782.1.1 by Francois Marier
Reverse the mirror sync direction (closes: #947796)
22
23
2- Add this to /etc/awstats/awstats.conf.local:
24
25
 SiteDomain="libravatar.org"
26
 LogType=W
27
 LogFormat=1
28
29
3- Make the statistics accessible through Apache:
444 by Francois Marier
Document mirror setup
30
31
  ln -s /var/cache/awstats /var/www/stats
32
  ln -s /usr/share/awstats/icon/ /var/www/awstats-icon
33
34
 -- Francois Marier <francois@debian.org>  Sat, 14 May 2011 21:47:07 +1200