awstats/awstats-6.9-awstats_model_conf.patch

94 lines
2.6 KiB
Diff
Raw Normal View History

diff -Nru awstats-6.9.orig/wwwroot/cgi-bin/awstats.model.conf awstats-6.9/wwwroot/cgi-bin/awstats.model.conf
--- awstats-6.9.orig/wwwroot/cgi-bin/awstats.model.conf 2008-10-05 13:01:32.000000000 +0200
+++ awstats-6.9/wwwroot/cgi-bin/awstats.model.conf 2009-07-16 02:08:33.000000000 +0200
@@ -48,7 +48,7 @@
# If there are several log files from load balancing servers :
# Example: "/pathtotools/logresolvemerge.pl *.log |"
#
-LogFile="/var/log/httpd/mylog.log"
+#LogFile="/var/log/httpd/mylog.log"
# Enter the log file type you want to analyze.
@@ -119,7 +119,7 @@
# Example for IIS:
# LogFormat = 2
#
-LogFormat=1
+LogFormat=4
# If your log field's separator is not a space, you can change this parameter.
@@ -150,7 +150,7 @@
# Example: "ftp.domain.com"
# Example: "domain.com"
#
-SiteDomain=""
+#SiteDomain=""
# Enter here all other possible domain names, addresses or virtual host
@@ -165,7 +165,7 @@
# Note: You can also use @/mypath/myfile if list of aliases are in a file.
# Example: "www.myserver.com localhost 127.0.0.1 REGEX[mydomain\.(net|org)$]"
#
-HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
+#HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
# If you want to have hosts reported by name instead of ip address, AWStats
@@ -200,7 +200,7 @@
# Example: "C:/awstats_data_dir"
# Default: "." (means same directory as awstats.pl)
#
-DirData="."
+DirData="/var/lib/awstats"
# Relative or absolute web URL of your awstats cgi-bin directory.
@@ -209,7 +209,7 @@
# Example: "/awstats"
# Default: "/cgi-bin" (means awstats.pl is in "/yourwwwroot/cgi-bin")
#
-DirCgi="/cgi-bin"
+DirCgi="/awstats"
# Relative or absolute web URL of your awstats icon directory.
@@ -219,7 +219,7 @@
# Example: "../icon"
# Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
#
-DirIcons="/icon"
+DirIcons="/awstatsicons"
# When this parameter is set to 1, AWStats adds a button on report page to
@@ -359,7 +359,7 @@
# Possible values: 0 or 1
# Default: 0
#
-CreateDirDataIfNotExists=0
+CreateDirDataIfNotExists=1
# You can choose in which format the Awstats history database is saved.
@@ -909,7 +909,7 @@
# Example: "/usr/share/awstats/lang"
# Default: "./lang" (means lang directory is in same location than awstats.pl)
#
-DirLang="./lang"
+DirLang="/usr/share/awstats/lang"
# Show menu header with reports' links
@@ -1219,7 +1219,7 @@
# Example: "/css/awstats_bw.css"
# Default: ""
#
-StyleSheet=""
+StyleSheet="/awstatscss/awstats_default.css"
# Those color parameters can be used (if StyleSheet parameter is not used)