The main configuration file, lxr.conf, is a parenthesis-enclosed comma-separated list of parameters:
In Perl jargon, it is a list. Since it is Perl, white spaces and end of lines may appear anywhere to give the list a nicer look. Thus, it may also be written as:
You may also add comments starting them with a pound sign (#
).
They extend to the end of the line:
Parameter_group-0
is always read in.
It contains global parameters available for every tree description.
Only one of the other parameter groups is also read.
The group is selected by matching the URL with parameters
'host_names'
, 'virtroot'
and,
eventually starting with release 2.0, 'treename'
(or, for compatibility with previous releases,
baseurl
or its aliases baseurl_aliases
).
Every parameter group is a curly braces-enclosed comma-separated list of key/value pairs:
In Perl jargon, it is a hash. The key is a string. The value may be a string, a number, a list, an array or a hash.