redirects.cfg
redirects.cfg
is used to configure global default collection redirects per hostname (e.g. https://search.company.com/). This file specifies a default collection/profile redirect that will be applied when a specific hostname is accessed.
By default all requests to the root page that do not match a specified domain redirect to the search package listing page.
This configuration can only be modified by a system administrator. |
Format
A text file, in the form:
redirects.cfg
domain=redirect
where:
-
domain
: is the domain of the request e.g.example.com
-
redirect
: is the URL path and question to redirect to e.g./s/search.html?collection=example
Caveats:
-
Each
domain
can only be specified once. -
The
redirect
is relative and must not contain ascheme
,host
orport
.