Skip to content

config searchnooverride

Violet edited this page Nov 2, 2010 · 2 revisions

SearchNoOverride

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 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

This directive was introduced in version 4.2. This directive deprecates NoOverride directive. The purpose and the behavior of the two directives are exactly the same.

  • Categories: Appendix: Configuration Directives
  • Tags: config, New in MT4.2, search
Clone this wiki locally