[Alice]

HelpMiscellaneous

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

16x16   above   absolute   absolutely   action   actions   add   Add   Adding   Admin   Alias   alias   all   Allow   allow   always   an   and   another   Apache   apache   Apache2   apache2   application   around   Asked   at   automatically   bad   base   be   besides   bin   bookmarks   both   bottom   brackets   browsers   browsing   bugs   but   by   Cache   caching   can   Centralized   certain   Changes   changes   checkboxes   clean   command   Command   commentary   commonapache2   commonly   Compatibility   conf   config   configuration   contain   Contents   converted   datadir   de   deny   describe   detail   detected   dict   different   direct   directories   display   displayed   document   Document   documents   does   doing   domain   double   due   dump   each   earlier   editor   emoticons   Engine   environments   especially   etc   event   every   exact   example   Exec   Experimental   explain   explanation   fancy   farm   Farm   farms   favicon   features   Features   field   fields   file   files   folder   following   for   form   Frequently   from   Front   Gentoo   get   global   globaledit   handling   head   header   help   Help   Highlighting   home   hopefully   Host   host   hosted   hosting   how   href   htdocs   httpd   https   ico   icon   icons   If   image   images   in   inline   installation   instance   Instructions   intermap   interwiki   into   intranet   intranets   jump   Just   just   key   known   last   lib   like   limited   line   link   links   Linux   little   Load   local   logging   lookup   Ls   macro   macros   Make   makes   map   mappings   maybe   means   mod   modification   Module   module   move   Mozilla   must   my   mywiki   name   Name   namespace   need   needed   Needing   net   new   no   normal   Note   notice   notification   now   of   Of   one   ones   Only   optimize   option   options   or   Order   Other   other   outside   own   page   Page   pagescleaner   Password   path   pathname   pathto   permissions   placeholder   plugin   png   points   Preferences   prefix   prefixes   privileges   Processing   processing   Protected   put   putting   Questions   Recent   recent   redirect   Refresh   rel   relative   remap   Remapping   Remove   removes   replaced   replacement   require   results   rewrite   Rewrite   robots   root   Root   Rule   rules   run   sax   saxutils   scheme   script   Script   search   sections   Securing   Self   Server   server   Serving   settings   setup   several   share   shared   short   shows   simply   single   site   size   so   some   special   Special   specific   spellchecking   static   still   store   stored   stuff   Subtopics   Support   support   sure   tabbed   table   Table   template   templates   test   There   things   this   This   those   thus   to   To   tool   tools   topics   totally   trail   trailing   trails   trees   tricks   type   typical   unused   use   used   useful   User   user   using   usr   value   var   variable   versions   vhosts   via   Virtual   virtual   visited   want   way   when   where   which   whitespace   whole   wikiconfig   with   words   work   yes   You   you   your  

Clear message

Other MoinMoin help topics

Subtopics

Contents

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

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 wikiconfig.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).

Apache tricks

Securing access to a wiki via Apache means

See [MoinMoin]PasswordProtectedEditing

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 ^/?(.*) /file/path/to/moin.cgi/$1  [last,type=application/x-httpd-cgi]

This way you can use short and clean URLs like [WWW] http://LinuxWiki.de/FrontPage.

Note:

Serving the wiki from wiki.domain.com and home page from www.domain.com

Here is a configuration for virtual hosting with special permissions on Gentoo Linux. The following configuration is for Apache2 config files. Just put it all in httpd.conf for Apache 1.

Add this to /etc/apache2/conf/vhosts/vhosts.conf

NameVirtualHost *
<VirtualHost *>
   ServerName www.domain.org
   ServerAlias domain.org
   DocumentRoot /var/www/domain.org/htdocs
</VirtualHost>
 
<VirtualHost *>
   ServerName wiki.domain.org
   Alias /wiki/ "/usr/share/moin/htdocs/"
   Alias /favicon.ico "/var/www/htdocs/favicon.ico"
   ScriptAlias / "/usr/share/moin/mywiki/moin.cgi/"
</VirtualHost>

Add this to /etc/apache2/conf/commonapache2.conf

<Directory /usr/share/moin/htdocs/>
   Order deny,allow
   Allow from all
</Directory>

<Directory /usr/share/moin/domain.org/>
   Order deny,allow
   Allow from all
</Directory>

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.

Centralized settings
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.

Please notice: If you want to redirect a single page to another, just type #REDIRECT and the name of the page to direct to in the first line of your page. See HelpOnProcessingInstructions.

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: