Difference between revisions of "Awstats"

From ArchWiki
Jump to: navigation, search
m (Moved to category "web server" which is not a sub-category of "networking")
Line 9: Line 9:
  
 
=== mod_perl ===
 
=== mod_perl ===
mod_perl package is in repo extra. So you can install it using pacman.
+
mod_perl is required to run Awstats with Apache. {{:ArchTrack/pkg|mod_perl}} package is available in repo extra. So you can install it using pacman.
 
  # pacman -S mod_perl
 
  # pacman -S mod_perl
  
Line 16: Line 16:
 
  $ yaourt -S awstats
 
  $ yaourt -S awstats
 
== Configuring ==
 
== Configuring ==
=== Enable mod_perl for apache ===
+
=== Enable mod_perl for Apache ===
 +
To enable mod_perl in Apache, you should add following line to Apache configuration (/etc/httpd/conf/httpd.conf).
 +
  LoadModule perl_module modules/mod_perl.so
 +
=== Configure Apache to log for Awstats ===

Revision as of 23:06, 11 April 2011

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Awstats#)

I am planning to update this page to contain full installation and configuration of awstats for apache as I have time to. If you want to add something, go ahead. -th0th

Installing

mod_perl

mod_perl is required to run Awstats with Apache. ArchTrack/pkg package is available in repo extra. So you can install it using pacman.

# pacman -S mod_perl

Awstats

Awstats package is available in AUR. You can use yaourt to build it or you can obtain tarball from AUR and build it yourself.

$ yaourt -S awstats

Configuring

Enable mod_perl for Apache

To enable mod_perl in Apache, you should add following line to Apache configuration (/etc/httpd/conf/httpd.conf).

 LoadModule perl_module modules/mod_perl.so

Configure Apache to log for Awstats