|
Configuring KnowledgeTree |
|
|
This topic describes the parameters and values in KnowledgeTree's config.ini file, located in the KnowledgeTree folder.
The config.ini file contains the configuration settings for all KnowledgeTree Document Management System installations (Windows or Linux). Settings in the config.ini file may be changed in any text editor, such as Notepad. All values in the file are editable. Please note that some sections are marked as 'reserved for future development'.
Note: We recommend that only authorized, experienced administrative users should attempt to change settings in config.ini. Incorrect configurations may introduce errors in your system.
Important Recommended minimum configuration changes
Configuration Settings
[db] The database engine. You will need to change at least some of these settings (such as the default username and password, which are created automatically during installation).
Note: Currently, (January 2008), MySQL is the only supported database type.
Note: These are the MySQL database usernames and passwords. You may need this information when backing up your database or upgrading. Passwords are user-defined during installation; passwords displayed below are therefore example values only.
[KnowledgeTree] KnowledgeTree automatically detects the default settings in this section. Do not change these settings manually unless you understand the consequences of your actions. Changing these settings incorrectly may introduce errors into your system.
Note: Leave the default to have this automatically detected.
Note: Leave the default to have this automatically detected.
Note: Leave the default to have this automatically detected.
i.e. if KnowledgeTree is at http://example.org/foo/, then rootUrl should be '/foo' Note: Leave the default to have this automatically detected.
Provides improved file identification support on *nix systems - not necessary if you use file extensions. The current default is true.
The default is to the path set for your Web server; this works for Unix-like systems, but may require changes for Windows systems.
The default is true.
Note: By default, this option is not enabled in the system; logLevel is commented out in the config.ini file, and is typically only activated for troubleshooting and support purposes. The default is INFO.
The default is /usr/share/file/magic
[dashboard]
The default is false.
[storage]
The default is KTOnDiskHashedStorageManager
[ui]
The Logo must be 50px tall, on a white background
Using the additional IE-specific GIF theme overrides may prevent arbitrary theme packs from working without having GIF versions available. The default is true.
e.g. always show_all The default is false.
Change this setting to true to automatically refresh the page after the session would have expired. The default is false.
Note: The condensed administrative interface is a more compact version of the administrative interface. The default is false.
Note: Changing this setting to true will prevent (most) browsers from giving users the option to 'open' from downloads. The default is false.
On Unix system, to determine whether the 'dot' application is installed.
[i18n] Internationalization.
The default is English (en).
If your language does not have distinguishable words (typically, there is no space character), change this setting to true to enable the Search function capable of dealing with this issue - please note that this Search is effective, but slower. The default is false.
[tweaks]
Change this setting to true to enable PHP error logging to the log/php_error_log file.
Change this setting to true to allow the user to go directly to their Unit folder when clicking 'Browse Documents'. The default (false) displays the root folder (the first Unit).
The default (false) indicates that only the folder transaction should occur.
[email] Defines email settings and enables the email feature for your installation of KnowledgeTree.
Your mail server address. The default is none.
The default is 25.
Note: Changing emailAuthentication to true forces the user to log in using their user name and password.
Change this setting to true to allow users to send attachments from the document management system. The default is false.
Change this setting to true to allow KnowledgeTree system users to send email to any email address - to other KnowledgeTree users and to external users.
Change this setting to true to always send email from the emailFrom address listed above, even if the sending user is identifiable. The default is false.
Set to true to enable onlyOwnGroups. The default is false.
[urls]
Important: Do not change this setting unless you are an authorized and experienced administrative user, and you understand the implications of changing this information. Note: Values for these settings are specific to your installation - e.g. different on Windows and Linux. Values shown below are thus examples only.
For example, the question mark used for the Help page.
[webservice]
This URL is sent to clients via web service calls to allow download files via HTTP GET.
The default is 30
The default is 30
The text used in the following setting is an example. Any random combination of letters, numbers and special characters can be used.
Validating session counts may interfere with access; best practice is to leave this disabled, unless very strict access is required. The default is false
Defines whether to default to the 'default document type' when documents are uploaded and an invalid document type is specified. This is specifically relevant to bulk uploads where the document type is predefined - e.g. uploads via KnowledgeTree DWI Service (hot folders) The default is true
This setting must be added manually to generate debug log information. Defines web service debugging if the logLevel is set to DEBUG. Setting the value to 4 or 5 produces more verbose web service logging - level 4 logs the name of functions being accessed; level 5 logs the SOAP XML requests and responses. Used to turn Web Services debug logging on and off. Note: logLevel=debug needs to be uncommented for the logging to work. The default is false
[session]
The default is false. Note: To protect your system, it is highly recommended that you do not change the default to true to allow anonymous login, even if you understand KnowledgeTree security, and you have sensibly applied the roles 'Everyone' and 'Authenticated ' Users.
Change this setting to true if you want to force sessions to come from the same IP address. The default is false.
[import]
The unzip command uses execSearchPath to find the location of your unzip binary, if the path to the binary is not given. Values auto-populated for this setting are specific to your installation - i.e. Windows or Linux.
[export]
The zip command uses execSearchPath to find the location of your zip binary, if the path to the binary is not given. Values auto-populated for this setting are specific to your installation - i.e. Windows or Linux.
The default is UTF-8
[externalBinary]
[search]
The default is 25
The default is y-m-d
[indexer]
The default is JavaXMLRPCLuceneIndexer
The default is 20.
The default is 500.
Make sure this points to the Lucene Server. Defaults to http://localhost:8875 (this is the stack location for Lucene - automatic configuration)
[openoffice] *Reserved for future development
Make sure this points to the OpenOffice Server. Defaults to OpenOffice address on the stack or wherever else you specify Defaults to http://localhost:8100
Defaults to 8100.
[user_prefs] |