'############################################################################################
'### This section contains important KB settings. You can edit them to fit your needs.
'### Lines with an apostophe ( ' ) in front of them are commented out and therefore inactive. Uncomment them if necessary.
'############################################################################################

'############################################################################################
'### System settings
'############################################################################################
Application("DBConnection")="DBQ=" & server.mappath("database/kb.mdb") & ";Driver={Microsoft Access Driver (*.mdb)}" '### Database connection string. For alternatives (for example a DSN): refer to general IIS docs.
'Application("DBConnection")="DSN=KB"
Application("Debugging")=True '### If Debugging is enabled, KB will continue on errors. Normally it should be False
Application("ArticlePrefix")="KB" '### Articles are stored in the DB with a unique ID. This prefix will be added to the article ID as display
Application("UpdateRelatedArticles")=True '### If True, articles are validated and cross-references are created (if you add a related article in Article 1 to 2, a reference to 1 will be created in 2 automatically)
Application("DisallowedUploadExtensions")="asp,com"  '### Comma delimited list of upload file extensions that are not allowed (Example: "asp,exe,com", Empty=all allowed)
Application("AllowHTMLInArticles")=True '### Allow html code in articles. If not, the text will be HTMLEncoded.
Application("AllowWysiwygEditor")=True '### Allow admins to use the (very basic!) Wysywig html editor for the Solution field
Application("BaseDownloadDir")=Server.Mappath("Files") & "\"  '### Location for related downloads: auto-creates subfolders named according to the article ID's. Also removed when deleting an article.
Application("CountDownloads")=True '### Keep track of number of times a file is downloaded (in Stream, NTFS only)
Application("UseFileDescriptions")=True  '### Enable file descriptions for related downloads (in Stream, NTFS only)
Application("GetTitlesForRelatedArticles")=True  '### Get title for all related articles. If disabled, only the KB article number will be displayed.
Application("LanguageFile")="english.dat" '### Language file to use (all language files should be in a subfolder /lang)

'############################################################################################
'### Security/Admin settings
'############################################################################################
Application("AdminPass")="pass" '### Comma separated list of administrative passwords (used if NTAuthenticatedAdmins is empty)
'Application("AllUsersAreAdmin")=True '### CAUTION: If true, the admin functions are available to all users
'Application("NTAuthenticatedAdmins")= "administrator" '### Login these admin users automatically if NT Authentication is available. Format: comma delimited list of NT names, turn off Anonymous access in IIS use this feature.
Application("AllowAddArticles")=True '### Allow admins to add articles
Application("AllowModifyArticles")=True '### Allow admins to delete articles
Application("AllowArchiveArticles")=True '### Allow admins to archive articles
Application("AllowDeleteArticles")=True '### Allow admins to delete articles
Application("AllowManageCategories")=True '### Allow admins to manage categories
Application("AllowUsersSubmitCase")=True '### Allow regular users to submit new cases
Application("LogFile")="kb.log" '### Name of the logfile that Fileman will use. If no full path is entered the FM folder will be used.
Application("LogLevel")=1 '### 0=Off, 1=Basic, 2=Higher, 3=Debug
Application("AllowedIP")="" '### Comma delimited list of allowed IP numbers/ranges. Example: "192.*,10.0.0.*" 
Application("DeniedIP")="" '### Comma delimited list of denied IP numbers/ranges (this setting overrides AllowedIP). Example: "192.*,10.0.0.*" 

'############################################################################################
'### Search form settings
'############################################################################################
Application("MainTitle")="Knowledge Base" '### Main title on search form page
Application("Intro")="" '### Text with additional information that appears on search page below the search form
Application("DefaultPageSize")=15 '### Number of lines shown on search results page
Application("DefaultSearchLogic")="All" '### Default search terms matching (All, Any or Literal)
Application("DefaultSearchMode")="basic" '### Default search form mode (advanced or basic)
Application("SelectAllCategories")=True  '### All category checkboxes will be checked by default
Application("ShowNumberOfArticles")=True '### Show number of available articles in each category
Application("ShowNumberOfCategories")=True '### Show number of categories
Application("ShowEmptyCategories")=False '### Show categories that contain no articles yet
Application("ShowAdminLink")=True '### Show a link to login as an admin
Application("ShowAdminNewCasesLink")=True  '### Show quick link for New Articles in admin mode

'############################################################################################
'### Search results settings
'############################################################################################
Application("ShowOwner")=True '### Show owner of incident
Application("ShowPrintLink")=True '### Show a "Print article" link
Application("RateArticles")=True '### Show a poll where users can vote if the article was useful or not
Application("ShowArticleInfo")=True '### Show additional onMouseOver info when hovering over an article in the results list (Category, Date, Title and part of the description)
Application("ShowLongDates")=True '### Show date + time in article description (Only date if False)
Application("DefaultSortBy")="NumRead DESC" '### Default sort order of results
Application("HiliteResults")=True '### Highlight search terms in article view
Application("HiliteBGColor")="DDDDEE" '### Highlight color
Application("BGColor1")="F8F8F8" '### Background color #1 of lines in search results
Application("BGColor2")="EEEEEE" '### Background color #2 of lines in search results
Application("MenuBGColor")="666688" '### Background color of menu bars

'############################################################################################
'### Email functions - Only necessary if EnableEmailFeedback=True
'############################################################################################
'Application("EnableEmailFeedback")=True '### Show feedback links
Application("MailComponent")="cdonts" '### Defines which email component to use. Valid values are: "jmail", "aspmail" or "cdonts".
Application("ReplyToAddress")="info@domain.com" '### Email address used in reply-to field of email.
Application("SMTPMailServer")= "Localhost" '### SMTP Mailserver to be used to send account information to users.
'############################################################################################