Skip to content
Violet edited this page Nov 2, 2010 · 2 revisions

NoOverride


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 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
  • Categories: Appendix: Configuration Directives
  • Tags: config, deprecated
Clone this wiki locally