]> git.pld-linux.org Git - packages/awstats.git/commitdiff
*** empty log message ***
authorpbern <pbern@pld-linux.org>
Mon, 27 Jan 2003 12:13:06 +0000 (12:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    awstats-cron -> 1.1
    awstats_conf.patch -> 1.1

awstats-cron [new file with mode: 0644]
awstats_conf.patch [new file with mode: 0644]

diff --git a/awstats-cron b/awstats-cron
new file mode 100644 (file)
index 0000000..583f7db
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+# update access statistics for the web site
+
+if [ -s /var/log/httpd/access_log ] ; then
+    /usr/bin/awstats_updateall.pl now -confdir=/etc \
+       -awstatsprog=/home/services/httpd/html/cgi-bin/awstats.pl > /dev/null
+fi
+
+exit 0
diff --git a/awstats_conf.patch b/awstats_conf.patch
new file mode 100644 (file)
index 0000000..4b754e3
--- /dev/null
@@ -0,0 +1,55 @@
+--- awstats-5.4.orig/wwwroot/cgi-bin/awstats.model.conf        Thu Jan 16 14:09:32 2003
++++ awstats-5.4/wwwroot/cgi-bin/awstats.model.conf     Mon Jan 27 12:07:07 2003
+@@ -168,7 +168,7 @@
+ # Example: "C:/awstats_data_dir"
+ # Default: "."          (means same directory as awstats.pl)
+ #
+-DirData="."
++DirData="/usr/share/awstats"
+ # Relative or absolute web URL of your awstats.pl directory.
+@@ -306,7 +306,7 @@
+ # Possible values: 0 or 1
+ # Default: 0
+ #
+-CreateDirDataIfNotExists=0
++CreateDirDataIfNotExists=1
+ # In most case, AWStats is used as a cgi program. So AWStats process is ran
+@@ -688,7 +688,7 @@
+ # Example: 3600
+ # Default: 0
+ #
+-Expires=0
++Expires= 3600
+ # To avoid too large web pages, you can ask AWStats to limit number of rows of
+@@ -710,14 +710,14 @@
+ #  Ukrainian=ua, Welsh=wlk
+ # Default: "en"
+ #
+-Lang="en"
++Lang="pl"
+ # Set the location of language files.
+ # Example: "/opt/awstats/lang"
+ # Default: "./lang" (means lang directory is in same location than awstats.pl)
+ #
+-DirLang="./lang"
++DirLang="/usr/share/awstats/lang"
+ # You choose here which reports you want to see in the main page and what you
+@@ -862,7 +862,7 @@
+ # Possible values: "" or "language_codes_separated_by_space"
+ # Default: "en es fr nl es"
+ #
+-ShowFlagLinks="en fr de nl es"
++ShowFlagLinks="en fr de nl es pl"
+ # Each URL, shown in stats report views, are links you can click.
This page took 0.137806 seconds and 4 git commands to generate.