ChinesePython Wiki   HelpMiscellaneous 用户设定
 
站内导航 Diffs Info Edit RAW Print
 ChinesePython Wiki   中蟒大杂院   最近修改   标题目录   看发表区   搜寻/发表   站内导航   求助 

1 Other MoinMoin help topics

Subtopics

Contents

  1. Other MoinMoin help topics
    1. Special features for wiki farms and intranets
      1. Centralized settings
      2. Remapping URLs
    2. TODO

1.1 Special features for wiki farms and intranets

The following shows how certain features can help you to optimize your configuration when you run several wikis on one host, or when you use MoinMoin in intranet environments.

1.1.1 Centralized settings

1.1.2 Remapping URLs

The configuration variable "url_mappings" can be used to remap absolute URLs to relative ones, or change certain URL prefixes to totally different ones. This is especially useful in intranets, when whole trees of documents hosted outside of the wiki move around.

"url_mappings" is a lookup table in the form of a dict, the key is the prefix to be replaced, the value is the replacement. A typical example is url_mappings = {'http://my.server.net/': '/'}, which removes the scheme from local URLs, and thus makes links to your own server work for both http and https.

1.2 TODO

<!> TODO: explain the following things in detail, and add more detail to the above sections

Needing more explanation:

Admin stuff:

Command-line tools:

Compatibility:


PythonPowered
搜寻页面 或尝试以下动作: 附加档案, 删除页面, 本页连结图