diff -ur awstats-7.9.orig/wwwroot/cgi-bin/awstats.model.conf awstats-7.9/wwwroot/cgi-bin/awstats.model.conf --- awstats-7.9.orig/wwwroot/cgi-bin/awstats.model.conf 2021-08-19 04:00:58.000000000 +0200 +++ awstats-7.9/wwwroot/cgi-bin/awstats.model.conf 2024-01-07 20:08:45.852760449 +0100 @@ -47,7 +47,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. @@ -123,7 +123,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. @@ -154,7 +154,7 @@ # Example: "ftp.domain.com" # Example: "domain.com" # -SiteDomain="" +#SiteDomain="" # Enter here all other possible domain names, addresses or virtual host @@ -169,7 +169,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 @@ -219,7 +219,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. @@ -228,7 +228,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. @@ -238,7 +238,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 the report page to @@ -378,7 +378,7 @@ # Possible values: 0 or 1 # Default: 0 # -CreateDirDataIfNotExists=0 +CreateDirDataIfNotExists=1 # You can choose in which format the AWStats history database is saved. @@ -945,7 +945,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 @@ -1275,7 +1275,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)