> HelpMiscellaneous

The following 270 words could not be found in the dictionary of 7206 words (including 7206 LocalSpellingWords) and are highlighted below:

16x16   2etxt   above   absolute   absolutely   access   action   actions   add   Adding   always   Apache   apache   appear   around   automatically   bad   be   besides   bin   bookmarks   both   brackets   browsers   browsing   bugs   Centralized   certain   cgi   change   changes   check   checkboxes   click   Command   command   commentary   commonly   compatibility   Compatibility   conf   configuration   contain   content   converted   copy   datadir   describe   designed   detail   detected   dict   different   displayed   Document   document   documents   double   dump   each   earlier   easily   editable   emoticons   Enabling   Engine   environments   especially   event   every   exact   Experimental   explain   explanation   explicitely   extensively   fancy   Farm   farm   farms   favicon   features   Features   fields   following   form   Front   get   global   handling   head   higher   Highlighting   hopefully   hosted   how   href   httpd   ico   icon   icons   image   images   inline   installation   instance   intermap   interwiki   into   intranet   intranets   jump   key   known   last   lib   like   limited   line   links   little   Load   logging   lookup   lowest   Ls   macros   makes   map   mappings   maybe   means   modification   module   Module   Moniker   monikers   more   move   must   my   mywiki   named   namespace   needed   Needing   New   new   normal   not   notification   now   ones   optimize   option   options   or   outside   Overall   own   pages   pathname   pathto   persistent   placeholder   png   points   prefix   prefixes   problems   processing   Protected   publically   putting   Py   py   recent   recommended   rel   remap   Remapping   Remove   removes   replaced   replacement   requests   require   results   Rewrite   rewrite   robots   Rule   rules   run   save   sax   saxutils   scheme   sections   Securing   Serving   settings   setup   several   shared   short   shows   simply   site   size   some   somewiki   specific   spellchecking   standalone   static   Statistical   still   store   stored   stuff   Subtopics   Support   support   tabbed   table   templates   tested   Then   things   this   though   thus   tools   topics   totally   trail   trailing   trails   trees   tricks   type   typical   url   used   useful   users   using   usr   value   variable   variables   version   versions   visited   want   way   when   where   whether   whitespace   whole   wikis   words   work   works   xml   You   you   your  

Clear message

1. Other MoinMoin help topics

Subtopics

Contents

  1. Other MoinMoin help topics
    1. Adding an icon to your wiki setup
    2. Enabling a publically editable intermap
    3. Apache tricks
      1. Securing access to a wiki via Apache means
      2. Serving the wiki from a domain root
    4. Special features for wiki farms and intranets
      1. Centralized settings
      2. Remapping URLs
    5. TODO

1.1. Adding an icon to your wiki setup

You maybe want to add some icon to your wiki site, commonly known as favicon.ico. To get those little icons besides bookmarks and with tabbed browsing, add this to your moin_config.py:

html_head = '''
<link rel="icon" href="/images/icon.png" type="image/png">
<!-- ... more header stuff ... -->
'''

The image size must be 16x16 and simply putting it as /favicon.ico (into your DocumentRoot) does not work with all browsers (e.g. does not work with Mozilla versions 1.0 - 1.3).

1.2. Enabling a publically editable intermap

If you want your users to easily add new InterWiki monikers, change your moin_config.py to contain an entry like this:

shared_intermap = ['/usr/local/moin/mywiki/data/text/intermap_2etxt']

Then create a page named intermap.txt (see [LinuxWiki]intermap.txt for an example) with the following content:

#format text/plain
## Keep the first line and add text only after two hash marks (##)
##
## This is a publically editable extension of standard InterWiki
## definitions. Any addition here is immediately reflected in 
## the wiki.
##
## To enable this in your own wiki, either add the page file of
## this page to config.shared_intermap (can be a list of files
## since version 1.1), or add an appropriate symbolic link.
##
## The format of an entry is interwiki moniker followed by the URL
## $PAGE can be used to embed the URI following the moniker in
## the resultant URL

MyNewMoniker http://example.com/somewiki/$PAGE.html

Then check whether your new monikers appear on the InterWiki list.

1.3. Apache tricks

1.3.1. Securing access to a wiki via Apache means

See [MoinMoin]PasswordProtectedEditing

1.3.2. Serving the wiki from a domain root
httpd.conf modification for MoinMoin installation at "/":
# global section:
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
# virtualhost section:
RewriteEngine on
RewriteRule ^/wiki/       -                      [last]
RewriteRule ^/robots.txt  -                      [last]
RewriteRule ^/favicon.ico -                      [last]
RewriteRule ^/?(.*) /pathto/cgi-bin/moin.cgi/$1  [last,type=application/x-httpd-cgi]
This way you can use short and clean URLs like http://LinuxWiki.de/FrontPage.

1.4. 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.4.1. Centralized settings
1.4.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.5. 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: