Changeset 1561

Show
Ignore:
Timestamp:
05/03/06 16:41:32 (2 years ago)
Author:
pierre-gilles
Message:

Split the configuration of Awstats in two files :
- one containing the global server configuration : /etc/awstats/awstats.alternc.generic.conf
- the other is the template (/etc/awstats/template/awstats/awstats.template.conf) wich include the generic configuration

NB : The generic configuration can be overrided in the per-host config file, wich is later sourced.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc-awstats/trunk/awstats.template.conf

    r1558 r1561  
    1 # AWStats configure file  
    2 #----------------------------------------------------------------------------- 
    3 # Copy this file into awstats.www.mydomain.conf or awstats.conf and edit this 
    4 # new file to setup AWStats (See documentation in docs/ directory). 
    5 # The config file must be in /etc/opt/awstats, /etc/awstats or /etc (for 
    6 # Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/Linux...) 
    7 # To include an environment variable in any parameter (AWStats will replace 
    8 # it with its value when reading it), follow the example: 
    9 # Parameter="__ENVNAME__" 
    10 #----------------------------------------------------------------------------- 
    11 # $Revision$ - $Author$ - $Date$ 
    12  
    13  
    14  
    15 #----------------------------------------------------------------------------- 
    16 # MAIN SETUP SECTION (Required to make AWStats working) 
    17 #----------------------------------------------------------------------------- 
    18  
    19 # "LogFile" contains the web server logfile to analyze. 
    20 # Possible values: A full path, or a relative path from awstats.pl directory 
    21 # Example: "/var/log/apache/access.log" 
    22 # Example: "../logs/mycombinedlog.log" 
    23 # You can also use tags in this filename if you need a dynamic file name 
    24 # depending on date or time (Replacement is made by AWStats at the beginning 
    25 # of its execution). This is available tags : 
    26 #  %YYYY-n  is replaced with 4 digits year we were n hours ago 
    27 #  %YY-n    is replaced with 2 digits year we were n hours ago 
    28 #  %MM-n    is replaced with month we were n hours ago 
    29 #  %DD-n    is replaced with day we were n hours ago 
    30 #  %HH-n    is replaced with hour we were n hours ago 
    31 #  %WM-n    is replaced with the week number in month (1-5) 
    32 #  You can use 0 for n if you need current year, month, day, hour... 
    33 # Example: "/var/log/access_log.%YYYY-0%MM-0%DD-0.log" 
    34 # Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex%YY-24%MM-24%DD-24.log" 
    35 
    36 LogFile="/tmp/awstats.access.log" 
    37  
    38 AllowFullYearView=3 
    39  
    40 # Put here your log format (Must match your web server config. See setup 
    41 # instructions in documentation know how to configure your web server to have 
    42 # the required log format). 
    43 # Possible values: 1,2,3,4,5 or "your_own_personalized_log_format" 
    44 # 1 = Apache native combined log format (NCSA combined/XLF/ELF log format) 
    45 # 2 = IIS log format (W3C log format) 
    46 # 3 = Webstar native log format 
    47 # 4 = Apache or Squid native common log format (NCSA common log format) 
    48 #     With LogFormat=4, some features (browsers, os, keywords...) can't work. 
    49 # 5 = ISA server native standard log format 
    50 # "your_own_personalized_log_format" = If your log is a personalized format, 
    51 #     you must use the following syntax keys to define the log format string: 
    52 #     %host             Host client name or IP address 
    53 #     %logname          Authenticated login/user used on protected pages 
    54 #     %time1            Date and time with format: [dd/mmm/yyyy:hh:mm:ss +0000] 
    55 #     %time2            Date and time with format: yyyy-mm-dd hh:mm:ss 
    56 #     %methodurl        Method and URL with format: "GET /index.html HTTP/x.x" 
    57 #     %methodurlnoprot  Method and URL with format: "GET /index.html" 
    58 #     %method           Method with format: GET 
    59 #     %url              URL only with format: /index.html 
    60 #     %query            Query string (used by URLWithQuery option) 
    61 #     %code             HTTP return code with format: 999 
    62 #     %bytesd           Size of document in bytes 
    63 #     %refererquot      Referer page with format: "http://from.com/from.htm" 
    64 #     %referer          Referer page with format: http://from.com/from.htm 
    65 #     %uaquot           User agent with format: "Mozilla/4.0 (compatible, ...)" 
    66 #     %ua               User agent with format: Mozilla/4.0_(compatible...) 
    67 #     %gzipin           Mod_gzip compression input bytes: In:XXX 
    68 #     %gzipout          Mod_gzip compression output bytes & ratio: Out:YYY:ZZZpct. 
    69 #     %gzipratio        Mod_gzip compression ratio: ZZZpct. 
    70 #     %syslog           Syslog-specific time and host stamp with format: Mon ddhh:mm:ss hostname 
    71 #     If your log format has some fields not included in this list, use 
    72 #     %other            Means another field 
    73 
    74 # Examples for Apache combined logs (this two examples are equivalent): 
    75 # LogFormat = 1 
    76 # LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot" 
    77 
    78 # Examples for IIS (this two examples are equivalent): 
    79 # LogFormat = 2 
    80 # LogFormat = "%time2 %host %logname %method %url %code %bytesd %other %ua %referer" 
    81 
    82 #LogFormat=1 
    83 LogFormat="%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot %other %virtualname" 
    84  
    85 # If you want to have information on domains/countries visitors, you must ask 
    86 # AWStats to make reverse DNS lookup (if not already done in your log file). 
    87 # If you set DNSLookup to 1, don't forget that reverse DNS lookup decrease 
    88 # seriously AWStats time processing. 
    89 # If you keep DNSLookup to 0, all hosts will be reported by the IP addresses 
    90 # and not by the full hostname of visitors. Domain/Country chart will also  
    91 # report all visitors from a domain/country "Unknown". 
    92 # Possible values: 0 or 1 
    93 # Default: 0 
    94 #  
    95 DNSLookup=0 
    96  
    97 # When AWStats updates its statistics, it stores results of its analysis in  
    98 # files (AWStats database). All those files are written in the directory 
    99 # defined by the "DirData" parameter. Set this value to the directory where 
    100 # you want AWStats to save its database and working files into. 
    101 # Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser" 
    102 # feature (see later), you need "Write" permissions by web server user on this 
    103 # directory (and "Modify" for Windows NTFS file systems). 
    104 # Example: "/var/cache/awstats" 
    105 # Example: "../data" 
    106 # Example: "C:/awstats_data_dir" 
    107 # Default: "."          (means same directory as awstats.pl) 
    108 
     1Include "/etc/awstats/awstats.alternc.generic.conf" 
     2SiteDomain="%%HOSTNAME%%" 
     3HostAliases="%%HOSTNAME%%" 
    1094DirData="/var/cache/awstats/%%HOSTNAME%%" 
    110  
    111 # Relative or absolute web URL of your awstats.pl directory. 
    112 # This parameter is used only when AWStats is run from command line 
    113 # with -output option (to generate links in HTML reported page). 
    114 # Default: "/cgi-bin"   (means awstats.pl is in "/mywwwroot/cgi-bin") 
    115 # 
    116 DirCgi="/cgi-bin" 
    117  
    118 # Relative or absolute web URL of all icons subdirectories. 
    119 # Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon") 
    120 # 
    121 DirIcons="/awstats-icon" 
    122  
    123 # "SiteDomain" must contain the main domain name or the main intranet web 
    124 # server name used to reach the web site. 
    125 # This parameter is only used to generate full URLs links when ShowLinksOnUrl 
    126 # option is set to 1. 
    127 # Example: "www.mydomain.com" 
    128 # Example: "user.mydomain.com" 
    129 # Example: "myintranetserver" 
    130 # Default: "" 
    131 # 
    132 SiteDomain="%%HOSTNAME%%" 
    133  
    134 # Put here all other possible domain names, addresses or virtual host aliases 
    135 # someone can use to access your site. Try to keep only the minimum number of 
    136 # possible names/addresses to have the best performances. 
    137 # You can repeat the "SiteDomain" value in this list. 
    138 # Use space between each value. 
    139 # This parameter is used to analyze referer field in log file and to help 
    140 # AWStats to know if a referer URL is a local URL of same site or an URL of 
    141 # another site. 
    142 # Example: "www.myserver.com x.y.z.w localhost 127.0.0.1" 
    143 # 
    144 HostAliases="%%HOSTNAME%%" 
    145  
    146 # When this parameter is set to 1, AWStats add a button on report page to 
    147 # allow to "update" statistics from a web browser. Warning, when "update" is 
    148 # made from a browser, AWStats is ran as a CGI by the web server user defined 
    149 # in your web server (user "nobody" by default with Apache, "IUSR_XXX" with 
    150 # IIS), so the "DirData" directory and all already existing history files 
    151 # awstatsMMYYYY[.xxx].txt must be writable by this user. Change permissions if 
    152 # necessary to "Read/Write" (and "Modify" for Windows NTFS file systems). 
    153 # Warning: Update process can be long so you might experience "time out" 
    154 # browser errors if you don't launch AWStats enough frequently. 
    155 # When set to 0, update is only made when AWStats is ran from the command 
    156 # line interface (or a task scheduler). 
    157 # Possible values: 1 or 0 
    158 # Default: 0 
    159 # 
    160 AllowToUpdateStatsFromBrowser=0 
    161  
    162  
    163 #----------------------------------------------------------------------------- 
    164 # OPTIONAL SETUP SECTION (Not required but increase AWStats features) 
    165 #----------------------------------------------------------------------------- 
    166  
    167 # The following two parameters allow you to protect a config file to be used 
    168 # by your AWStats program called from a browser only if web user has been 
    169 # authenticated. Your AWStats program must be in a web protected "realm" (With 
    170 # Apache, you can use .htaccess files to do so. With other web servers, see 
    171 # your server setup manual). 
    172 # Possible values: 1 or 0 
    173 # Default: 0 
    174 # 
    175 AllowAccessFromWebToAuthenticatedUsersOnly=1 
    176  
    177 # This parameter give the list of all authorized authenticated users to view 
    178 # statistics for this domain/config file. This parameter is used only if 
    179 # AllowAccessToAuthenticatedUsersOnly is set to 1. 
    180 # Example: "user1 user2" 
    181 # Example: "__REMOTE_USER__" 
    182 # Default: "" 
    183 # 
    1845AllowAccessFromWebToFollowingAuthenticatedUsers="root %%USERS%%" 
    185  
    186 # If the "DirData" directory (see above) does not exists, AWStats return an 
    187 # error. However, you can ask AWStats to create it. 
    188 # This option can be used by some Web Hosting Providers that has defined a  
    189 # dynamic value for DirData (for example DirData="/home/__REMOTE_USER__") and 
    190 # don't want to have to create a new directory each time they add a new user. 
    191 # Possible values: 1 or 0 
    192 # Default: 0 
    193 # 
    194 CreateDirDataIfNotExists=1 
    195  
    196 # In most case, AWStats is used as a cgi program. So AWStats process is ran 
    197 # by default web server user (nobody for Unix, IUSR_xxx for IIS/Windows,...). 
    198 # To make use easier and avoid permission's problems between update process  
    199 # (run by an admin user) and CGI process (ran by a low level user), AWStats 
    200 # save its database files with read and write for everyone. 
    201 # If you have experience on managing security policies (Web Hosting Provider), 
    202 # you should set this parameter to 0. AWStats will keep default process user 
    203 # permissions on its files. 
    204 # Possible values: 1 or 0 
    205 # Default: 1 
    206 # 
    207 SaveDatabaseFilesWithPermissionsForEveryone=1 
    208  
    209 # AWStats can purge log after processing it. By this way, the next time you 
    210 # launch AWStats, log file will be smaller and processing time will be better. 
    211 # IMPORTANT !!! 
    212 # AWStats is able to detect new lines in log file, to process only them, so 
    213 # you can launch AWStats as soon as you want, even with this parameter to 0. 
    214 # With 0, no purge is made, so you must use a scheduled task or a web server 
    215 # that make this purge frequently. 
    216 # With 1, the purge of the log file is made each time AWStats is ran. 
    217 # This parameter doesn't work with IIS (This web server doesn't let its log 
    218 # file to be purged). 
    219 # Possible values: 1 or 0 
    220 # Default: 0 
    221 # 
    222 PurgeLogFile=0 
    223  
    224 # When PurgeLogFile is setup to 1, AWStats will clean your log file after 
    225 # processing it. You can however keep an archive file (saved in "DirData") of 
    226 # all processed log records by setting this to 1 (For example if you want to 
    227 # use another log analyzer). 
    228 # This parameter is not used if PurgeLogFile=0 
    229 # Possible values: 1 or 0 
    230 # Default: 0 
    231 # 
    232 ArchiveLogRecords=0 
    233  
    234 # Each time you run the update process, AWStats overwrite the 'historic file' 
    235 # for the month (awstatsMMYYYY[.*].txt) with the updated one. 
    236 # When write errors occurs (IO, disk full,...), this historic file can be 
    237 # corrupted and must be deleted. Because this file contains information of all 
    238 # past processed log files, you will loose old stats if removed. So you can 
    239 # ask AWStats to save last non corrupted file in a .bak file. This file is 
    240 # stored in "DirData" directory with other 'historic files'. 
    241 # Possible values: 1 or 0 
    242 # Default: 1 
    243 # 
    244 KeepBackupOfHistoricFiles=1 
    245  
    246 # Index page name for your web server. 
    247 # Example: "default.htm" 
    248 # Default: "index.html" 
    249 # 
    250 DefaultFile="index.html" 
    251  
    252 # Do not include access from clients that match following criteria. 
    253 # If your log file contains IP adresses in host field, you must put here 
    254 # matching IP adresses criteria. 
    255 # If DNS lookup is already done in your log file, you must put here hostname 
    256 # criteria. 
    257 # Note: Use space between each value. 
    258 # Example: "127.0.0.1 163.84. 201.101.51.1" 
    259 # Example: "localhost abcxyz" 
    260 # Default: "" 
    261 # 
    262 SkipHosts="" 
    263  
    264 # You can specify specific IP addresses that should NOT be looked up in 
    265 #  the DNS. You may specify partial addresses (ie 163.85. for everything 
    266 #  behind the usual firewall setup, etc)... 
    267 # This is only useful if DNSLookup=1. 
    268 # Note: Use space between each value and put a backslash before each dot. 
    269 # Example: "163.85. 201.101.51.2" 
    270 # Default: "" 
    271 # 
    272 SkipDNSLookupFor="" 
    273  
    274 # Use SkipFiles to ignore access to URLs that match one of following entries. 
    275 # You can, with this option, add a list of not important frame pages (like  
    276 # menus, etc...) to exclude them from statistics. 
    277 # For example, to ignore a whole directory tree, just add "directorytoignore", 
    278 # to ignore "users" pages in your stats, you can add "/~". 
    279 # The oposite parameter of "SkipFiles" is "OnlyFiles". 
    280 # Note: This parameter is not case sensitive. 
    281 # Note: Use space between each value and do not remove default values. 
    282 # Note: xxx$ means URL ending with xxx. 
    283 # Example: "robots.txt$ favicon.ico$ badpage.html /~" 
    284 # Default: "robots.txt$ favicon.ico$" 
    285 # 
    286 SkipFiles="robots.txt$ favicon.ico$" 
    287  
    288 # Include in stats, only accesses to URLs that match one of following entries. 
    289 # For example, if you want AWStats to filter access to keep only stats that 
    290 # match a particular string, like a particular directory, you can add this 
    291 # directory name in this parameter. 
    292 # The opposite parameter of "OnlyFiles" is "SkipFiles". 
    293 # Note: This parameter is not case sensitive. 
    294 # Note: Use space between each value and do not remove default values 
    295 # Note: xxx$ means URL ending by xxx. 
    296 # Example: "marketing_directory" 
    297 # Default: "" 
    298 # 
    299 OnlyFiles="" 
    300  
    301 # Add here a list of kind of url (file extension) that must be counted as 
    302 # "Hit only" and not as a "Hit" and "Page viewed". You can set here all images 
    303 # extensions as they are hit downloaded that must be counted but they are not 
    304 # viewed pages. URL with such extensions are not included in the TOP Pages/URL 
    305 # report. 
    306 # Note: If you want to exclude your own URLs from stats (No Pages and no Hits 
    307 # reported), you should use SkipFiles parameter instead. 
    308 # Example: "" 
    309 # Example: "css js class gif jpg jpeg png bmp zip arj gz z wav mp3 wma mpg" 
    310 # Default: "css js class gif jpg jpeg png bmp" 
    311 # 
    312 NotPageList="css js class gif jpg jpeg png bmp zip arj gz z wav mp3 wma mpg" 
    313  
    314 # By default, AWStats considers that records found in log file are successful 
    315 # hits if HTTP code returned by server is a valid HTTP code (200 and 304). 
    316 # Any other code are reported in HTTP error chart. 
    317 # However in some specific environnement, with web server HTTP redirection, 
    318 # you can choose to also accept other codes. 
    319 # Example: "200 304 302 305" 
    320 # Default: "200 304" 
    321 # 
    322 ValidHTTPCodes="200 304" 
    323  
    324 # Keep or attach the query string to the URL in the statistics for individual 
    325 # pages. This is primarily used to differentiate between the URLs of dynamic 
    326 # pages. If set to 1, mypage.html?id=x and mypage.html?id=y are counted as 
    327 # two different pages. Warning, when set to 1, memory required to run AWStats 
    328 # is doubled. 
    329 # Possible values: 
    330 # 0 - URLs are cleaned from the query string (ie: "/mypage.html") 
    331 # 1 - Full URL with query string is used     (ie: "/mypage.html?x=y") 
    332 # Default: 0 
    333 #  
    334 URLWithQuery=1 
    335  
    336 # AWStats can detect setup problems or show you important informations to have 
    337 # a better use. Keep this to 1, except if AWStats says you can change it. 
    338 # Possible values: 1 or 0 
    339 # Default: 1 
    340 # 
    341 WarningMessages=1 
    342  
    343 # To help you to detect if your log format is good, AWStats report an error 
    344 # if the first NbOfLinesForCorruptedLog lines have all a format that does not 
    345 # match the LogFormat parameter. 
    346 # However, some worm virus attack on your web server can result in a very high 
    347 # number of corrupted lines in your log. So if you experience awstats stop 
    348 # because of bad virus records, you can increase this parameter (very rare). 
    349 # Default: 50 
    350 # 
    351 NbOfLinesForCorruptedLog=500 
    352  
    353 # Search engines keywords reported are full search string or separate keywords 
    354 # Possible values: 
    355 # 0 - Search keywords reported are full search string (ie: "town maps") 
    356 # 1 - Search keywords reported are separated words (ie: "town" and "maps") 
    357 # Default: 0 
    358 # 
    359 SplitSearchString=0 
    360  
    361 # You can add in the HTML report page a delay to force browsers to reload page 
    362 # if page is loaded a second time after this delay (in seconds). 
    363 # Example: 3600 
    364 # Default: 0 
    365 # 
    366 Expires=0 
    367  
    368 # For some particular integration needs, you may want to have CGI links to 
    369 # point to another script than awstats.pl. 
    370 # Use the name of this script in WrapperScript parameter. 
    371 # Example: "awstatslauncher.pl" 
    372 # Default: "" 
    373 # 
    374 WrapperScript="" 
    375  
    376  
    377 #----------------------------------------------------------------------------- 
    378 # OPTIONAL ACCURACY SETUP SECTION (Not required but increase AWStats features) 
    379 #----------------------------------------------------------------------------- 
    380  
    381 # You can change value for following option to increase AWStats capabilities 
    382 # (but this reduce AWStats speed). 
    383 # Possible values: 0, 1 or 2 
    384 # Default: 1 
    385 # 
    386 LevelForRobotsDetection=1       # 0 will increase AWStats speed by 1%. 
    387 LevelForBrowsersDetection=1     # 0 disables Browsers detection. No speed gain. 
    388 LevelForOSDetection=1           # 0 disables OS detection. No speed gain. 
    389 LevelForRefererAnalyze=1        # 0 will increase AWStats speed by 6%. 
    390  
    391  
    392  
    393 #----------------------------------------------------------------------------- 
    394 # OPTIONAL APPEARANCE SETUP SECTION (Not required but increase AWStats features) 
    395 #----------------------------------------------------------------------------- 
    396  
    397 # To avoid too large web pages, you can ask AWStats to limit number of rows of 
    398 # all reported charts to this number when no other limit apply. 
    399 # Default: 1000 
    400 # 
    401 MaxRowsInHTMLOutput=1000 
    402  
    403 # Set your primary language. 
    404 # Possible value: 
    405 #  Bosnian=ba, Chinese (Taiwan)=tw, Chinese (Traditional)=cn, Czech=cz, 
    406 #  Danish=dk, Dutch=nl, English=en, French=fr, German=de, Greek=gr, 
    407 #  Hungarian=hu, Indonesian=id, Italian=it, Japanese=jp, Korean=kr, 
    408 #  Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl, 
    409 #  Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru, 
    410 #  Spanish=es, Swedish=se, Turkish=tr, Ukrainian=ua 
    411 # Default: en 
    412 # 
    413 Lang="fr" 
    414  
    415 # Set the location of language files. 
    416 # Example: "/opt/awstats/lang" 
    417 # Default: "./lang" (means lang directory is in same location than awstats.pl) 
    418 # 
    419 DirLang="/usr/share/awstats/lang" 
    420  
    421 # You choose here which summary report you want to see in the main page. 
    422 # Whatever is your setup here, all detailed reports are still available. 
    423 # So if you setup to 1 only ShowHeader, ShowMenu and ShowMonthDayStats, all 
    424 # links in menu will still point to detailed views. 
    425 # Possible values: 1 or 0 
    426 # 
    427 ShowHeader=1                            # Show AWStats head title and icon 
    428 ShowMenu=1                                      # Show menu header with links on detailed reports 
    429 ShowMonthDayStats=1 
    430 ShowDaysOfWeekStats=1 
    431 ShowHoursStats=1 
    432 ShowDomainsStats=1 
    433 ShowHostsStats=1 
    434 ShowAuthenticatedUsers=0 
    435 ShowRobotsStats=1 
    436 ShowPagesStats=1 
    437 ShowCompressionStats=0          # Show report of compression stats when using mod_gzip 
    438 ShowFileTypesStats=1 
    439 ShowFileSizesStats=0            # Not yet available 
    440 ShowBrowsersStats=1 
    441 ShowOSStats=1 
    442 ShowOriginStats=1 
    443 ShowKeyphrasesStats=1 
    444 ShowKeywordsStats=1                     # Not yet available 
    445 ShowHTTPErrorsStats=1 
    446  
    447 # This value can be used to choose maximum number of lines shown for each  
    448 # particular reporting. 
    449 # 
    450 # Stats by domains 
    451 MaxNbOfDomain = 200 
    452 # Stats by hosts 
    453 MaxNbOfHostsShown = 200 
    454 MinHitHost    = 1 
    455 # Stats by authenticated users 
    456 MaxNbOfLoginShown = 10 
    457 MinHitLogin   = 1 
    458 # Stats by robots 
    459 MaxNbOfRobotShown = 200 
    460 MinHitRobot   = 1 
    461 # Stats by pages 
    462 MaxNbOfPageShown = 200 
    463 MinHitFile    = 1 
    464 # Stats by referers 
    465 MaxNbOfRefererShown = 200 
    466 MinHitRefer   = 1 
    467 # Stats for keywords 
    468 MaxNbOfKeywordsShown = 200 
    469 MinHitKeyword  = 1 
    470  
    471 # Choose if you want week to start on sunday or monday 
    472 # Possible values: 
    473 # 0 - Week start on sunday 
    474 # 1 - Week start on monday 
    475 # Default: 1 
    476 # 
    477 FirstDayOfWeek=1 
    478  
    479 # This parameter ask your browser to open detailed reports into a different 
    480 # window than the main page. 
    481 # Possible values: 1 or 0 
    482 # Default: 1 
    483 # 
    484 DetailedReportsOnNewWindows=1 
    485  
    486 # List of visible flags with link to other language translations. 
    487 # If you don't want any flag link, set ShowFlagLinks to "". 
    488 # This parameter is used only if ShowHeader is set to 1. 
    489 # Possible values: "" or "language_codes_separated_by_space" 
    490 # Default: "en es fr it nl es" 
    491 # 
    492 ShowFlagLinks="en fr de it nl es" 
    493  
    494 # Each URL shown in stats report views are links you can click. 
    495 # Possible values: 1 or 0 
    496 # Default: 1 
    497 # 
    498 ShowLinksOnUrl=1 
    499  
    500 # Maximum length of URL shown on stats page (number of characters). This 
    501 # affects only URL visible text, link still work. 
    502 # Default: 72 
    503 # 
    504 MaxLengthOfURL=72 
    505  
    506 # AWStats can include a link to WhoIs database on all hostnames. For this, you 
    507 # must set ShowLinksToWhoIs to 1. Warning, a such feature depends on next 
    508 # parameter (LinksForWhoIs) and on WhoIs server exhaustivity and availability. 
    509 # For this reason, this feature can't be a reliable feature. 
    510 # Possible values: 1 or 0 
    511 # Default: 0 
    512 # 
    513 ShowLinksToWhoIs=0 
    514  
    515 # Set here the link used to point to Internet WhoIs database. 
    516 # This parameter is not used if ShowLinksToWhoIs is 0. 
    517 # Default: "http://www.whois.net/search.cgi2?str=" 
    518 # Example: "http://www.netsol.com/cgi-bin/whois/whois?SearchType=all&STRING=" 
    519 # Example: "http://www.ripe.net/perl/whois?form_type=simple&searchtext=" 
    520 # Example: "http://www.arin.net/cgi-bin/whois.pl?queryinput=" 
    521 # 
    522 LinksToWhoIs="http://www.whois.net/search.cgi2?str=" 
    523  
    524 # You can put here HTML code that will be added at the top of AWStats reports. 
    525 # Default: "" 
    526 # 
    527 HTMLHeadSection="" 
    528  
    529 # You can put here HTML code that will be added at the end of AWStats reports. 
    530 # Great to add advert ban. 
    531 # Default: "" 
    532 # 
    533 HTMLEndSection="" 
    534  
    535 # You can set Logo and LogoLink to use your own logo. 
    536 # Logo must be the name of image file (must be in $DirIcons/other directory). 
    537 # LogoLink is the expected URL when clicking on Logo. 
    538 # Default: "awstats_logo1.png" 
    539 # 
    540 Logo="awstats_alternc.png" 
    541 LogoLink="http://www.alternc.org/" 
    542  
    543 # Value of maximum bar width/height for horizontal/vertical graphics bar 
    544 # Default: 260/180 
    545 # 
    546 BarWidth   = 260 
    547 BarHeight  = 180 
    548  
    549 # You can ask AWStats to use a particular CSS (Cascading Style Sheet) to 
    550 # change its look. 
    551 # Example: "/css/awstats.css" 
    552 # Default: "" 
    553 # 
    554 StyleSheet="" 
    555  
    556 # Those colors parameters can be used (if StyleSheet parameter is not used) 
    557 # to change AWStats look. 
    558 # Example: color_name="RRGGBB"  # RRGGBB is Red Green Blue components in Hex 
    559 # 
    560 color_Background="FFFFFF"               # Background color for main page (Default = "FFFFFF") 
    561 color_TableBGTitle="CCCCDD"             # Background color for table title (Default = "CCCCDD") 
    562 color_TableTitle="000000"               # Table title font color (Default = "000000") 
    563 color_TableBG="CCCCDD"                  # Background color for table (Default = "CCCCDD") 
    564 color_TableRowTitle="FFFFFF"    # Table row title font color (Default = "FFFFFF") 
    565 color_TableBGRowTitle="ECECEC"  # Background color for row title (Default = "ECECEC") 
    566 color_TableBorder="ECECEC"              # Table border color (Default = "ECECEC") 
    567 color_text="000000"                             # Color of text (Default = "000000") 
    568 color_textpercent="606060"              # Color of text for percent values (Default = "606060") 
    569 color_titletext="000000"                # Color of text title within colored Title Rows (Default = "000000") 
    570 color_weekend="EAEAEA"                  # Color for week-end days (Default = "EAEAEA") 
    571 color_link="0011BB"                             # Color of HTML links (Default = "0011BB") 
    572 color_hover="605040"                    # Color of HTML on-mouseover links (Default = "605040")  
    573 color_u="FF9933"                                # Background color for number of unique visitors (Default = "FF9933") 
    574 color_v="F3F300"                                # Background color for number of visites (Default = "F3F300") 
    575 color_p="4477DD"                                # Background color for number of pages (Default = "4477DD") 
    576 color_h="66F0FF"                                # Background color for number of hits (Default = "66F0FF") 
    577 color_k="339944"                                # Background color for number of bytes (Default = "339944") 
    578 color_s="8888DD"                                # Background color for number of search (Default = "8888DD") 
  • alternc-awstats/trunk/bureau/class/m_aws.php

    r1068 r1561  
    4848   * @access private  
    4949   */ 
    50   var $TEMPLATEFILE="/etc/alternc/awstats.template.conf"; 
     50  var $TEMPLATEFILE="/etc/alternc/templates/awstats/awstats.template.conf"; 
    5151 
    5252  /* ----------------------------------------------------------------- */ 
  • alternc-awstats/trunk/debian/rules

    r1559 r1561  
    6262        install -m 0644 awstats.sql debian/alternc-awstats/usr/share/alternc/ 
    6363        install -m 0644 -g www-data -o www-data awstats.template.conf debian/alternc-awstats/etc/alternc/templates/awstats/ 
     64        install -m 0644 -g www-data -o www-data awstats.alternc.generic.conf debian/alternc-awstats/etc/awstats/ 
    6465        install -m 0444 debian/lintian-override debian/alternc-awstats/usr/share/lintian/overrides/alternc-awstats 
    6566        mkdir -p debian/alternc-awstats/var/cache/awstats