Settings of this group in the settings files of Exponential 6.0.15 that this page does not describe:
| Setting
| File
| Default
| Description
|
| URIMatchMapItems
|
settings/site.ini
|
admin;admin; ADMIN;admin
|
Add array entries here if you chose URIMatchType=map Each entry consists of the uri;accessname
|
| HostMatchMethod
|
settings/site.ini
|
strict
|
Add array entries here if you chose HostMatchType=map Each entry consists of the hostname;accessname[;start|end|part|strict] The last optional part is the host matching method of the entry, as for host_uri: strict (the host as listed), start (the host begins with it, so a test host example.com.test.local is matched by example.com), end or part. Without it HostMatchMethod below applies. As for host_uri, the static cache only knows strict matching. Every method compares host names without regard to case and to a trailing dot, ignores the port of the request unless the entry names one (example.com:8080), and takes a name written in Unicode (münchen.example) for the ASCII form browsers send (xn--mnchen-3ya.example). start and part also take hosts you did not mean (example.com.anything): use them only where the web server answers for your own hosts alone. HostMatchMapItems[]=example.com;user HostMatchMapItems[]=admin.example.com;admin HostMatchMapItems[]=example.com;user;start
|
| HostUriMatchMethodDefault
|
settings/site.ini
|
strict
|
Change HostUriMatchMethodDefault to one of these options to chenge default value
|
| HostUriMatchMapItems
|
settings/site.ini
|
(empty)
|
|
| DefaultHostUriRedirect
|
settings/site.ini
|
enabled
|
The siteaccess of an address that no probe of MatchOrder matches, where DefaultAccess would apply: typically the address without siteaccess or language segment (example.com/), with any MatchOrder (uri, host_uri, ...). Chosen by host and by the languages the browser accepts (Accept-Language, the most wanted first). Each entry is hostname;uri;accessname[;method[;language]]: method as for HostUriMatchMapItems, empty or "default" for HostUriMatchMethodDefault; an empty hostname with part matches any host; language such as "de" also matches regional forms (de-CH). The first entry for the host whose language the browser accepts wins, else the first entry for the host without a language. A GET or HEAD request is sent on (302), once, to the same address with the uri part, the address kept as it was asked for: example.com/ goes to example.com/ger, example.com/news/an-article to example.com/ger/news/an-article, with the query. That needs a probe that takes the address with the uri part for that siteaccess (else it would come back here); without one, for other requests, or with DefaultHostUriRedirect=disabled the page is shown at the address itself, its links carrying the uri part. An address a probe matches (/ger/..., /admin/...) is never sent on. The Location is a path on the host that was asked (/ger/news?x=1), built from the index file and the uri part of the entry, so RemoveSiteAccessIfDefaultAccess does not shorten it into a loop. When the browser's language can change the answer for the host (an entry names a language, and the entries lead to more than one siteaccess or uri part, or no entry applies without a language), the redirect, a page shown this way and the default siteaccess answering for other browsers vary by Accept-Language: they are sent with Vary: Accept-Language and Cache-Control: private, and neither the HTTP cache nor its early exit keeps or serves them. An entry naming a siteaccess that is not in AvailableSiteAccessList is ignored (and logged). Pages kept by the static cache or the HTTP cache before an entry was added are served without the redirect until those caches are cleared. A site matched by the URL (MatchOrder=uri) with the language siteaccess ger: DefaultHostUriMatchMapItems[]=;ger;ger;part A site matched by host and uri, German and English by the browser: HostUriMatchMapItems[]=example.com;de;site_de HostUriMatchMapItems[]=example.com;en;site_en DefaultHostUriMatchMapItems[]=example.com;de;site_de;;de DefaultHostUriMatchMapItems[]=example.com;en;site_en
|
| DefaultHostUriMatchMapItems
|
settings/site.ini
|
(empty)
|
|
| RemoveSiteAccessIfDefaultAccess
|
settings/site.ini
|
disabled
|
Wheter to add siteaccess to the url if current siteaccess is the same as default siteaccess. Changing this setting will require clearing the cache. This setting also works with host_uri matching removing uri part from url if it's default siteacces. In this case, make sure host name without url part goes to same siteaccess in your match order chain. For instance if the default siteaccess is 'en' and you enable this you can access the siteacccess with 'index.php' instead of 'index.php/en/'.
|
| MobileDeviceDetectCookieTimeout
|
settings/site.ini
|
7200
|
Number of seconds a session cookie will last
|
| MobileUserAgentRegexps
|
settings/site.ini
|
AndroidDevice=/android.*mobile/i; AndroidTabletDevice=/android(?!.*mobile)/i; IPhoneDevice=/(iphone|ipod)/i; IPadDevice=/ipad/i; OperaBrowser=/opera mini/i; BlackBerryDevice=/blackberry/i; BlackBerryTabletDevice=/rim tablet os/i; PalmDevice=/(pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|el
|
List of available regular expressions to match against User Agent Key is a User Agent alias which helps to determine the device or mobile OS in the template
|
| MobileUserAgentCodes
|
settings/site.ini
|
1207|3gso|4thp|501i|502i|503i|504i|505i|506i|6310|6590|770s|802s|a wa|acer|acs-|airn|alav|asus|attw|au-m|aur |aus |abac|acoo|aiko|alco|alca|amoi|anex|anny|anyw|aptu|arch|argo|bell|bird|bw-n|bw-u|beck|benq|bilb|blac|c55/|cdm-|chtm|capi|cond|craw|dall|dbte|dc-s|dica|ds-d|ds12|dait|devi|dmob|doco|dopo|
|
List of various codes to match against User String
|
Comments
Add a comment