Skip to content

Commit 2ca6427

Browse files
author
Daniel Thompson
committed
Added documentation for the BaseUri setting
1 parent cc82b46 commit 2ca6427

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/customizing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The [appsettings.json](/Web/appsettings.json) file contains a section titled “
1111
"ExtraCSS": "",
1212
"AllowAdvancedQuery": false,
1313
"DataStore": "Sqlite",
14+
"BaseUri": "",
1415
"AuthenticationMode": "Forms"
1516
}
1617
```
@@ -22,4 +23,5 @@ The following section details what each of the settings do:
2223
* *ExtraCSS*: points to a .css file that will be referenced by all the QueryTree pages, after it’s own CSS. This file does not necessarily need to be located inside QueryTree’s wwwroot folder. It could potentially be hosted at a different domain.
2324
* *AllowAdvancedQuery*: indicated whether users will be given the option to use the advanced query builder. See [here](/docs/advanced.md) for more information.
2425
* *DataStore*: Controls what kind of database QueryTree will store it's configuration data in. Valid options are 'MSSqlServer' or 'Sqlite'. The contents of the ConnectionString setting in the [appsettings.json](/Web/appsettings.json) should be set to an appropriate connection string for this database type.
26+
* *BaseUri*: If you want to run QueryTree from a subfolder on your webserver, e.g. http://my.app.com/reports/, the BaseUri setting should be used to tell QueryTree what location it is running from, e.g. "/reports".
2527
* *AuthenticationMode*: Valid options are "Forms" or "Windows". The default value is "Forms". "Forms" means that users will see "sign up", "sign in" and "sign out" pages. If "Windows" is enabled, those pages will be hidden and users will be automatically signed in using their Windows accounts. This option will only work for Windows clients, and when QueryTree is hosted using IIS, with "Windows Authentication" enabled and "Anonymous Authentication" disabled. See [https://docs.microsoft.com/en-us/iis/configuration/system.webserver/security/authentication/windowsauthentication/]() for more information on configuring IIS.

0 commit comments

Comments
 (0)