Commit 5cedf9eed4ee3bf59e79d10db8c7b0fa008ac34f
0 parents
Exists in
master
creation du repertoire pour la construction docker
Showing
10 changed files
with
1874 additions
and
0 deletions
Show diff stats
1 | +++ a/Readme.txt | |
... | ... | @@ -0,0 +1,63 @@ |
1 | +# les choses à configurer pour son instance gavo.rc car il y a l'ip du serveur ou son nom dns | |
2 | +# le nom du dépot correspnd au nom du projet/nom du serveur, ici /vespa/voparis-tap-planeto/ | |
3 | + | |
4 | +#Configuration du docker mydachs une fois lancé | |
5 | +apt-get update | |
6 | +apt-get upgrade | |
7 | +apt-get install apache2 | |
8 | +apt-get install awstats | |
9 | +apt-get install geoip-database | |
10 | +apt-get install libgeo-ipfree-perl | |
11 | +apt-get install git | |
12 | +apt-get install wget | |
13 | + | |
14 | +cd /home/dachsroot/ | |
15 | +git clone https://gitlab.obspm.fr/vespa/dachs/servers/padc/voparis-tap-planeto.git | |
16 | +$chemin=/home/dachsroot/nom_du_serveur/ | |
17 | + | |
18 | +# sous root configuration du serveur | |
19 | +cp chemin/conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf | |
20 | +service apache2 restart | |
21 | +# restart d'apache pour éviter le conflit de port, apache sera sur le port 8080 | |
22 | + | |
23 | +cp chemin/conf/awstats.dachs.conf /etc/awstats/awstats.dachs.conf | |
24 | +a2enmod cgi | |
25 | +service apache2 restart | |
26 | + | |
27 | +cp chemin/conf/gavo.rc /etc/gavo.rc | |
28 | +cp chemin/conf/defaultmeta.txt | |
29 | +chown dachsroot:gavo /var/gavo/etc/defaultmeta.txt | |
30 | +cp chemin/conf/logo* /var/gavo/web/nv_static/img/ | |
31 | +chown dachsroot:gavo /var/gavo/web/nv_static/img/logo* | |
32 | + | |
33 | + | |
34 | + | |
35 | +# sous root configuration des services | |
36 | +cp -r chemin/services/ /var/gavo/inputs/ | |
37 | +chown -R dachsroot:gavo /var/gavo/inputs/* | |
38 | + | |
39 | +#ingestion des données et création des services | |
40 | +#depuis chacun des sous répertoires de services | |
41 | +$sous_rep = nom_sous_repertoire (ici planets seulement) | |
42 | + | |
43 | +# pour chaque service | |
44 | +su -u dachsroot 'gavo imp /var/gavo/inputs/sous_rep/q.rd | |
45 | +su -u dachsroot 'gavo pub //services' | |
46 | +su -u dachsroot 'gavo pub //tap' | |
47 | +su -u dachsroot 'gavo pub /var/gavo/inputs/sous_rep/q.rd' | |
48 | +gavo serve restart | |
49 | + | |
50 | + | |
51 | +## mettre en cron.daily un fichier en 777 avec | |
52 | + #!/bin/bash | |
53 | + /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -config=dachs -update | |
54 | + | |
55 | + | |
56 | + | |
57 | +## truc à penser | |
58 | +FROM debian:latest | |
59 | +RUN apt-get -y update | |
60 | +RUN apt-get -y install awstats | |
61 | +RUN apt-get -y install apache2 | |
62 | +EXPOSE 80 | |
63 | + | ... | ... |
1 | +++ a/conf/000-default.conf | |
... | ... | @@ -0,0 +1,27 @@ |
1 | +# ************************************ | |
2 | +# Vhost template in module puppetlabs-apache | |
3 | +# Managed by Puppet | |
4 | +# ************************************ | |
5 | + | |
6 | +<VirtualHost *:8080> | |
7 | + ServerAdmin pierre.lesidaner@obspm.fr | |
8 | + ## Vhost docroot | |
9 | + DocumentRoot "/var/www" | |
10 | + ## Alias declarations for resources outside the DocumentRoot | |
11 | + Alias /awstatsclasses "/usr/share/awstats/classes/" | |
12 | + Alias /awstatscss/ "/usr/share/awstats/css/" | |
13 | + Alias /awstats-icon/ "/usr/share/awstats/icon/" | |
14 | + ScriptAlias /cgi-bin/ "/usr/lib/cgi-bin/" | |
15 | + | |
16 | + ## Directories, there should at least be a declaration for /var/www | |
17 | + | |
18 | + <Directory "/var/lib/awstats/"> | |
19 | + AllowOverride None | |
20 | + Require all granted | |
21 | + </Directory> | |
22 | + | |
23 | + ## Logging | |
24 | + ErrorLog "/var/log/apache2/error.log" | |
25 | + ServerSignature Off | |
26 | + CustomLog "/var/log/apache2/access.log" combined | |
27 | +</VirtualHost> | ... | ... |
1 | +++ a/conf/awstats.dachs.conf | |
... | ... | @@ -0,0 +1,1560 @@ |
1 | +# AWSTATS CONFIGURE FILE 7.1 | |
2 | +#----------------------------------------------------------------------------- | |
3 | +# Copy this file into awstats.www.mydomain.conf and edit this new config file | |
4 | +# to setup AWStats (See documentation in docs/ directory). | |
5 | +# The config file must be in /etc/awstats, /usr/local/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 | +# Note that environment variable AWSTATS_CURRENT_CONFIG is always defined with | |
11 | +# the config value in an AWStats running session and can be used like others. | |
12 | +#----------------------------------------------------------------------------- | |
13 | +# $Revision: 1.355 $ - $Author: eldy $ - $Date: 2013/02/10 15:39:22 $ | |
14 | + | |
15 | + | |
16 | + | |
17 | +#----------------------------------------------------------------------------- | |
18 | +# MAIN SETUP SECTION (Required to make AWStats work) | |
19 | +#----------------------------------------------------------------------------- | |
20 | + | |
21 | +# "LogFile" contains the web, ftp or mail server log file to analyze. | |
22 | +# Possible values: A full path, or a relative path from awstats.pl directory. | |
23 | +# Example: "/var/log/apache/access.log" | |
24 | +# Example: "../logs/mycombinedlog.log" | |
25 | +# You can also use tags in this filename if you need a dynamic file name | |
26 | +# depending on date or time (Replacement is made by AWStats at the beginning | |
27 | +# of its execution). This is available tags : | |
28 | +# %YYYY-n is replaced with 4 digits year we were n hours ago | |
29 | +# %YY-n is replaced with 2 digits year we were n hours ago | |
30 | +# %MM-n is replaced with 2 digits month we were n hours ago | |
31 | +# %MO-n is replaced with 3 letters month we were n hours ago | |
32 | +# %DD-n is replaced with day we were n hours ago | |
33 | +# %HH-n is replaced with hour we were n hours ago | |
34 | +# %NS-n is replaced with number of seconds at 00:00 since 1970 | |
35 | +# %WM-n is replaced with the week number in month (1-5) | |
36 | +# %Wm-n is replaced with the week number in month (0-4) | |
37 | +# %WY-n is replaced with the week number in year (01-52) | |
38 | +# %Wy-n is replaced with the week number in year (00-51) | |
39 | +# %DW-n is replaced with the day number in week (1-7, 1=sunday) | |
40 | +# use n=24 if you need (1-7, 1=monday) | |
41 | +# %Dw-n is replaced with the day number in week (0-6, 0=sunday) | |
42 | +# use n=24 if you need (0-6, 0=monday) | |
43 | +# Use 0 for n if you need current year, month, day, hour... | |
44 | +# Example: "/var/log/access_log.%YYYY-0%MM-0%DD-0.log" | |
45 | +# Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex%YY-24%MM-24%DD-24.log" | |
46 | +# You can also use a pipe if log file come from a pipe : | |
47 | +# Example: "gzip -cd /var/log/apache/access.log.gz |" | |
48 | +# If there are several log files from load balancing servers : | |
49 | +# Example: "/pathtotools/logresolvemerge.pl *.log |" | |
50 | +# | |
51 | +LogFile="/usr/share/awstats/tools/logresolvemerge.pl /var/gavo/logs/web.log* |" | |
52 | + | |
53 | + | |
54 | +# Enter the log file type you want to analyze. | |
55 | +# Possible values: | |
56 | +# W - For a web log file | |
57 | +# S - For a streaming log file | |
58 | +# M - For a mail log file | |
59 | +# F - For a ftp log file | |
60 | +# Example: W | |
61 | +# Default: W | |
62 | +# | |
63 | +LogType=W | |
64 | + | |
65 | + | |
66 | +# Enter here your log format (Must match your web server config. See setup | |
67 | +# instructions in documentation to know how to configure your web server to | |
68 | +# have the required log format). | |
69 | +# Possible values: 1,2,3,4 or "your_own_personalized_log_format" | |
70 | +# 1 - Apache or Lotus Notes/Domino native combined log format (NCSA combined/XLF/ELF log format) | |
71 | +# 2 - IIS or ISA format (IIS W3C log format). See FAQ-COM115 For ISA. | |
72 | +# 3 - Webstar native log format. | |
73 | +# 4 - Apache or Squid native common log format (NCSA common/CLF log format) | |
74 | +# With LogFormat=4, some features (browsers, os, keywords...) can't work. | |
75 | +# "your_own_personalized_log_format" = If your log is ftp, mail or other format, | |
76 | +# you must use following keys to define the log format string (See FAQ for | |
77 | +# ftp, mail or exotic web log format examples): | |
78 | +# %host Client hostname or IP address (or Sender host for mail log) | |
79 | +# %host_r Receiver hostname or IP address (for mail log) | |
80 | +# %lognamequot Authenticated login/user with format: "john" | |
81 | +# %logname Authenticated login/user with format: john | |
82 | +# %time1 Date and time with format: [dd/mon/yyyy:hh:mm:ss +0000] or [dd/mon/yyyy:hh:mm:ss] | |
83 | +# %time2 Date and time with format: yyyy-mm-dd hh:mm:ss | |
84 | +# %time3 Date and time with format: Mon dd hh:mm:ss or Mon dd hh:mm:ss yyyy | |
85 | +# %time4 Date and time with unix timestamp format: dddddddddd | |
86 | +# %time5 Date and time with format iso: yyyy-mm-ddThh:mm:ss | |
87 | +# %methodurl Method and URL with format: "GET /index.html HTTP/x.x" | |
88 | +# %methodurlnoprot Method and URL with format: "GET /index.html" | |
89 | +# %method Method with format: GET | |
90 | +# %url URL only with format: /index.html | |
91 | +# %query Query string (used by URLWithQuery option) | |
92 | +# %code Return code status (with format for web log: 999) | |
93 | +# %bytesd Size of document in bytes | |
94 | +# %refererquot Referer page with format: "http://from.com/from.htm" | |
95 | +# %referer Referer page with format: http://from.com/from.htm | |
96 | +# %uabracket User agent with format: [Mozilla/4.0 (compatible, ...)] | |
97 | +# %uaquot User agent with format: "Mozilla/4.0 (compatible, ...)" | |
98 | +# %ua User agent with format: Mozilla/4.0_(compatible...) | |
99 | +# %gzipin mod_gzip compression input bytes: In:XXX | |
100 | +# %gzipout mod_gzip compression output bytes & ratio: Out:YYY:ZZpct. | |
101 | +# %gzipratio mod_gzip compression ratio: ZZpct. | |
102 | +# %deflateratio mod_deflate compression ratio with format: (ZZ) | |
103 | +# %email EMail sender (for mail log) | |
104 | +# %email_r EMail receiver (for mail log) | |
105 | +# %virtualname Web sever virtual hostname. Use this tag when same log | |
106 | +# contains data of several virtual web servers. AWStats | |
107 | +# will discard records not in SiteDomain nor HostAliases | |
108 | +# %cluster If log file is provided from several computers (merged by | |
109 | +# logresolvemerge.pl), use this to define cluster id field. | |
110 | +# %extraX Another field that you plan to use for building a | |
111 | +# personalized report with ExtraSection feature (See later). | |
112 | +# If your log format has some fields not included in this list, use: | |
113 | +# %other Means another not used field | |
114 | +# %otherquot Means another not used double quoted field | |
115 | +# | |
116 | +# Examples for Apache combined logs (following two examples are equivalent): | |
117 | +# LogFormat = 1 | |
118 | +# LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot" | |
119 | +# | |
120 | +# Example for IIS: | |
121 | +# LogFormat = 2 | |
122 | +# | |
123 | +#LogFormat="%other %other %other %host %other %other %time1 %methodurl %code %bytesd %refererquot %uaquot" | |
124 | +LogFormat="%time2 %other %host %other %other %time1 %methodurl %code %bytesd %other %other" | |
125 | + | |
126 | + | |
127 | + | |
128 | +# If your log field's separator is not a space, you can change this parameter. | |
129 | +# This parameter is not used if LogFormat is a predefined value (1,2,3,4) | |
130 | +# Backslash can be used as escape character. | |
131 | +# Example: " " | |
132 | +# Example: "\t" | |
133 | +# Example: "\|" | |
134 | +# Example: "," | |
135 | +# Default: " " | |
136 | +# | |
137 | +LogSeparator=" " | |
138 | + | |
139 | + | |
140 | +# "SiteDomain" must contain the main domain name, or the main intranet web | |
141 | +# server name, used to reach the web site. | |
142 | +# If you share the same log file for several virtual web servers, this | |
143 | +# parameter is used to tell AWStats to filter record that contains records for | |
144 | +# this virtual host name only (So check that this virtual hostname can be | |
145 | +# found in your log file and use a personalized log format that include the | |
146 | +# %virtualname tag). | |
147 | +# But for multi hosting a better solution is to have one log file for each | |
148 | +# virtual web server. In this case, this parameter is only used to generate | |
149 | +# full URL's links when ShowLinksOnUrl option is set to 1. | |
150 | +# If analyzing mail log, enter here the domain name of mail server. | |
151 | +# Example: "myintranetserver" | |
152 | +# Example: "www.domain.com" | |
153 | +# Example: "ftp.domain.com" | |
154 | +# Example: "domain.com" | |
155 | +# | |
156 | +SiteDomain="myserver.mydomain" | |
157 | + | |
158 | + | |
159 | +# Enter here all other possible domain names, addresses or virtual host | |
160 | +# aliases someone can use to access your site. Try to keep only the minimum | |
161 | +# number of possible names/addresses to have the best performances. | |
162 | +# You can repeat the "SiteDomain" value in this list. | |
163 | +# This parameter is used to analyze referer field in log file and to help | |
164 | +# AWStats to know if a referer URL is a local URL of same site or an URL of | |
165 | +# another site. | |
166 | +# Note: Use space between each value. | |
167 | +# Note: You can use regular expression values writing value with REGEX[value]. | |
168 | +# Note: You can also use @/mypath/myfile if list of aliases are in a file. | |
169 | +# Example: "www.myserver.com localhost 127.0.0.1 REGEX[mydomain\.(net|org)$]" | |
170 | +# | |
171 | +HostAliases="localhost 127.0.0.1 myserver.mydomain mydomain" | |
172 | + | |
173 | + | |
174 | +# If you want to have hosts reported by name instead of ip address, AWStats | |
175 | +# need to make reverse DNS lookups (if not already done in your log file). | |
176 | +# With DNSLookup to 0, all hosts will be reported by their IP addresses and | |
177 | +# not by the full hostname of visitors (except if names are already available | |
178 | +# in log file). | |
179 | +# If you want/need to set DNSLookup to 1, don't forget that this will reduce | |
180 | +# dramatically AWStats update process speed. Do not use on large web sites. | |
181 | +# Note: Reverse DNS lookup is done on IPv4 only (Enable ipv6 plugin for IPv6). | |
182 | +# Note: Result of DNS Lookup can be used to build the Country report. However | |
183 | +# it is highly recommanded to enable the plugin 'geoip' or 'geoipfree' to | |
184 | +# have an accurate Country report with no need of DNS Lookup. | |
185 | +# Possible values: | |
186 | +# 0 - No DNS Lookup | |
187 | +# 1 - DNS Lookup is fully enabled | |
188 | +# 2 - DNS Lookup is made only from static DNS cache file (if it exists) | |
189 | +# Default: 2 | |
190 | +# | |
191 | +DNSLookup=1 | |
192 | + | |
193 | + | |
194 | +# When AWStats updates its statistics, it stores results of its analysis in | |
195 | +# files (AWStats database). All those files are written in the directory | |
196 | +# defined by the "DirData" parameter. Set this value to the directory where | |
197 | +# you want AWStats to save its database and working files into. | |
198 | +# Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser" | |
199 | +# feature (see later), you need "Write" permissions by web server user on this | |
200 | +# directory (and "Modify" for Windows NTFS file systems). | |
201 | +# Example: "/var/lib/awstats" | |
202 | +# Example: "../data" | |
203 | +# Example: "C:/awstats_data_dir" | |
204 | +# Default: "." (means same directory as awstats.pl) | |
205 | +# | |
206 | +DirData="/var/lib/awstats" | |
207 | + | |
208 | + | |
209 | +# Relative or absolute web URL of your awstats cgi-bin directory. | |
210 | +# This parameter is used only when AWStats is run from command line | |
211 | +# with -output option (to generate links in HTML reported page). | |
212 | +# Example: "/awstats" | |
213 | +# Default: "/cgi-bin" (means awstats.pl is in "/yourwwwroot/cgi-bin") | |
214 | +# | |
215 | +DirCgi="/cgi-bin" | |
216 | + | |
217 | + | |
218 | +# Relative or absolute web URL of your awstats icon directory. | |
219 | +# If you build static reports ("... -output > outputpath/output.html"), enter | |
220 | +# path of icon directory relative to the output directory 'outputpath'. | |
221 | +# Example: "/awstatsicons" | |
222 | +# Example: "../icon" | |
223 | +# Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon") | |
224 | +# | |
225 | +DirIcons="/awstats-icon" | |
226 | + | |
227 | + | |
228 | +# When this parameter is set to 1, AWStats adds a button on report page to | |
229 | +# allow to "update" statistics from a web browser. Warning, when "update" is | |
230 | +# made from a browser, AWStats is run as a CGI by the web server user defined | |
231 | +# in your web server (user "nobody" by default with Apache, "IUSR_XXX" with | |
232 | +# IIS), so the "DirData" directory and all already existing history files | |
233 | +# awstatsMMYYYY[.xxx].txt must be writable by this user. Change permissions if | |
234 | +# necessary to "Read/Write" (and "Modify" for Windows NTFS file systems). | |
235 | +# Warning: Update process can be long so you might experience "time out" | |
236 | +# browser errors if you don't launch AWStats frequently enough. | |
237 | +# When set to 0, update is only made when AWStats is run from the command | |
238 | +# line interface (or a task scheduler). | |
239 | +# Possible values: 0 or 1 | |
240 | +# Default: 0 | |
241 | +# | |
242 | +AllowToUpdateStatsFromBrowser=0 | |
243 | + | |
244 | + | |
245 | +# AWStats saves and sorts its database on a month basis (except if using | |
246 | +# databasebreak option from command line). | |
247 | +# However, if you choose the -month=all from command line or | |
248 | +# value '-Year-' from CGI combo form to have a report for all year, AWStats | |
249 | +# needs to reload all data for full year (each month), and sort them, | |
250 | +# requiring a large amount of time, memory and CPU. This might be a problem | |
251 | +# for web hosting providers that offer AWStats for large sites, on shared | |
252 | +# servers, to non CPU cautious customers. | |
253 | +# For this reason, the 'full year' is only enabled on Command Line by default. | |
254 | +# You can change this by setting this parameter to 0, 1, 2 or 3. | |
255 | +# Possible values: | |
256 | +# 0 - Never allowed | |
257 | +# 1 - Allowed on CLI only, -Year- value in combo is not visible | |
258 | +# 2 - Allowed on CLI only, -Year- value in combo is visible but not allowed | |
259 | +# 3 - Possible on CLI and CGI | |
260 | +# Default: 2 | |
261 | +# | |
262 | +AllowFullYearView=3 | |
263 | + | |
264 | + | |
265 | + | |
266 | +#----------------------------------------------------------------------------- | |
267 | +# OPTIONAL SETUP SECTION (Not required but increase AWStats features) | |
268 | +#----------------------------------------------------------------------------- | |
269 | + | |
270 | +# When the update process runs, AWStats can set a lock file in TEMP or TMP | |
271 | +# directory. This lock is to avoid to have 2 update processes running at the | |
272 | +# same time to prevent unknown conflicts problems and avoid DoS attacks when | |
273 | +# AllowToUpdateStatsFromBrowser is set to 1. | |
274 | +# Because, when you use lock file, you can experience sometimes problems in | |
275 | +# lock file not correctly removed (killed process for example requires that | |
276 | +# you remove the file manualy), this option is not enabled by default (Do | |
277 | +# not enable this option with no console server access). | |
278 | +# Change : Effective immediatly | |
279 | +# Possible values: 0 or 1 | |
280 | +# Default: 0 | |
281 | +# | |
282 | +EnableLockForUpdate=0 | |
283 | + | |
284 | + | |
285 | +# AWStats can do reverse DNS lookups through a static DNS cache file that was | |
286 | +# previously created manually. If no path is given in static DNS cache file | |
287 | +# name, AWStats will search DirData directory. This file is never changed. | |
288 | +# This option is not used if DNSLookup=0. | |
289 | +# Note: DNS cache file format is 'minsince1970 ipaddress resolved_hostname' | |
290 | +# or just 'ipaddress resolved_hostname' | |
291 | +# Change : Effective for new updates only | |
292 | +# Example: "/mydnscachedir/dnscache" | |
293 | +# Default: "dnscache.txt" | |
294 | +# | |
295 | +DNSStaticCacheFile="dnscache.txt" | |
296 | + | |
297 | + | |
298 | +# AWStats can do reverse DNS lookups through a DNS cache file that was created | |
299 | +# by a previous run of AWStats. This file is erased and recreated after each | |
300 | +# statistics update process. You don't need to create and/or edit it. | |
301 | +# AWStats will read and save this file in DirData directory. | |
302 | +# This option is used only if DNSLookup=1. | |
303 | +# Note: If a DNSStaticCacheFile is available, AWStats will check for DNS | |
304 | +# lookup in DNSLastUpdateCacheFile after checking into DNSStaticCacheFile. | |
305 | +# Change : Effective for new updates only | |
306 | +# Example: "/mydnscachedir/dnscachelastupdate" | |
307 | +# Default: "dnscachelastupdate.txt" | |
308 | +# | |
309 | +DNSLastUpdateCacheFile="dnscachelastupdate.txt" | |
310 | + | |
311 | + | |
312 | +# You can specify specific IP addresses that should NOT be looked up in DNS. | |
313 | +# This option is used only if DNSLookup=1. | |
314 | +# Note: Use space between each value. | |
315 | +# Note: You can use regular expression values writing value with REGEX[value]. | |
316 | +# Change : Effective for new updates only | |
317 | +# Example: "123.123.123.123 REGEX[^192\.168\.]" | |
318 | +# Default: "" | |
319 | +# | |
320 | +SkipDNSLookupFor="" | |
321 | + | |
322 | + | |
323 | +# The following two parameters allow you to protect a config file from being | |
324 | +# read by AWStats when called from a browser if web user has not been | |
325 | +# authenticated. Your AWStats program must be in a web protected "realm" (With | |
326 | +# Apache, you can use .htaccess files to do so. With other web servers, see | |
327 | +# your server setup manual). | |
328 | +# Change : Effective immediatly | |
329 | +# Possible values: 0 or 1 | |
330 | +# Default: 0 | |
331 | +# | |
332 | +AllowAccessFromWebToAuthenticatedUsersOnly=0 | |
333 | + | |
334 | + | |
335 | +# This parameter gives the list of all authorized authenticated users to view | |
336 | +# statistics for this domain/config file. This parameter is used only if | |
337 | +# AllowAccessFromWebToAuthenticatedUsersOnly is set to 1. | |
338 | +# Change : Effective immediatly | |
339 | +# Example: "user1 user2" | |
340 | +# Example: "__REMOTE_USER__" | |
341 | +# Default: "" | |
342 | +# | |
343 | +AllowAccessFromWebToFollowingAuthenticatedUsers="" | |
344 | + | |
345 | + | |
346 | +# When this parameter is defined to something, the IP address of the user that | |
347 | +# reads its statistics from a browser (when AWStats is used as a CGI) is | |
348 | +# checked and must match one of the IP address values or ranges. | |
349 | +# Change : Effective immediatly | |
350 | +# Example: "127.0.0.1 123.123.123.1-123.123.123.255" | |
351 | +# Default: "" | |
352 | +# | |
353 | +AllowAccessFromWebToFollowingIPAddresses="" | |
354 | + | |
355 | + | |
356 | +# If the "DirData" directory (see above) does not exist, AWStats return an | |
357 | +# error. However, you can ask AWStats to create it. | |
358 | +# This option can be used by some Web Hosting Providers that has defined a | |
359 | +# dynamic value for DirData (for example DirData="/home/__REMOTE_USER__") and | |
360 | +# don't want to have to create a new directory each time they add a new user. | |
361 | +# Change : Effective immediatly | |
362 | +# Possible values: 0 or 1 | |
363 | +# Default: 0 | |
364 | +# | |
365 | +CreateDirDataIfNotExists=0 | |
366 | + | |
367 | + | |
368 | +# You can choose in which format the Awstats history database is saved. | |
369 | +# Note: Using "xml" format make AWStats building database files three times | |
370 | +# larger than using "text" format. | |
371 | +# Change : Database format is switched after next update | |
372 | +# Possible values: text or xml | |
373 | +# Default: text | |
374 | +# | |
375 | +BuildHistoryFormat=text | |
376 | + | |
377 | + | |
378 | +# If you prefer having the report output pages be built as XML compliant pages | |
379 | +# instead of simple HTML pages, you can set this to 'xhtml' (May not work | |
380 | +# properly with old browsers). | |
381 | +# Change : Effective immediatly | |
382 | +# Possible values: html or xhtml | |
383 | +# Default: html | |
384 | +# | |
385 | +BuildReportFormat=html | |
386 | + | |
387 | + | |
388 | +# AWStats databases can be updated from command line of from a browser (when | |
389 | +# used as a cgi program). So AWStats database files need write permission | |
390 | +# for both command line user and default web server user (nobody for Unix, | |
391 | +# IUSR_xxx for IIS/Windows,...). | |
392 | +# To avoid permission problems between update process (run by an admin user) | |
393 | +# and CGI process (ran by a low level user), AWStats can save its database | |
394 | +# files with read and write permissions for everyone. | |
395 | +# By default, AWStats keeps default user permissions on updated files. If you | |
396 | +# set AllowToUpdateStatsFromBrowser to 1, you can change this parameter to 1. | |
397 | +# Change : Effective for new updates only | |
398 | +# Possible values: 0 or 1 | |
399 | +# Default: 0 | |
400 | +# | |
401 | +SaveDatabaseFilesWithPermissionsForEveryone=0 | |
402 | + | |
403 | + | |
404 | +# AWStats can purge log file, after analyzing it. Note that AWStats is able | |
405 | +# to detect new lines in a log file, to process only them, so you can launch | |
406 | +# AWStats as often as you want, even with this parameter to 0. | |
407 | +# With 0, no purge is made, so you must use a scheduled task or a web server | |
408 | +# that make this purge frequently. | |
409 | +# With 1, the purge of the log file is made each time AWStats update is run. | |
410 | +# This parameter doesn't work with IIS (This web server doesn't let its log | |
411 | +# file to be purged). | |
412 | +# Change : Effective for new updates only | |
413 | +# Possible values: 0 or 1 | |
414 | +# Default: 0 | |
415 | +# | |
416 | +PurgeLogFile=0 | |
417 | + | |
418 | + | |
419 | +# When PurgeLogFile is setup to 1, AWStats will clean your log file after | |
420 | +# processing it. You can however keep an archive file of all processed log | |
421 | +# records by setting this parameter (For example if you want to use another | |
422 | +# log analyzer). The archived log file is saved in "DirData" with name | |
423 | +# awstats_archive.configname[.suffix].log | |
424 | +# This parameter is not used if PurgeLogFile=0 | |
425 | +# Change : Effective for new updates only | |
426 | +# Possible values: 0, 1, or tags (See LogFile parameter) for suffix | |
427 | +# Example: 1 | |
428 | +# Example: %YYYY%MM%DD | |
429 | +# Default: 0 | |
430 | +# | |
431 | +ArchiveLogRecords=0 | |
432 | + | |
433 | + | |
434 | +# Each time you run the update process, AWStats overwrites the 'historic file' | |
435 | +# for the month (awstatsMMYYYY[.*].txt) with the updated one. | |
436 | +# When write errors occurs (IO, disk full,...), this historic file can be | |
437 | +# corrupted and must be deleted. Because this file contains information of all | |
438 | +# past processed log files, you will loose old stats if removed. So you can | |
439 | +# ask AWStats to save last non corrupted file in a .bak file. This file is | |
440 | +# stored in "DirData" directory with other 'historic files'. | |
441 | +# Change : Effective for new updates only | |
442 | +# Possible values: 0 or 1 | |
443 | +# Default: 0 | |
444 | +# | |
445 | +KeepBackupOfHistoricFiles=0 | |
446 | + | |
447 | + | |
448 | +# Default index page name for your web server. | |
449 | +# Change : Effective for new updates only | |
450 | +# Example: "index.php index.html default.html" | |
451 | +# Default: "index.php index.html" | |
452 | +# | |
453 | +DefaultFile="index.php index.html" | |
454 | + | |
455 | + | |
456 | +# Do not include access from clients that match following criteria. | |
457 | +# If your log file contains IP addresses in host field, you must enter here | |
458 | +# matching IP addresses criteria. | |
459 | +# If DNS lookup is already done in your log file, you must enter here hostname | |
460 | +# criteria, else enter ip address criteria. | |
461 | +# The opposite parameter of "SkipHosts" is "OnlyHosts". | |
462 | +# Note: Use space between each value. This parameter is not case sensitive. | |
463 | +# Note: You can use regular expression values writing value with REGEX[value]. | |
464 | +# Change : Effective for new updates only | |
465 | +# Example: "127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.]" | |
466 | +# Example: "localhost REGEX[^.*\.localdomain$]" | |
467 | +# Default: "" | |
468 | +# | |
469 | +SkipHosts="145.238.187.13 145.238.187.29 145.238.193.18 palpatine.obspm.fr" | |
470 | + | |
471 | + | |
472 | +# Do not include access from clients with a user agent that match following | |
473 | +# criteria. If you want to exclude a robot, you should update the robots.pm | |
474 | +# file instead of this parameter. | |
475 | +# The opposite parameter of "SkipUserAgents" is "OnlyUserAgents". | |
476 | +# Note: Use space between each value. This parameter is not case sensitive. | |
477 | +# Note: You can use regular expression values writing value with REGEX[value]. | |
478 | +# Change : Effective for new updates only | |
479 | +# Example: "konqueror REGEX[ua_test_v\d\.\d]" | |
480 | +# Default: "" | |
481 | +# | |
482 | +SkipUserAgents="Nagios REGEX[check_http*]" | |
483 | + | |
484 | + | |
485 | +# Use SkipFiles to ignore access to URLs that match one of following entries. | |
486 | +# You can enter a list of not important URLs (like framed menus, hidden pages, | |
487 | +# etc...) to exclude them from statistics. You must enter here exact relative | |
488 | +# URL as found in log file, or a matching REGEX value. Check apply on URL with | |
489 | +# all its query paramaters. | |
490 | +# For example, to ignore /badpage.php, just add "/badpage.php". To ignore all | |
491 | +# pages in a particular directory, add "REGEX[^\/directorytoexclude]". | |
492 | +# The opposite parameter of "SkipFiles" is "OnlyFiles". | |
493 | +# Note: Use space between each value. This parameter is or not case sensitive | |
494 | +# depending on URLNotCaseSensitive parameter. | |
495 | +# Note: You can use regular expression values writing value with REGEX[value]. | |
496 | +# Change : Effective for new updates only | |
497 | +# Example: "/badpage.php /page.php?param=x REGEX[^\/excludedirectory]" | |
498 | +# Default: "" | |
499 | +# | |
500 | +SkipFiles="REGEX[^.*COUNT.*] REGEX[^.*/tables.*] REGEX[^.*count.*] REGEX[^.*capabilities.*] REGEX[^.*availability.*]" | |
501 | + | |
502 | + | |
503 | +# Use SkipReferrersBlackList if you want to exclude records coming from a SPAM | |
504 | +# referrer. Parameter must receive a local file name containing rules applied | |
505 | +# on referrer field. If parameter is empty, no filter is applied. | |
506 | +# An example of such a file is available in lib/blacklist.txt | |
507 | +# Change : Effective for new updates only | |
508 | +# Example: "/mylibpath/blacklist.txt" | |
509 | +# Default: "" | |
510 | +# | |
511 | +# WARNING!! Using this feature make AWStats running very slower (5 times slower | |
512 | +# with black list file provided with AWStats ! | |
513 | +# | |
514 | +SkipReferrersBlackList="" | |
515 | + | |
516 | + | |
517 | +# Include in stats, only accesses from hosts that match one of following | |
518 | +# entries. For example, if you want AWStats to filter access to keep only | |
519 | +# stats for visits from particular hosts, you can add those host names in | |
520 | +# this parameter. | |
521 | +# If DNS lookup is already done in your log file, you must enter here hostname | |
522 | +# criteria, else enter ip address criteria. | |
523 | +# The opposite parameter of "OnlyHosts" is "SkipHosts". | |
524 | +# Note: Use space between each value. This parameter is not case sensitive. | |
525 | +# Note: You can use regular expression values writing value with REGEX[value]. | |
526 | +# Change : Effective for new updates only | |
527 | +# Example: "127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.]" | |
528 | +# Default: "" | |
529 | +# | |
530 | +OnlyHosts="" | |
531 | + | |
532 | + | |
533 | +# Include in stats, only accesses from user agent that match one of following | |
534 | +# entries. For example, if you want AWStats to filter access to keep only | |
535 | +# stats for visits from particular browsers, you can add their user agents | |
536 | +# string in this parameter. | |
537 | +# The opposite parameter of "OnlyUserAgents" is "SkipUserAgents". | |
538 | +# Note: Use space between each value. This parameter is not case sensitive. | |
539 | +# Note: You can use regular expression values writing value with REGEX[value]. | |
540 | +# Change : Effective for new updates only | |
541 | +# Example: "msie" | |
542 | +# Default: "" | |
543 | +# | |
544 | +OnlyUserAgents="" | |
545 | + | |
546 | + | |
547 | +# Include in stats, only accesses from authenticated users that match one of | |
548 | +# following entries. For example, if you want AWStats to filter access to keep | |
549 | +# only stats for authenticated users, you can add those users names in | |
550 | +# this parameter. Useful for statistics for per user ftp logs. | |
551 | +# Note: Use space between each value. This parameter is not case sensitive. | |
552 | +# Note: You can use regular expression values writing value with REGEX[value]. | |
553 | +# Change : Effective for new updates only | |
554 | +# Example: "john bob REGEX[^testusers]" | |
555 | +# Default: "" | |
556 | +# | |
557 | +OnlyUsers="" | |
558 | + | |
559 | + | |
560 | +# Include in stats, only accesses to URLs that match one of following entries. | |
561 | +# For example, if you want AWStats to filter access to keep only stats that | |
562 | +# match a particular string, like a particular directory, you can add this | |
563 | +# directory name in this parameter. | |
564 | +# The opposite parameter of "OnlyFiles" is "SkipFiles". | |
565 | +# Note: Use space between each value. This parameter is or not case sensitive | |
566 | +# depending on URLNotCaseSensitive parameter. | |
567 | +# Note: You can use regular expression values writing value with REGEX[value]. | |
568 | +# Change : Effective for new updates only | |
569 | +# Example: "REGEX[marketing_directory] REGEX[office\/.*\.(csv|sxw)$]" | |
570 | +# Default: "" | |
571 | +# | |
572 | +OnlyFiles="REGEX[^.*/tap.*] REGEX[^.*ADQL.*]" | |
573 | + | |
574 | + | |
575 | +# Add here a list of kind of url (file extension) that must be counted as | |
576 | +# "Hit only" and not as a "Hit" and "Page/Download". You can set here all | |
577 | +# image extensions as they are hit downloaded that must be counted but they | |
578 | +# are not viewed pages. URLs with such extensions are not included in the TOP | |
579 | +# Pages/URL report. | |
580 | +# Note: If you want to exclude particular URLs from stats (No Pages and no | |
581 | +# Hits reported), you must use SkipFiles parameter. | |
582 | +# Change : Effective for new updates only | |
583 | +# Example: "css js class gif jpg jpeg png bmp ico rss xml swf zip arj rar gz z bz2 wav mp3 wma mpg avi" | |
584 | +# Example: "" | |
585 | +# Default: "css js class gif jpg jpeg png bmp ico rss xml swf" | |
586 | +# | |
587 | +NotPageList="css js class gif jpg jpeg png bmp ico rss xml swf" | |
588 | + | |
589 | + | |
590 | +# By default, AWStats considers that records found in web log file are | |
591 | +# successful hits if HTTP code returned by server is a valid HTTP code (200 | |
592 | +# and 304). Any other code are reported in HTTP status chart. | |
593 | +# Note that HTTP 'control codes', like redirection (302, 305) are not added by | |
594 | +# default in this list as they are not pages seen by a visitor but are | |
595 | +# protocol exchange codes to tell the browser to ask another page. Because | |
596 | +# this other page will be counted and seen with a 200 or 304 code, if you | |
597 | +# add such codes, you will have 2 pages viewed reported for only one in facts. | |
598 | +# Change : Effective for new updates only | |
599 | +# Example: "200 304 302 305" | |
600 | +# Default: "200 304" | |
601 | +# | |
602 | +ValidHTTPCodes="200 304" | |
603 | + | |
604 | + | |
605 | +# By default, AWStats considers that records found in mail log file are | |
606 | +# successful mail transfers if field that represent return code in analyzed | |
607 | +# log file match values defined by this parameter. | |
608 | +# Change : Effective for new updates only | |
609 | +# Example: "1 250 200" | |
610 | +# Default: "1 250" | |
611 | +# | |
612 | +ValidSMTPCodes="1 250" | |
613 | + | |
614 | + | |
615 | +# Some web servers on some Operating systems (IIS-Windows) consider that a | |
616 | +# login with same value but different case are the same login. To tell AWStats | |
617 | +# to also consider them as one, set this parameter to 1. | |
618 | +# Change : Effective for new updates only | |
619 | +# Possible values: 0 or 1 | |
620 | +# Default: 0 | |
621 | +# | |
622 | +AuthenticatedUsersNotCaseSensitive=0 | |
623 | + | |
624 | + | |
625 | +# Some web servers on some Operating systems (IIS-Windows) considers that two | |
626 | +# URLs with same value but different case are the same URL. To tell AWStats to | |
627 | +# also considers them as one, set this parameter to 1. | |
628 | +# Change : Effective for new updates only | |
629 | +# Possible values: 0 or 1 | |
630 | +# Default: 0 | |
631 | +# | |
632 | +URLNotCaseSensitive=0 | |
633 | + | |
634 | + | |
635 | +# Keep or remove the anchor string you can find in some URLs. | |
636 | +# Change : Effective for new updates only | |
637 | +# Possible values: 0 or 1 | |
638 | +# Default: 0 | |
639 | +# | |
640 | +URLWithAnchor=0 | |
641 | + | |
642 | + | |
643 | +# In URL links, "?" char is used to add parameter's list in URLs. Syntax is: | |
644 | +# /mypage.html?param1=value1¶m2=value2 | |
645 | +# However, some servers/sites use also other chars to isolate dynamic part of | |
646 | +# their URLs. You can complete this list with all such characters. | |
647 | +# Change : Effective for new updates only | |
648 | +# Example: "?;," | |
649 | +# Default: "?;" | |
650 | +# | |
651 | +URLQuerySeparators="?;" | |
652 | + | |
653 | + | |
654 | +# Keep or remove the query string to the URL in the statistics for individual | |
655 | +# pages. This is primarily used to differentiate between the URLs of dynamic | |
656 | +# pages. If set to 1, mypage.html?id=x and mypage.html?id=y are counted as two | |
657 | +# different pages. | |
658 | +# Warning, when set to 1, memory required to run AWStats is dramatically | |
659 | +# increased if you have a lot of changing URLs (for example URLs with a random | |
660 | +# id inside). Such web sites should not set this option to 1 or use seriously | |
661 | +# the next parameter URLWithQueryWithOnlyFollowingParameters (or eventually | |
662 | +# URLWithQueryWithoutFollowingParameters). | |
663 | +# Change : Effective for new updates only | |
664 | +# Possible values: | |
665 | +# 0 - URLs are cleaned from the query string (ie: "/mypage.html") | |
666 | +# 1 - Full URL with query string is used (ie: "/mypage.html?p=x&q=y") | |
667 | +# Default: 0 | |
668 | +# | |
669 | +URLWithQuery=1 | |
670 | + | |
671 | + | |
672 | +# When URLWithQuery is on, you will get the full URL with all parameters in | |
673 | +# URL reports. But among thoose parameters, sometimes you don't need a | |
674 | +# particular parameter because it does not identify the page or because it's | |
675 | +# a random ID changing for each access even if URL points to same page. In | |
676 | +# such cases, it is higly recommanded to ask AWStats to keep only parameters | |
677 | +# you need (if you know them) before counting, manipulating and storing URL. | |
678 | +# Enter here list of wanted parameters. For example, with "param", one hit on | |
679 | +# /mypage.cgi?param=abc&id=Yo4UomP9d and /mypage.cgi?param=abc&id=Mu8fdxl3r | |
680 | +# will be reported as 2 hits on /mypage.cgi?param=abc | |
681 | +# This parameter is not used when URLWithQuery is 0 and can't be used with | |
682 | +# URLWithQueryWithoutFollowingParameters. | |
683 | +# Change : Effective for new updates only | |
684 | +# Example: "param" | |
685 | +# Default: "" | |
686 | +# | |
687 | +URLWithQueryWithOnlyFollowingParameters="" | |
688 | + | |
689 | + | |
690 | +# When URLWithQuery is on, you will get the full URL with all parameters in | |
691 | +# URL reports. But among thoose parameters, sometimes you don't need a | |
692 | +# particular parameter because it does not identify the page or because it's | |
693 | +# a random ID changing for each access even if URL points to same page. In | |
694 | +# such cases, it is higly recommanded to ask AWStats to remove such parameters | |
695 | +# from the URL before counting, manipulating and storing URL. Enter here list | |
696 | +# of all non wanted parameters. For example if you enter "id", one hit on | |
697 | +# /mypage.cgi?param=abc&id=Yo4UomP9d and /mypage.cgi?param=abc&id=Mu8fdxl3r | |
698 | +# will be reported as 2 hits on /mypage.cgi?param=abc | |
699 | +# This parameter is not used when URLWithQuery is 0 and can't be used with | |
700 | +# URLWithQueryWithOnlyFollowingParameters. | |
701 | +# Change : Effective for new updates only | |
702 | +# Example: "PHPSESSID jsessionid" | |
703 | +# Default: "" | |
704 | +# | |
705 | +URLWithQueryWithoutFollowingParameters="" | |
706 | + | |
707 | + | |
708 | +# Keep or remove the query string to the referrer URL in the statistics for | |
709 | +# external referrer pages. This is used to differentiate between the URLs of | |
710 | +# dynamic referrer pages. If set to 1, mypage.html?id=x and mypage.html?id=y | |
711 | +# are counted as two different referrer pages. | |
712 | +# Change : Effective for new updates only | |
713 | +# Possible values: | |
714 | +# 0 - Referrer URLs are cleaned from the query string (ie: "/mypage.html") | |
715 | +# 1 - Full URL with query string is used (ie: "/mypage.html?p=x&q=y") | |
716 | +# Default: 0 | |
717 | +# | |
718 | +URLReferrerWithQuery=0 | |
719 | + | |
720 | + | |
721 | +# AWStats can detect setup problems or show you important informations to have | |
722 | +# a better use. Keep this to 1, except if AWStats says you can change it. | |
723 | +# Change : Effective immediatly | |
724 | +# Possible values: 0 or 1 | |
725 | +# Default: 1 | |
726 | +# | |
727 | +WarningMessages=1 | |
728 | + | |
729 | + | |
730 | +# When an error occurs, AWStats outputs a message related to errors. If you | |
731 | +# want (in most cases for security reasons) to have no error messages, you | |
732 | +# can set this parameter to your personalized generic message. | |
733 | +# Change : Effective immediatly | |
734 | +# Example: "An error occurred. Contact your Administrator" | |
735 | +# Default: "" | |
736 | +# | |
737 | +ErrorMessages="" | |
738 | + | |
739 | + | |
740 | +# AWStat can be run with debug=x parameter to output various informations | |
741 | +# to help in debugging or solving troubles. If you want to allow this (not | |
742 | +# enabled by default for security reasons), set this parameter to 0. | |
743 | +# Change : Effective immediatly | |
744 | +# Possible values: 0 or 1 | |
745 | +# Default: 0 | |
746 | +# | |
747 | +DebugMessages=0 | |
748 | + | |
749 | + | |
750 | +# To help you to detect if your log format is good, AWStats reports an error | |
751 | +# if all the first NbOfLinesForCorruptedLog lines have a format that does not | |
752 | +# match the LogFormat parameter. | |
753 | +# However, some worm virus attack on your web server can result in a very high | |
754 | +# number of corrupted lines in your log. So if you experience awstats stop | |
755 | +# because of bad virus records at the beginning of your log file, you can | |
756 | +# increase this parameter (very rare). | |
757 | +# Change : Effective for new updates only | |
758 | +# Default: 50 | |
759 | +# | |
760 | +NbOfLinesForCorruptedLog=50 | |
761 | + | |
762 | + | |
763 | +# For some particular integration needs, you may want to have CGI links to | |
764 | +# point to another script than awstats.pl. | |
765 | +# Use the name of this script in WrapperScript parameter. | |
766 | +# Change : Effective immediatly | |
767 | +# Example: "awstatslauncher.pl" | |
768 | +# Example: "awstatswrapper.cgi?key=123" | |
769 | +# Default: "" | |
770 | +# | |
771 | +WrapperScript="" | |
772 | + | |
773 | + | |
774 | +# DecodeUA must be set to 1 if you use Roxen web server. This server converts | |
775 | +# all spaces in user agent field into %20. This make the AWStats robots, OS | |
776 | +# and browsers detection fail in some cases. Just change it to 1 if and only | |
777 | +# if your web server is Roxen. | |
778 | +# Change : Effective for new updates only | |
779 | +# Possible values: 0 or 1 | |
780 | +# Default: 0 | |
781 | +# | |
782 | +DecodeUA=0 | |
783 | + | |
784 | + | |
785 | +# MiscTrackerUrl can be used to make AWStats able to detect some miscellaneous | |
786 | +# things, that can not be tracked on other way, like: | |
787 | +# - Javascript disabled | |
788 | +# - Java enabled | |
789 | +# - Screen size | |
790 | +# - Color depth | |
791 | +# - Macromedia Director plugin | |
792 | +# - Macromedia Shockwave plugin | |
793 | +# - Realplayer G2 plugin | |
794 | +# - QuickTime plugin | |
795 | +# - Mediaplayer plugin | |
796 | +# - Acrobat PDF plugin | |
797 | +# To enable all these features, you must copy the awstats_misc_tracker.js file | |
798 | +# into a /js/ directory stored in your web document root and add the following | |
799 | +# HTML code at the end of your index page (but before </BODY>) : | |
800 | +# | |
801 | +# <script type="text/javascript" src="/js/awstats_misc_tracker.js"></script> | |
802 | +# <noscript><img src="/js/awstats_misc_tracker.js?nojs=y" height=0 width=0 border=0 style="display: none"></noscript> | |
803 | +# | |
804 | +# If code is not added in index page, all those detection capabilities will be | |
805 | +# disabled. You must also check that ShowScreenSizeStats and ShowMiscStats | |
806 | +# parameters are set to 1 to make results appear in AWStats report page. | |
807 | +# If you want to use another directory than /js/, you must also change the | |
808 | +# awstatsmisctrackerurl variable into the awstats_misc_tracker.js file. | |
809 | +# Change : Effective for new updates only. | |
810 | +# Possible value: URL of javascript tracker file added in your HTML code. | |
811 | +# Default: "/js/awstats_misc_tracker.js" | |
812 | +# | |
813 | +MiscTrackerUrl="/js/awstats_misc_tracker.js" | |
814 | + | |
815 | + | |
816 | +# AddLinkToExternalCGIWrapper can be used to add a link to a wrapper script | |
817 | +# into each title of Dolibarr reports. This can be used to add a wrapper | |
818 | +# to download data into a CSV file for example. | |
819 | +# | |
820 | +# AddLinkToExternalCGIWrapper="/awstats/awdownloadcsv.pl" | |
821 | + | |
822 | + | |
823 | + | |
824 | +#----------------------------------------------------------------------------- | |
825 | +# OPTIONAL ACCURACY SETUP SECTION (Not required but increase AWStats features) | |
826 | +#----------------------------------------------------------------------------- | |
827 | + | |
828 | +# The following values allow you to define accuracy of AWStats entities | |
829 | +# (robots, browsers, os, referers, file types) detection. | |
830 | +# It might be a good idea for large web sites or ISP that provides AWStats to | |
831 | +# high number of customers, to set this parameter to 1 (or 0), instead of 2. | |
832 | +# Possible values: | |
833 | +# 0 = No detection, | |
834 | +# 1 = Medium/Standard detection | |
835 | +# 2 = Full detection | |
836 | +# Change : Effective for new updates only | |
837 | +# Note : LevelForBrowsersDetection can also accept value "allphones". This | |
838 | +# enable detailed detection of phone/pda browsers. | |
839 | +# Default: 2 (0 for LevelForWormsDetection) | |
840 | +# | |
841 | +LevelForBrowsersDetection=2 # 0 disables Browsers detection. | |
842 | + # 2 reduces AWStats speed by 2% | |
843 | + # allphones reduces AWStats speed by 5% | |
844 | +LevelForOSDetection=2 # 0 disables OS detection. | |
845 | + # 2 reduces AWStats speed by 3% | |
846 | +LevelForRefererAnalyze=2 # 0 disables Origin detection. | |
847 | + # 2 reduces AWStats speed by 14% | |
848 | +LevelForRobotsDetection=2 # 0 disables Robots detection. | |
849 | + # 2 reduces AWStats speed by 2.5% | |
850 | +LevelForSearchEnginesDetection=2 # 0 disables Search engines detection. | |
851 | + # 2 reduces AWStats speed by 9% | |
852 | +LevelForKeywordsDetection=2 # 0 disables Keyphrases/Keywords detection. | |
853 | + # 2 reduces AWStats speed by 1% | |
854 | +LevelForFileTypesDetection=2 # 0 disables File types detection. | |
855 | + # 2 reduces AWStats speed by 1% | |
856 | +LevelForWormsDetection=0 # 0 disables Worms detection. | |
857 | + # 2 reduces AWStats speed by 15% | |
858 | + | |
859 | + | |
860 | + | |
861 | +#----------------------------------------------------------------------------- | |
862 | +# OPTIONAL APPEARANCE SETUP SECTION (Not required but increase AWStats features) | |
863 | +#----------------------------------------------------------------------------- | |
864 | + | |
865 | +# When you use AWStats as a CGI, you can have the reports shown in HTML frames. | |
866 | +# Frames are only available for report viewed dynamically. When you build | |
867 | +# pages from command line, this option is not used and no frames are built. | |
868 | +# Possible values: 0 or 1 | |
869 | +# Default: 1 | |
870 | +# | |
871 | +UseFramesWhenCGI=1 | |
872 | + | |
873 | + | |
874 | +# This parameter asks your browser to open detailed reports into a different | |
875 | +# window than the main page. | |
876 | +# Possible values: | |
877 | +# 0 - Open all in same browser window | |
878 | +# 1 - Open detailed reports in another window except if using frames | |
879 | +# 2 - Open always in a different window even if reports are framed | |
880 | +# Default: 1 | |
881 | +# | |
882 | +DetailedReportsOnNewWindows=1 | |
883 | + | |
884 | + | |
885 | +# You can add, in the HTML report page, a cache lifetime (in seconds) that | |
886 | +# will be returned to the browser in HTTP header answer by server. | |
887 | +# This parameter is not used when reports are built with -staticlinks option. | |
888 | +# Example: 3600 | |
889 | +# Default: 0 | |
890 | +# | |
891 | +Expires=0 | |
892 | + | |
893 | + | |
894 | +# To avoid too large web pages, you can ask AWStats to limit number of rows of | |
895 | +# all reported charts to this number when no other limits apply. | |
896 | +# Default: 1000 | |
897 | +# | |
898 | +MaxRowsInHTMLOutput=1000 | |
899 | + | |
900 | + | |
901 | +# Set your primary language (ISO-639-1 language codes). | |
902 | +# Possible values: | |
903 | +# Albanian=al, Bosnian=ba, Bulgarian=bg, Catalan=ca, | |
904 | +# Chinese (Taiwan)=tw, Chinese (Simpliefied)=cn, Croatian=hr, Czech=cz, | |
905 | +# Danish=dk, Dutch=nl, English=en, Estonian=et, Euskara=eu, Finnish=fi, | |
906 | +# French=fr, Galician=gl, German=de, Greek=gr, Hebrew=he, Hungarian=hu, | |
907 | +# Icelandic=is, Indonesian=id, Italian=it, Japanese=jp, Korean=ko, | |
908 | +# Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl, | |
909 | +# Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru, | |
910 | +# Serbian=sr, Slovak=sk, Slovenian=si, Spanish=es, Swedish=se, Turkish=tr, | |
911 | +# Ukrainian=ua, Welsh=cy. | |
912 | +# First available language accepted by browser=auto | |
913 | +# Default: "auto" | |
914 | +# | |
915 | +Lang="auto" | |
916 | + | |
917 | + | |
918 | +# Set the location of language files. | |
919 | +# Example: "/usr/share/awstats/lang" | |
920 | +# Default: "./lang" (means lang directory is in same location than awstats.pl) | |
921 | +# | |
922 | +DirLang="/usr/share/awstats/lang" | |
923 | + | |
924 | + | |
925 | +# Show menu header with reports' links | |
926 | +# Possible values: 0 or 1 | |
927 | +# Default: 1 | |
928 | +# | |
929 | +ShowMenu=1 | |
930 | + | |
931 | + | |
932 | +# You choose here which reports you want to see in the main page and what you | |
933 | +# want to see in those reports. | |
934 | +# Possible values: | |
935 | +# 0 - Report is not shown at all | |
936 | +# 1 - Report is shown in main page with an entry in menu and default columns | |
937 | +# XYZ - Report shows column informations defined by code X,Y,Z... | |
938 | +# X,Y,Z... are code letters among the following: | |
939 | +# U = Unique visitors | |
940 | +# V = Visits | |
941 | +# P = Number of pages | |
942 | +# H = Number of hits (or mails) | |
943 | +# B = Bandwith (or total mail size for mail logs) | |
944 | +# L = Last access date | |
945 | +# E = Entry pages | |
946 | +# X = Exit pages | |
947 | +# C = Web compression (mod_gzip,mod_deflate) | |
948 | +# M = Average mail size (mail logs) | |
949 | +# | |
950 | + | |
951 | +# Show monthly summary | |
952 | +# Context: Web, Streaming, Mail, Ftp | |
953 | +# Default: UVPHB, Possible column codes: UVPHB | |
954 | +ShowSummary=UVPHB | |
955 | + | |
956 | +# Show monthly chart | |
957 | +# Context: Web, Streaming, Mail, Ftp | |
958 | +# Default: UVPHB, Possible column codes: UVPHB | |
959 | +ShowMonthStats=UVPHB | |
960 | + | |
961 | +# Show days of month chart | |
962 | +# Context: Web, Streaming, Mail, Ftp | |
963 | +# Default: VPHB, Possible column codes: VPHB | |
964 | +ShowDaysOfMonthStats=VPHB | |
965 | + | |
966 | +# Show days of week chart | |
967 | +# Context: Web, Streaming, Mail, Ftp | |
968 | +# Default: PHB, Possible column codes: PHB | |
969 | +ShowDaysOfWeekStats=PHB | |
970 | + | |
971 | +# Show hourly chart | |
972 | +# Context: Web, Streaming, Mail, Ftp | |
973 | +# Default: PHB, Possible column codes: PHB | |
974 | +ShowHoursStats=PHB | |
975 | + | |
976 | +# Show domains/country chart | |
977 | +# Context: Web, Streaming, Mail, Ftp | |
978 | +# Default: PHB, Possible column codes: UVPHB | |
979 | +ShowDomainsStats=PHB | |
980 | + | |
981 | +# Show hosts chart | |
982 | +# Context: Web, Streaming, Mail, Ftp | |
983 | +# Default: PHBL, Possible column codes: PHBL | |
984 | +ShowHostsStats=PHBL | |
985 | + | |
986 | +# Show authenticated users chart | |
987 | +# Context: Web, Streaming, Ftp | |
988 | +# Default: 0, Possible column codes: PHBL | |
989 | +ShowAuthenticatedUsers=0 | |
990 | + | |
991 | +# Show robots chart | |
992 | +# Context: Web, Streaming | |
993 | +# Default: HBL, Possible column codes: HBL | |
994 | +ShowRobotsStats=HBL | |
995 | + | |
996 | +# Show worms chart | |
997 | +# Context: Web, Streaming | |
998 | +# Default: 0 (If set to other than 0, see also LevelForWormsDetection), Possible column codes: HBL | |
999 | +ShowWormsStats=0 | |
1000 | + | |
1001 | +# Show email senders chart (For use when analyzing mail log files) | |
1002 | +# Context: Mail | |
1003 | +# Default: 0, Possible column codes: HBML | |
1004 | +ShowEMailSenders=0 | |
1005 | + | |
1006 | +# Show email receivers chart (For use when analyzing mail log files) | |
1007 | +# Context: Mail | |
1008 | +# Default: 0, Possible column codes: HBML | |
1009 | +ShowEMailReceivers=0 | |
1010 | + | |
1011 | +# Show session chart | |
1012 | +# Context: Web, Streaming, Ftp | |
1013 | +# Default: 1, Possible column codes: None | |
1014 | +ShowSessionsStats=1 | |
1015 | + | |
1016 | +# Show pages-url chart. | |
1017 | +# Context: Web, Streaming, Ftp | |
1018 | +# Default: PBEX, Possible column codes: PBEX | |
1019 | +ShowPagesStats=PBEX | |
1020 | + | |
1021 | +# Show file types chart. | |
1022 | +# Context: Web, Streaming, Ftp | |
1023 | +# Default: HB, Possible column codes: HBC | |
1024 | +ShowFileTypesStats=HB | |
1025 | + | |
1026 | +# Show file size chart (Not yet available) | |
1027 | +# Context: Web, Streaming, Mail, Ftp | |
1028 | +# Default: 1, Possible column codes: None | |
1029 | +ShowFileSizesStats=0 | |
1030 | + | |
1031 | +# Show downloads chart. | |
1032 | +# Context: Web, Streaming, Ftp | |
1033 | +# Default: HB, Possible column codes: HB | |
1034 | +ShowDownloadsStats=HB | |
1035 | + | |
1036 | +# Show operating systems chart | |
1037 | +# Context: Web, Streaming, Ftp | |
1038 | +# Default: 1, Possible column codes: None | |
1039 | +ShowOSStats=1 | |
1040 | + | |
1041 | +# Show browsers chart | |
1042 | +# Context: Web, Streaming | |
1043 | +# Default: 1, Possible column codes: None | |
1044 | +ShowBrowsersStats=1 | |
1045 | + | |
1046 | +# Show screen size chart | |
1047 | +# Context: Web, Streaming | |
1048 | +# Default: 0 (If set to 1, see also MiscTrackerUrl), Possible column codes: None | |
1049 | +ShowScreenSizeStats=0 | |
1050 | + | |
1051 | +# Show origin chart | |
1052 | +# Context: Web, Streaming | |
1053 | +# Default: PH, Possible column codes: PH | |
1054 | +ShowOriginStats=PH | |
1055 | + | |
1056 | +# Show keyphrases chart | |
1057 | +# Context: Web, Streaming | |
1058 | +# Default: 1, Possible column codes: None | |
1059 | +ShowKeyphrasesStats=1 | |
1060 | + | |
1061 | +# Show keywords chart | |
1062 | +# Context: Web, Streaming | |
1063 | +# Default: 1, Possible column codes: None | |
1064 | +ShowKeywordsStats=1 | |
1065 | + | |
1066 | +# Show misc chart | |
1067 | +# Context: Web, Streaming | |
1068 | +# Default: a (See also MiscTrackerUrl parameter), Possible column codes: anjdfrqwp | |
1069 | +ShowMiscStats=a | |
1070 | + | |
1071 | +# Show http errors chart | |
1072 | +# Context: Web, Streaming | |
1073 | +# Default: 1, Possible column codes: None | |
1074 | +ShowHTTPErrorsStats=1 | |
1075 | + | |
1076 | +# Show smtp errors chart (For use when analyzing mail log files) | |
1077 | +# Context: Mail | |
1078 | +# Default: 0, Possible column codes: None | |
1079 | +ShowSMTPErrorsStats=0 | |
1080 | + | |
1081 | +# Show the cluster report (Your LogFormat must contains the %cluster tag) | |
1082 | +# Context: Web, Streaming, Ftp | |
1083 | +# Default: 0, Possible column codes: PHB | |
1084 | +ShowClusterStats=0 | |
1085 | + | |
1086 | + | |
1087 | +# Some graphical reports are followed by the data array of values. | |
1088 | +# If you don't want this array (to reduce the report size for example), you | |
1089 | +# can set thoose options to 0. | |
1090 | +# Possible values: 0 or 1 | |
1091 | +# Default: 1 | |
1092 | +# | |
1093 | +# Data array values for the ShowMonthStats report | |
1094 | +AddDataArrayMonthStats=1 | |
1095 | +# Data array values for the ShowDaysOfMonthStats report | |
1096 | +AddDataArrayShowDaysOfMonthStats=1 | |
1097 | +# Data array values for the ShowDaysOfWeekStats report | |
1098 | +AddDataArrayShowDaysOfWeekStats=1 | |
1099 | +# Data array values for the ShowHoursStats report | |
1100 | +AddDataArrayShowHoursStats=1 | |
1101 | + | |
1102 | + | |
1103 | +# In the Origin chart, you have stats on where your hits came from. You can | |
1104 | +# include hits on pages that come from pages of same sites in this chart. | |
1105 | +# Possible values: 0 or 1 | |
1106 | +# Default: 0 | |
1107 | +# | |
1108 | +IncludeInternalLinksInOriginSection=0 | |
1109 | + | |
1110 | + | |
1111 | +# The following parameters can be used to choose the maximum number of lines | |
1112 | +# shown for the particular following reports. | |
1113 | +# | |
1114 | +# Stats by countries/domains | |
1115 | +MaxNbOfDomain = 10 | |
1116 | +MinHitDomain = 1 | |
1117 | +# Stats by hosts | |
1118 | +MaxNbOfHostsShown = 10 | |
1119 | +MinHitHost = 1 | |
1120 | +# Stats by authenticated users | |
1121 | +MaxNbOfLoginShown = 10 | |
1122 | +MinHitLogin = 1 | |
1123 | +# Stats by robots | |
1124 | +MaxNbOfRobotShown = 10 | |
1125 | +MinHitRobot = 1 | |
1126 | +# Stats for Downloads | |
1127 | +MaxNbOfDownloadsShown = 10 | |
1128 | +MinHitDownloads = 1 | |
1129 | +# Stats by pages | |
1130 | +MaxNbOfPageShown = 10 | |
1131 | +MinHitFile = 1 | |
1132 | +# Stats by OS | |
1133 | +MaxNbOfOsShown = 10 | |
1134 | +MinHitOs = 1 | |
1135 | +# Stats by browsers | |
1136 | +MaxNbOfBrowsersShown = 10 | |
1137 | +MinHitBrowser = 1 | |
1138 | +# Stats by screen size | |
1139 | +MaxNbOfScreenSizesShown = 5 | |
1140 | +MinHitScreenSize = 1 | |
1141 | +# Stats by window size (following 2 parameters are not yet used) | |
1142 | +MaxNbOfWindowSizesShown = 5 | |
1143 | +MinHitWindowSize = 1 | |
1144 | +# Stats by referers | |
1145 | +MaxNbOfRefererShown = 10 | |
1146 | +MinHitRefer = 1 | |
1147 | +# Stats for keyphrases | |
1148 | +MaxNbOfKeyphrasesShown = 10 | |
1149 | +MinHitKeyphrase = 1 | |
1150 | +# Stats for keywords | |
1151 | +MaxNbOfKeywordsShown = 10 | |
1152 | +MinHitKeyword = 1 | |
1153 | +# Stats for sender or receiver emails | |
1154 | +MaxNbOfEMailsShown = 20 | |
1155 | +MinHitEMail = 1 | |
1156 | + | |
1157 | + | |
1158 | +# Choose if you want the week report to start on sunday or monday | |
1159 | +# Possible values: | |
1160 | +# 0 - Week starts on sunday | |
1161 | +# 1 - Week starts on monday | |
1162 | +# Default: 1 | |
1163 | +# | |
1164 | +FirstDayOfWeek=1 | |
1165 | + | |
1166 | + | |
1167 | +# List of visible flags that link to other language translations. | |
1168 | +# See Lang parameter for list of allowed flag/language codes. | |
1169 | +# If you don't want any flag link, set ShowFlagLinks to "". | |
1170 | +# This parameter is used only if ShowMenu parameter is set to 1. | |
1171 | +# Possible values: "" or "language_codes_separated_by_space" | |
1172 | +# Example: "en es fr nl de" | |
1173 | +# Default: "" | |
1174 | +# | |
1175 | +ShowFlagLinks="" | |
1176 | + | |
1177 | + | |
1178 | +# Each URL, shown in stats report views, are links you can click. | |
1179 | +# Possible values: 0 or 1 | |
1180 | +# Default: 1 | |
1181 | +# | |
1182 | +ShowLinksOnUrl=1 | |
1183 | + | |
1184 | + | |
1185 | +# When AWStats builds HTML links in its report pages, it starts those links | |
1186 | +# with "http://". However some links might be HTTPS links, so you can enter | |
1187 | +# here the root of all your HTTPS links. If all your site is a SSL web site, | |
1188 | +# just enter "/". | |
1189 | +# This parameter is not used if ShowLinksOnUrl is 0. | |
1190 | +# Example: "/shopping" | |
1191 | +# Example: "/" | |
1192 | +# Default: "" | |
1193 | +# | |
1194 | +UseHTTPSLinkForUrl="" | |
1195 | + | |
1196 | + | |
1197 | +# Maximum length of URL part shown on stats page (number of characters). | |
1198 | +# This affects only URL visible text, links still work. | |
1199 | +# Default: 64 | |
1200 | +# | |
1201 | +MaxLengthOfShownURL=64 | |
1202 | + | |
1203 | + | |
1204 | +# You can enter HTML code that will be added at the top of AWStats reports. | |
1205 | +# Default: "" | |
1206 | +# | |
1207 | +HTMLHeadSection="" | |
1208 | + | |
1209 | + | |
1210 | +# You can enter HTML code that will be added at the end of AWStats reports. | |
1211 | +# Great to add advert ban. | |
1212 | +# Default: "" | |
1213 | +# | |
1214 | +HTMLEndSection="" | |
1215 | + | |
1216 | + | |
1217 | +# By default AWStats page contains meta tag robots=noindex,nofollow | |
1218 | +# If you want to have your statistics to be indexed, set this option to 1. | |
1219 | +# Default: 0 | |
1220 | +# | |
1221 | +MetaRobot=0 | |
1222 | + | |
1223 | + | |
1224 | +# You can set Logo and LogoLink to use your own logo. | |
1225 | +# Logo must be the name of image file (must be in $DirIcons/other directory). | |
1226 | +# LogoLink is the expected URL when clicking on Logo. | |
1227 | +# Default: "awstats_logo6.png" | |
1228 | +# | |
1229 | +Logo="awstats_logo6.png" | |
1230 | +LogoLink="http://www.awstats.org" | |
1231 | + | |
1232 | + | |
1233 | +# Value of maximum bar width/height for horizontal/vertical HTML graphics bars. | |
1234 | +# Default: 260/90 | |
1235 | +# | |
1236 | +BarWidth = 260 | |
1237 | +BarHeight = 90 | |
1238 | + | |
1239 | + | |
1240 | +# You can ask AWStats to use a particular CSS (Cascading Style Sheet) to | |
1241 | +# change its look. To create a style sheet, you can use samples provided with | |
1242 | +# AWStats in wwwroot/css directory. | |
1243 | +# Example: "/awstatscss/awstats_bw.css" | |
1244 | +# Example: "/css/awstats_bw.css" | |
1245 | +# Default: "" | |
1246 | +# | |
1247 | +StyleSheet="" | |
1248 | + | |
1249 | + | |
1250 | +# Those color parameters can be used (if StyleSheet parameter is not used) | |
1251 | +# to change AWStats look. | |
1252 | +# Example: color_name="RRGGBB" # RRGGBB is Red Green Blue components in Hex | |
1253 | +# | |
1254 | +color_Background="FFFFFF" # Background color for main page (Default = "FFFFFF") | |
1255 | +color_TableBGTitle="CCCCDD" # Background color for table title (Default = "CCCCDD") | |
1256 | +color_TableTitle="000000" # Table title font color (Default = "000000") | |
1257 | +color_TableBG="CCCCDD" # Background color for table (Default = "CCCCDD") | |
1258 | +color_TableRowTitle="FFFFFF" # Table row title font color (Default = "FFFFFF") | |
1259 | +color_TableBGRowTitle="ECECEC" # Background color for row title (Default = "ECECEC") | |
1260 | +color_TableBorder="ECECEC" # Table border color (Default = "ECECEC") | |
1261 | +color_text="000000" # Color of text (Default = "000000") | |
1262 | +color_textpercent="606060" # Color of text for percent values (Default = "606060") | |
1263 | +color_titletext="000000" # Color of text title within colored Title Rows (Default = "000000") | |
1264 | +color_weekend="EAEAEA" # Color for week-end days (Default = "EAEAEA") | |
1265 | +color_link="0011BB" # Color of HTML links (Default = "0011BB") | |
1266 | +color_hover="605040" # Color of HTML on-mouseover links (Default = "605040") | |
1267 | +color_u="FFAA66" # Background color for number of unique visitors (Default = "FFAA66") | |
1268 | +color_v="F4F090" # Background color for number of visites (Default = "F4F090") | |
1269 | +color_p="4477DD" # Background color for number of pages (Default = "4477DD") | |
1270 | +color_h="66DDEE" # Background color for number of hits (Default = "66DDEE") | |
1271 | +color_k="2EA495" # Background color for number of bytes (Default = "2EA495") | |
1272 | +color_s="8888DD" # Background color for number of search (Default = "8888DD") | |
1273 | +color_e="CEC2E8" # Background color for number of entry pages (Default = "CEC2E8") | |
1274 | +color_x="C1B2E2" # Background color for number of exit pages (Default = "C1B2E2") | |
1275 | + | |
1276 | + | |
1277 | + | |
1278 | +#----------------------------------------------------------------------------- | |
1279 | +# PLUGINS | |
1280 | +#----------------------------------------------------------------------------- | |
1281 | + | |
1282 | +# Add here all plugin files you want to load. | |
1283 | +# Plugin files must be .pm files stored in 'plugins' directory. | |
1284 | +# Uncomment LoadPlugin lines to enable a plugin after checking that perl | |
1285 | +# modules required by the plugin are installed. | |
1286 | + | |
1287 | +# PLUGIN: Tooltips | |
1288 | +# REQUIRED MODULES: None | |
1289 | +# PARAMETERS: None | |
1290 | +# DESCRIPTION: Add tooltips pop-up help boxes to HTML report pages. | |
1291 | +# NOTE: This will increased HTML report pages size, thus server load and bandwidth. | |
1292 | +# | |
1293 | +#LoadPlugin="tooltips" | |
1294 | + | |
1295 | +# PLUGIN: DecodeUTFKeys | |
1296 | +# REQUIRED MODULES: Encode and URI::Escape | |
1297 | +# PARAMETERS: None | |
1298 | +# DESCRIPTION: Allow AWStats to show correctly (in language charset) | |
1299 | +# keywords/keyphrases strings even if they were UTF8 coded by the | |
1300 | +# referer search engine. | |
1301 | +# | |
1302 | +#LoadPlugin="decodeutfkeys" | |
1303 | + | |
1304 | +# PLUGIN: IPv6 | |
1305 | +# PARAMETERS: None | |
1306 | +# REQUIRED MODULES: Net::IP and Net::DNS | |
1307 | +# DESCRIPTION: This plugin gives AWStats capability to make reverse DNS | |
1308 | +# lookup on IPv6 addresses. | |
1309 | +# | |
1310 | +#LoadPlugin="ipv6" | |
1311 | + | |
1312 | +# PLUGIN: HashFiles | |
1313 | +# REQUIRED MODULES: Storable | |
1314 | +# PARAMETERS: None | |
1315 | +# DESCRIPTION: AWStats DNS cache files are read/saved as native hash files. | |
1316 | +# This increases DNS cache files loading speed, above all for very large web sites. | |
1317 | +# | |
1318 | +LoadPlugin="hashfiles" | |
1319 | + | |
1320 | + | |
1321 | +# PLUGIN: UserInfo | |
1322 | +# REQUIRED MODULES: None | |
1323 | +# PARAMETERS: None | |
1324 | +# DESCRIPTION: Add a text (Firtname, Lastname, Office Department, ...) in | |
1325 | +# authenticated user reports for each login value. | |
1326 | +# A text file called userinfo.myconfig.txt, with two fields (first is login, | |
1327 | +# second is text to show, separated by a tab char) must be created in DirData | |
1328 | +# directory. | |
1329 | +# | |
1330 | +#LoadPlugin="userinfo" | |
1331 | + | |
1332 | +# PLUGIN: HostInfo | |
1333 | +# REQUIRED MODULES: Net::XWhois | |
1334 | +# PARAMETERS: None | |
1335 | +# DESCRIPTION: Add a column into host chart with a link to open a popup window that shows | |
1336 | +# info on host (like whois records). | |
1337 | +# | |
1338 | +#LoadPlugin="hostinfo" | |
1339 | + | |
1340 | +# PLUGIN: ClusterInfo | |
1341 | +# REQUIRED MODULES: None | |
1342 | +# PARAMETERS: None | |
1343 | +# DESCRIPTION: Add a text (for example a full hostname) in cluster reports for each cluster | |
1344 | +# number. A text file called clusterinfo.myconfig.txt, with two fields (first is | |
1345 | +# cluster number, second is text to show) separated by a tab char. must be | |
1346 | +# created into DirData directory. | |
1347 | +# Note this plugin is useless if ShowClusterStats is set to 0 or if you don't | |
1348 | +# use a personalized log format that contains %cluster tag. | |
1349 | +# | |
1350 | +#LoadPlugin="clusterinfo" | |
1351 | + | |
1352 | +# PLUGIN: UrlAliases | |
1353 | +# REQUIRED MODULES: None | |
1354 | +# PARAMETERS: None | |
1355 | +# DESCRIPTION: Add a text (Page title, description...) in URL reports before URL value. | |
1356 | +# A text file called urlalias.myconfig.txt, with two fields (first is URL, | |
1357 | +# second is text to show, separated by a tab char) must be created into | |
1358 | +# DirData directory. | |
1359 | +# | |
1360 | +#LoadPlugin="urlalias" | |
1361 | + | |
1362 | +# PLUGIN: TimeHiRes | |
1363 | +# REQUIRED MODULES: Time::HiRes (if Perl < 5.8) | |
1364 | +# PARAMETERS: None | |
1365 | +# DESCRIPTION: Time reported by -showsteps option is in millisecond. For debug purpose. | |
1366 | +# | |
1367 | +#LoadPlugin="timehires" | |
1368 | + | |
1369 | +# PLUGIN: TimeZone | |
1370 | +# REQUIRED MODULES: Time::Local | |
1371 | +# PARAMETERS: [timezone offset] | |
1372 | +# DESCRIPTION: Allow AWStats to adjust time stamps for a different timezone | |
1373 | +# This plugin reduces AWStats speed of 10% !!!!!!! | |
1374 | +# LoadPlugin="timezone" | |
1375 | +# LoadPlugin="timezone +2" | |
1376 | +# LoadPlugin="timezone CET" | |
1377 | +# | |
1378 | +#LoadPlugin="timezone +2" | |
1379 | + | |
1380 | +# PLUGIN: Rawlog | |
1381 | +# REQUIRED MODULES: None | |
1382 | +# PARAMETERS: None | |
1383 | +# DESCRIPTION: This plugin adds a form in AWStats main page to allow users to see raw | |
1384 | +# content of current log files. A filter is also available. | |
1385 | +# | |
1386 | +#LoadPlugin="rawlog" | |
1387 | + | |
1388 | +# PLUGIN: GraphApplet | |
1389 | +# REQUIRED MODULES: None | |
1390 | +# PARAMETERS: [CSS classes to override] | |
1391 | +# DESCRIPTION: Supported charts are built by a 3D graphic applet. | |
1392 | +# | |
1393 | +#LoadPlugin="graphapplet /awstatsclasses" # EXPERIMENTAL FEATURE | |
1394 | + | |
1395 | +# PLUGIN: GraphGoogleChartAPI | |
1396 | +# REQUIRED MODULES: None | |
1397 | +# PARAMETERS: None | |
1398 | +# DESCRIPTION: Replaces the standard charts with free Google API generated images | |
1399 | +# in HTML reports. If country data is available and more than one country has hits, | |
1400 | +# a map will be generated using Google Visualizations. | |
1401 | +# Note: The machine where reports are displayed must have Internet access for the | |
1402 | +# charts to be generated. The only data sent to Google includes the statistic numbers, | |
1403 | +# legend names and country names. | |
1404 | +# Warning: This plugin is not compatible with option BuildReportFormat=xhtml. | |
1405 | +# | |
1406 | +#LoadPlugin="graphgooglechartapi" | |
1407 | + | |
1408 | +# PLUGIN: GeoIPfree | |
1409 | +# REQUIRED MODULES: Geo::IPfree version 0.2+ (from Graciliano M.P.) | |
1410 | +# PARAMETERS: None | |
1411 | +# DESCRIPTION: Country chart is built from an Internet IP-Country database. | |
1412 | +# This plugin is useless for intranet only log files. | |
1413 | +# Note: You must choose between using this plugin (need Perl Geo::IPfree | |
1414 | +# module, database is free but not up to date) or the GeoIP plugin (need | |
1415 | +# Perl Geo::IP module from Maxmind, database is also free and up to date). | |
1416 | +# Note: Activestate provide a corrupted version of Geo::IPfree 0.2 Perl | |
1417 | +# module, so install it from elsewhere (from www.cpan.org for example). | |
1418 | +# This plugin reduces AWStats speed by up to 10% ! | |
1419 | +# | |
1420 | +LoadPlugin="geoipfree" | |
1421 | + | |
1422 | +# MAXMIND GEO IP MODULES: Please see documentation for notes on all Maxmind modules | |
1423 | + | |
1424 | +# PLUGIN: GeoIP | |
1425 | +# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) | |
1426 | +# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/geoip.dat[+/pathto/override.txt]] | |
1427 | +# DESCRIPTION: Builds a country chart and adds an entry to the hosts | |
1428 | +# table with country name | |
1429 | +# Replace spaces in the path of geoip data file with string "%20". | |
1430 | +# | |
1431 | +#LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat" | |
1432 | + | |
1433 | +# PLUGIN: GeoIP_City_Maxmind | |
1434 | +# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) | |
1435 | +# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPCity.dat[+/pathto/override.txt]] | |
1436 | +# DESCRIPTION: This plugin adds a column under the hosts field and tracks the pageviews | |
1437 | +# and hits by city including regions. | |
1438 | +# Replace spaces in the path of geoip data file with string "%20". | |
1439 | +# | |
1440 | +#LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPCity.dat" | |
1441 | + | |
1442 | +# PLUGIN: GeoIP_ASN_Maxmind | |
1443 | +# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) | |
1444 | +# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPASN.dat[+/pathto/override.txt][+http://linktoASlookup]] | |
1445 | +# DESCRIPTION: This plugin adds a chart of AS numbers where the host IP address is registered. | |
1446 | +# This plugin can display some ISP information if included in the database. You can also provide | |
1447 | +# a link that will be used to lookup additional registration data. Put the link at the end of | |
1448 | +# the parameter string and the report page will include the link with the full AS number at the end. | |
1449 | +# Replace spaces in the path of geoip data file with string "%20". | |
1450 | +# | |
1451 | +#LoadPlugin="geoip_asn_maxmind GEOIP_STANDARD /usr/local/geoip.dat+http://enc.com.au/itools/aut-num.php?autnum=" | |
1452 | + | |
1453 | +# PLUGIN: GeoIP_Region_Maxmind | |
1454 | +# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) | |
1455 | +# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPRegion.dat[+/pathto/override.txt]] | |
1456 | +# DESCRIPTION:This plugin adds a chart of hits by regions. Only regions for US and | |
1457 | +# Canada can be detected. | |
1458 | +# Replace spaces in the path of geoip data file with string "%20". | |
1459 | +# | |
1460 | +#LoadPlugin="geoip_region_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPRegion.dat" | |
1461 | + | |
1462 | +# PLUGIN: GeoIP_ISP_Maxmind | |
1463 | +# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) | |
1464 | +# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPISP.dat[+/pathto/override.txt]] | |
1465 | +# DESCRIPTION: This plugin adds a chart of hits by ISP. | |
1466 | +# Replace spaces in the path of geoip data file with string "%20". | |
1467 | +# | |
1468 | +#LoadPlugin="geoip_isp_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPISP.dat" | |
1469 | + | |
1470 | +# PLUGIN: GeoIP_Org_Maxmind | |
1471 | +# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) | |
1472 | +# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPOrg.dat[+/pathto/override.txt]] | |
1473 | +# DESCRIPTION: This plugin add a chart of hits by Organization name | |
1474 | +# Replace spaces in the path of geoip data file with string "%20". | |
1475 | +# | |
1476 | +#LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPOrg.dat" | |
1477 | + | |
1478 | + | |
1479 | +#----------------------------------------------------------------------------- | |
1480 | +# EXTRA SECTIONS | |
1481 | +#----------------------------------------------------------------------------- | |
1482 | + | |
1483 | +# You can define your own charts, you choose here what are rows and columns | |
1484 | +# keys. This feature is particularly useful for marketing purpose, tracking | |
1485 | +# products orders for example. | |
1486 | +# For this, edit all parameters of Extra section. Each set of parameter is a | |
1487 | +# different chart. For several charts, duplicate section changing the number. | |
1488 | +# Note: Each Extra section reduces AWStats speed by 8%. | |
1489 | +# | |
1490 | +# WARNING: A wrong setup of Extra section might result in too large arrays | |
1491 | +# that will consume all your memory, making AWStats unusable after several | |
1492 | +# updates, so be sure to setup it correctly. | |
1493 | +# In most cases, you don't need this feature. | |
1494 | +# | |
1495 | +# ExtraSectionNameX is title of your personalized chart. | |
1496 | +# ExtraSectionCodeFilterX is list of codes the record code field must match. | |
1497 | +# Put an empty string for no test on code. | |
1498 | +# ExtraSectionConditionX are conditions you can use to count or not the hit, | |
1499 | +# Use one of the field condition | |
1500 | +# (URL,URLWITHQUERY,QUERY_STRING,REFERER,UA,HOSTINLOG,HOST,VHOST,extraX) | |
1501 | +# and a regex to match, after a coma. Use "||" for "OR". | |
1502 | +# ExtraSectionFirstColumnTitleX is the first column title of the chart. | |
1503 | +# ExtraSectionFirstColumnValuesX is a string to tell AWStats which field to | |
1504 | +# extract value from | |
1505 | +# (URL,URLWITHQUERY,QUERY_STRING,REFERER,UA,HOSTINLOG,HOST,VHOST,extraX) | |
1506 | +# and how to extract the value (using regex syntax). Each different value | |
1507 | +# found will appear in first column of report on a different row. Be sure | |
1508 | +# that list of different possible values will not grow indefinitely. | |
1509 | +# ExtraSectionFirstColumnFormatX is the string used to write value. | |
1510 | +# ExtraSectionStatTypesX are things you want to count. You can use standard | |
1511 | +# code letters (P for pages,H for hits,B for bandwidth,L for last access). | |
1512 | +# ExtraSectionAddAverageRowX add a row at bottom of chart with average values. | |
1513 | +# ExtraSectionAddSumRowX add a row at bottom of chart with sum values. | |
1514 | +# MaxNbOfExtraX is maximum number of rows shown in chart. | |
1515 | +# MinHitExtraX is minimum number of hits required to be shown in chart. | |
1516 | +# | |
1517 | + | |
1518 | +# Example to report the 20 products the most ordered by "order.cgi" script | |
1519 | +#ExtraSectionName1="Product orders" | |
1520 | +#ExtraSectionCodeFilter1="200 304" | |
1521 | +#ExtraSectionCondition1="URL,\/cgi\-bin\/order\.cgi||URL,\/cgi\-bin\/order2\.cgi" | |
1522 | +#ExtraSectionFirstColumnTitle1="Product ID" | |
1523 | +#ExtraSectionFirstColumnValues1="QUERY_STRING,productid=([^&]+)" | |
1524 | +#ExtraSectionFirstColumnFormat1="%s" | |
1525 | +#ExtraSectionStatTypes1=PL | |
1526 | +#ExtraSectionAddAverageRow1=0 | |
1527 | +#ExtraSectionAddSumRow1=1 | |
1528 | +#MaxNbOfExtra1=20 | |
1529 | +#MinHitExtra1=1 | |
1530 | + | |
1531 | + | |
1532 | +# There is also a global parameter ExtraTrackedRowsLimit that limits the | |
1533 | +# number of possible rows an ExtraSection can report. This parameter is | |
1534 | +# here to protect too much memory use when you make a bad setup in your | |
1535 | +# ExtraSection. It applies to all ExtraSection independently meaning that | |
1536 | +# none ExtraSection can report more rows than value defined by ExtraTrackedRowsLimit. | |
1537 | +# If you know an ExtraSection will report more rows than its value, you should | |
1538 | +# increase this parameter or AWStats will stop with an error. | |
1539 | +# Example: 2000 | |
1540 | +# Default: 500 | |
1541 | +# | |
1542 | +ExtraTrackedRowsLimit=500 | |
1543 | + | |
1544 | + | |
1545 | +#----------------------------------------------------------------------------- | |
1546 | +# INCLUDES | |
1547 | +#----------------------------------------------------------------------------- | |
1548 | + | |
1549 | +# You can include other config files using the directive with the name of the | |
1550 | +# config file. | |
1551 | +# This is particularly useful for users who have a lot of virtual servers, so | |
1552 | +# a lot of config files and want to maintain common values in only one file. | |
1553 | +# Note that when a variable is defined both in a config file and in an | |
1554 | +# included file, AWStats will use the last value read for parameters that | |
1555 | +# contains one value and AWStats will concat all values from both files for | |
1556 | +# parameters that are lists of values. | |
1557 | +# | |
1558 | + | |
1559 | +Include "/etc/awstats/awstats.conf.local" | |
1560 | + | ... | ... |
1 | +++ a/conf/defaultmeta.txt | |
... | ... | @@ -0,0 +1,20 @@ |
1 | +publisher: Paris Astronomical Data Centre | |
2 | +publisherID: ivo://vopdc.obspm | |
3 | +contact.name: PADC support team | |
4 | +contact.address: 77 av. Denfert Rochereau, 75014 Paris, FRANCE | |
5 | +contact.email: vo.paris@obspm.fr | |
6 | +contact.telephone: 0033140512082 | |
7 | +creator.name: PADC | |
8 | +creator.logo: http://voparis-srv-paris.obspm.fr/logos/PADC_small.png | |
9 | +authority.creationDate: 2012-01-09T12:53:33 | |
10 | +authority.title: Paris Astronomical Data Centre Authority | |
11 | +authority.shortName: PADC | |
12 | +authority.description: The Paris Astronomical Data Centre project aims at providing VO access to its databases ressources, at participating to international standards developments, at implementing VO compliant simulation codes, data visualization and analysis software. This Naming Authority is used to identify the resources provided by Paris Astronomical Data Centre at Observatoire de Paris, Paris, FRANCE | |
13 | +authority.referenceURL: vo-web.obspm.fr | |
14 | +authority.referenceURL: http://padc.obspm.fr | |
15 | +authority.managingOrg: ivo://vopdc | |
16 | +organization.title: Observatoire de Paris | |
17 | +organization.description: Founded in 1667, the Observatoire de Paris is the largest national research center for astronomy. | |
18 | +organization.referenceURL: http://www.obspm.fr | |
19 | +site.description: The Paris Astronomical Data Centre project aims at providing VO access to its databases ressources, at participating to international standards developments, at implementing VO compliant simulation codes, data visualization and analysis software. | |
20 | + | ... | ... |
1 | +++ a/conf/gavo.rc | |
... | ... | @@ -0,0 +1,13 @@ |
1 | +[general] | |
2 | +rootDir: /var/gavo | |
3 | +maintainerAddress: pierre.lesidaner@obspm.fr | |
4 | +[web] | |
5 | +bindAddress: | |
6 | +serverPort: 80 | |
7 | +#serverURL: http://145.238.197.199:81 | |
8 | +serverURL: http://127.0.0.1:80 | |
9 | +sitename: portablelp | |
10 | +corsOriginPat: http.* | |
11 | +logFormat: combined | |
12 | +[ivoa] | |
13 | +authority: vopdc.obspm | ... | ... |
15.5 KB
9.49 KB
1 | +++ a/services/planets/data/Masses2.csv | |
... | ... | @@ -0,0 +1,9 @@ |
1 | +target_name,mean_radius,mean_radius_uncertainty,equatorial_radius,equatorial_radius_uncertainty,polar_radius,polar_radius_uncertainty,rms_deviation,elevation_max,elevation_min,mass,distance_to_primary,sideral_rotation_period,obs_idi,thumbnail_url | |
2 | +Mercury,2439.7,1.0,2439.7,1.0,2439.7,1.0,1,4.6,2.5,3.3014E23,57909227.,1407.504,1,http://www.lesia.obspm.fr/BDIP/bdip_icone/bdip8397.jpg | |
3 | +Venus,6051.8,1.0,6051.8,1.0,6051.8,1.0,1,11,2,4.86732E24,108209475.,-5832.432,2,http://www.lesia.obspm.fr/BDIP/bdip_icone/bdip7534.jpg | |
4 | +Earth,6371.00,0.01,6378.14, 0.01,6356.75, 0.01,3.57,8.85,11.52,5.97219E24,149598262.,23.93447232,3,http://www.lesia.obspm.fr/BDIP/bdip_icone/bdip7534.jpg | |
5 | +Mars,3389.5,0.2,3396.19,0.1,3376.,0.1,3.0,22.64,7.55,6.41693E23,227943824.,24.624,4,http://www.lesia.obspm.fr/BDIP/bdip_icone/bdip3073.jpg,http://www.lesia.obspm.fr/BDIP/bdip_icone/bdip3073.jpg | |
6 | +Jupiter,69911.,6,71492.,4,66854.,10,62.1,31,102,1.89813E27,778340821.,9.92496,5,http://www.lesia.obspm.fr/BDIP/bdip_icone/bdip0001.jpg | |
7 | +Saturn,58232.,6,60268.,4,54364.,10,102.9,8,205,5.68319E26,1426666422.,10.656,6,http://www.lesia.obspm.fr/BDIP/bdip_icone/bdip2716.jpg | |
8 | +Uranus,25362.,7,25559.,4,24973.,20,16.8,28,0,8.68103E25,2870658186.,-17.232,7,http://www.lesia.obspm.fr/BDIP/bdip_icone/bdip2716.jpg | |
9 | +Neptune,24622.,19,24764.,15,24341.,30,8,14,0,1.0241E26,4498396441.,16.104,8,http://www.lesia.obspm.fr/BDIP/bdip_icone/bdip2716.jpg | ... | ... |
1 | +++ a/services/planets/q.rd | |
... | ... | @@ -0,0 +1,178 @@ |
1 | +<resource schema="planets"> | |
2 | + <meta name="title">Characteristics of Planets (demo)</meta> | |
3 | + <meta name="description" format="plain"> | |
4 | +Demonstration service of EPN-TAP v1: main characteristics of planets. Data are included in the table, therefore most relevant parameters are non-standard in EPN-TAP. Data are retrieved from Archinal et al 2009 (IAU report, 2011CeMDA.109..101A) [radii] and Cox et al 2000 (Allen's astrophysical quantities, 2000asqu.book.....C) [masses, heliocentric distances, and rotation periods]. </meta> | |
5 | + <meta name="creationDate">2015-08-16T09:42:00Z</meta> | |
6 | + <meta name="subject">planet</meta> | |
7 | + <meta name="subject">mass</meta> | |
8 | + <meta name="subject">radius</meta> | |
9 | + <meta name="subject">period</meta> | |
10 | + <meta name="copyright">LESIA-Obs Paris</meta> | |
11 | + <meta name="creator.name">Stephane Erard</meta> | |
12 | + <meta name="publisher">Paris Astronomical Data Centre - LESIA</meta> | |
13 | + <meta name="contact.name">Stephane Erard</meta> | |
14 | + <meta name="contact.email">vo.paris@obspm.fr</meta> | |
15 | + <meta name="contact.address">Observatoire de Paris VOPDC, bat. Perrault, 77 av. Denfert Rochereau, 75014 Paris, FRANCE</meta> | |
16 | + <meta name="source">2000asqu.book.....C</meta> | |
17 | + <meta name="contentLevel">General</meta> | |
18 | + <meta name="contentLevel">University</meta> | |
19 | + <meta name="contentLevel">Research</meta> | |
20 | + <meta name="contentLevel">Amateur</meta> | |
21 | + <meta name="utype">ivo://vopdc.obspm/std/EpnCore#schema-2.0</meta> | |
22 | + | |
23 | + | |
24 | + | |
25 | +<!-- METADATA COMPLETE --> | |
26 | + | |
27 | + <table id="epn_core" onDisk="true" adql="True"> | |
28 | + <mixin spatial_frame_type="celestial" | |
29 | + optional_columns= "time_scale publisher bib_reference thumbnail_url" >//epntap2#table-2_0</mixin> | |
30 | + | |
31 | + | |
32 | + <column name="distance_to_primary" type="double precision" | |
33 | + tablehead="Distance_to_primary" unit="km" | |
34 | + description="Extra: Mean heliocentric distance (semi-major axis)" | |
35 | + ucd="pos.distance;stat.min" | |
36 | + verbLevel="2"/> | |
37 | + | |
38 | + <column name="mean_radius" type="double precision" | |
39 | + tablehead="Mean_radius" unit="km" | |
40 | + description="Extra: Mean radius (1 bar level on giant planets)" | |
41 | + ucd="phys.size.radius" | |
42 | + verbLevel="2"/> | |
43 | + | |
44 | + <column name="mean_radius_uncertainty" type="double precision" | |
45 | + tablehead="Mean_radius_uncertainty" unit="km" | |
46 | + description="Extra: Uncertainty on mean radius" | |
47 | + ucd="phys.size.radius;stat.error" | |
48 | + verbLevel="2"/> | |
49 | + | |
50 | + <column name="equatorial_radius" type="double precision" | |
51 | + tablehead="Equatorial_radius" unit="km" | |
52 | + description="Extra: equatorial radius (1 bar level on giant planets)" | |
53 | + ucd="phys.size.radius" | |
54 | + verbLevel="2"/> | |
55 | + | |
56 | + <column name="equatorial_radius_uncertainty" type="double precision" | |
57 | + tablehead="Equatorial_radius_uncertainty" unit="km" | |
58 | + description="Extra: Uncertainty on equatorial radius" | |
59 | + ucd="phys.size.radius;stat.error" | |
60 | + verbLevel="2"/> | |
61 | + | |
62 | + <column name="polar_radius" type="double precision" | |
63 | + tablehead="Polar_radius" unit="km" | |
64 | + description="Extra: polar radius (1 bar level on giant planets)" | |
65 | + ucd="phys.size.radius" | |
66 | + verbLevel="2"/> | |
67 | + | |
68 | + <column name="polar_radius_uncertainty" type="double precision" | |
69 | + tablehead="Polar_radius_uncertainty" unit="km" | |
70 | + description="Extra: Uncertainty on polar radius" | |
71 | + ucd="phys.size.radius;stat.error" | |
72 | + verbLevel="2"/> | |
73 | + | |
74 | + <column name="rms_deviation" type="double precision" | |
75 | + tablehead="RMS_deviation" unit="km" | |
76 | + description="Extra: Average departure from ellipsoid" | |
77 | + ucd="phys.size.radius;stat.stdev" | |
78 | + verbLevel="2"/> | |
79 | + | |
80 | + <column name="elevation_min" type="double precision" | |
81 | + tablehead="Elevation_min" unit="km" | |
82 | + description="Deepest depression relative to ellipsoid" | |
83 | + ucd="pos.bodyrc.alt;stat.min" | |
84 | + verbLevel="2"/> | |
85 | + | |
86 | + <column name="elevation_max" type="double precision" | |
87 | + tablehead="Elevation_max" unit="km" | |
88 | + description="Highest relief relative to ellipsoid" | |
89 | + ucd="pos.bodyrc.alt;stat.max" | |
90 | + verbLevel="2"/> | |
91 | + | |
92 | + <column name="mass" type="double precision" | |
93 | + tablehead="Mass" unit="kg" | |
94 | + description="Mass of planet" | |
95 | + ucd="phys.mass" | |
96 | + verbLevel="2"/> | |
97 | + | |
98 | + <column name="sideral_rotation_period" type="double precision" | |
99 | + tablehead="Sideral_rotation_period" unit="h" | |
100 | + description="Rotation period (internal for giant planets)" | |
101 | + ucd="time.period.rotation" | |
102 | + verbLevel="2"/> | |
103 | + | |
104 | + <column name="ds_id" type="text" | |
105 | + tablehead="Dataset ID" | |
106 | + description="Identifier for this object to use when calling | |
107 | + datalink services" | |
108 | + ucd="meta.id"/> | |
109 | + | |
110 | + <column name="datalink_url" type="text" | |
111 | + tablehead="Datalink" | |
112 | + description="Datalinks and services for this object" | |
113 | + ucd="meta.ref.url;meta.datalink"/> | |
114 | + </table> | |
115 | + | |
116 | +<!-- TABLE COMPLETE --> | |
117 | + | |
118 | + <data id="import"> | |
119 | + <sources>data/Masses2.csv</sources> | |
120 | + <csvGrammar> | |
121 | + <rowfilter procDef="//products#define"> | |
122 | + <bind name="table">"\schema.epn_core"</bind> | |
123 | + </rowfilter> | |
124 | + </csvGrammar> | |
125 | + | |
126 | + <make table="epn_core"> | |
127 | + <rowmaker idmaps="*"> | |
128 | + <var key="dataproduct_type">"ci"</var> | |
129 | + <var key="spatial_frame_type">"celestial"</var> | |
130 | + | |
131 | + <var key="target_name" source="target_name" /> | |
132 | + <var key="granule_uid" source="target_name" /> | |
133 | + <var key="granule_gid">"Planet" </var> | |
134 | + <var key="obs_id">"N/A"</var> | |
135 | + <!-- <var key="target_class">"planet" </var> --> | |
136 | + <!-- <var key="time_scale">"UTC" </var> --> | |
137 | + | |
138 | + | |
139 | + <var key="distance_to_primary" source="distance_to_primary" /> | |
140 | + | |
141 | + <var key="creation_date">"2015-08-20T07:54:00.00" </var> | |
142 | + <var key="modification_date">"2017-12-15T17:54:00.00" </var> | |
143 | + <var key="release_date">"2015-08-20T07:54:00.00" </var> | |
144 | + | |
145 | + <var key="service_title">"planets" </var> | |
146 | + <var key="bib_reference">"2011CeMDA.109..101A#2000asqu.book.....C"</var> | |
147 | + <var key="publisher">"LESIA" </var> | |
148 | + <var key="target_class">"planet"</var> | |
149 | + | |
150 | + | |
151 | + <apply procDef="//epntap2#populate-2_0" name="fillepn"> | |
152 | + <bind name="granule_gid">@granule_gid</bind> | |
153 | + <bind name="granule_uid">@granule_uid</bind> | |
154 | + <bind name="obs_id">@obs_id</bind> | |
155 | + <bind name="target_class">@target_class</bind> | |
156 | + <bind name="time_scale">"UTC"</bind> | |
157 | + <bind name="target_name">@target_name</bind> | |
158 | + <bind name="instrument_host_name">""</bind> | |
159 | + <bind name="instrument_name">""</bind> | |
160 | + <bind key="processing_level">5</bind> | |
161 | + <bind name="dataproduct_type">@dataproduct_type</bind> | |
162 | + <bind name="measurement_type">"phys.mass#phys.size.radius"</bind> | |
163 | + <bind name="service_title">@service_title</bind> | |
164 | + <bind name="creation_date">@creation_date</bind> | |
165 | + <bind name="modification_date">@modification_date</bind> | |
166 | + <bind name="release_date">@release_date</bind> | |
167 | + | |
168 | + </apply> | |
169 | + <map key="thumbnail_url">@thumbnail_url</map> | |
170 | + </rowmaker> | |
171 | + </make> | |
172 | + </data> | |
173 | + | |
174 | + <data id="collection" auto="false"> | |
175 | + <make table="epn_core"/> | |
176 | + <publish/> | |
177 | + </data> | |
178 | +</resource> | ... | ... |