NoOverride
This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi
, to customize the behavior of the system.
This directive was deprecated in version 4.2 in exchange for SearchNoOverride directive. The purpose and behavior of the two directives are exactly the same.
Provides a comma-separated list of configuration directives that cannot be overriden by either search templates or users. This means that only the settings made in mt-config.cgi
will be used.
By default, the search engine allows most of the configuration directives to be overridden by search templates. This has the side effect
that users could also override those settings by changing values in the query string. In particular, this could be dangerous if you have some
private weblogs—even if you use IncludeBlogs
or ExcludeBlogs
to allow/deny certain weblogs to be searched, users could override that setting to search your private weblog.
Default: SearchMaxResults
Usage
SearchNoOverride SearchMaxResults,IncludeBlogs,ExcludeBlogs