changeset 288:3a26643a903b

make interwiki, install-docs, underlay imported from: moin--main--1.5--patch-292
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 04 Dec 2005 20:15:02 +0000
parents 3958ec0fec55
children 68e1e5e19540
files MoinMoin/request.py docs/INSTALL.html docs/UPDATE.html wiki/underlay.tar.bz2
diffstat 4 files changed, 125 insertions(+), 180 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request.py	Sun Dec 04 18:31:35 2005 +0000
+++ b/MoinMoin/request.py	Sun Dec 04 20:15:02 2005 +0000
@@ -1047,7 +1047,7 @@
                     for t in self.clock.dump():
                         self.write('<li>%s</li>\n' % t)
                     self.write('</ul>\n')
-                self.write('<!-- auth_method == %s -->' % repr(self.user.auth_method))
+                #self.write('<!-- auth_method == %s -->' % repr(self.user.auth_method))
                 self.write('</body>\n</html>\n\n')
             
         except MoinMoinNoFooter:
--- a/docs/INSTALL.html	Sun Dec 04 18:31:35 2005 +0000
+++ b/docs/INSTALL.html	Sun Dec 04 20:15:02 2005 +0000
@@ -31,7 +31,7 @@
 <li>MoinMoin/InstallDocs</li>
 </ul>
 <div lang="en" id="content" dir="ltr">
-<span id="top" class="anchor"></span><span id="line-11" class="anchor"></span><span id="line-12" class="anchor"></span><p>This HTML page contains the basic install docs that can be found on <a class="www" href="http://moinmaster.wikiwikiweb.de/MoinMoin/InstallDocs">http://moinmaster.wikiwikiweb.de/MoinMoin/InstallDocs</a>. It contains all necessary information to get your wiki up and running, even without being online. If you have a permanent internet connection, you might want to browse the docs on the Help<tt></tt>On<tt></tt>Installing page, which might contain more up-to-date information. <span id="line-13" class="anchor"></span></p>
+<span id="top" class="anchor"></span><span id="line-11" class="anchor"></span><span id="line-12" class="anchor"></span><p>This HTML page contains the basic install docs that can be found on <a class="http" href="http://moinmaster.wikiwikiweb.de/MoinMoin/InstallDocs">http://moinmaster.wikiwikiweb.de/MoinMoin/InstallDocs</a>. It contains all necessary information to get your wiki up and running, even without being online. If you have a permanent internet connection, you might want to browse the docs on the Help<tt></tt>On<tt></tt>Installing page, which might contain more up-to-date information. <span id="line-13" class="anchor"></span></p>
 <span id="line-14" class="anchor"></span><p>After following the procedures on this page, you should have a working wiki and can browse the rest of the online docs there. <span id="line-15" class="anchor"></span></p>
 <span id="line-16" class="anchor"></span>
 <h1 id="head-378d73a512870e1afed036c887489ab98ba3c56a">How to install your own MoinMoin Wiki</h1>
@@ -98,7 +98,7 @@
 <li><a href="#head-87a60f1d02c36fb1804b442815dba49cbc8adfe7">What has been installed</a></li>
 </ol>
  <span id="line-14" class="anchor"></span></p>
-<span id="line-15" class="anchor"></span><p>Before you can integrate Moin<tt></tt>Moin into your web environment, you have to install the <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> source code and data files using the standard Python <em>distutils</em> mechanism (<tt>setup.py</tt>). This page explains the steps you usually need to take to do this. For more details on the <em>distutils</em> installation process, consult the <a class="external" href="http://www.python.org/doc/current/inst/inst.html">Installing Python Modules</a> document in your Python documentation set. <span id="line-16" class="anchor"></span></p>
+<span id="line-15" class="anchor"></span><p>Before you can integrate Moin<tt></tt>Moin into your web environment, you have to install the <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> source code and data files using the standard Python <em>distutils</em> mechanism (<tt>setup.py</tt>). This page explains the steps you usually need to take to do this. For more details on the <em>distutils</em> installation process, consult the <a class="www" href="http://www.python.org/doc/current/inst/inst.html">Installing Python Modules</a> document in your Python documentation set. <span id="line-16" class="anchor"></span></p>
 <span id="line-17" class="anchor"></span><p>The installation is similar on Windows and Linux (and other POSIX-type systems; for simplicity, we just say "Linux" in the docs). <span id="line-18" class="anchor"></span></p>
 <span id="line-19" class="anchor"></span><ul>
 <li style="list-style-type:none"><p><img src="wiki/htdocs/modern/img/idea.png" alt="(!)" height="15" width="15"> We use text such as <strong><tt>&gt;&nbsp;command&nbsp;arguments</tt></strong> to show what you have to type at the command prompt (also known as shell, terminal, etc.). In our examples "<tt>&gt;&nbsp;</tt>" is the prompt, you don't have to type it in, you have to type what comes after it. Lines that do not begin with "<tt>&gt;&nbsp;</tt>" are the answers to the commands you have typed. Read them carefully. <span id="line-20" class="anchor"></span></p>
@@ -109,7 +109,7 @@
 
 <span id="line-22" class="anchor"></span><span id="line-23" class="anchor"></span><p>Moin<tt></tt>Moin needs Python to run, so the first step is to check if an usable version of Python is installed and correctly set-up. If this is not the case, you will have to fix that before you can proceed. <span id="line-24" class="anchor"></span></p>
 <span id="line-25" class="anchor"></span><p>The <tt>CHANGES</tt> file in the Moin<tt></tt>Moin archive mentions what versions are supported. Python 2.3 is the minimum requirement for Moin<tt></tt>Moin 1.5, but we suggest you use the latest Python release version. <span id="line-26" class="anchor"></span></p>
-<span id="line-27" class="anchor"></span><p>You can download Python at <a class="external" href="http://www.python.org/download/">http://www.python.org/download/</a>. <span id="line-28" class="anchor"></span></p>
+<span id="line-27" class="anchor"></span><p>You can download Python at <a class="www" href="http://www.python.org/download/">http://www.python.org/download/</a>. <span id="line-28" class="anchor"></span></p>
 <span id="line-29" class="anchor"></span><p>If you are pretty sure an acceptable version of Python is installed but the commands below do not work, this may be because your Python files are not in the <em>search path</em>. Correctly setting the search path is outside the scope of this document; please ask for help on your favorite Python, Linux, or Windows discussion board. <span id="line-30" class="anchor"></span></p>
 <span id="line-31" class="anchor"></span><p>If you have shell access, checking if Python is working is very simple. Just type the following command, and look at the result: <span id="line-32" class="anchor"></span>
 <span id="line-33" class="anchor"></span></p>
@@ -137,14 +137,14 @@
 <span id="line-56" class="anchor"></span>
 <h1 id="head-119b1acf8110bb618e4f366c3d1f8a35ad625f75">Download MoinMoin</h1>
 
-<span id="line-57" class="anchor"></span><span id="line-58" class="anchor"></span><p>To download the distribution archive, go to the <a class="external" href="http://sourceforge.net/project/showfiles.php?group_id=8482">download area</a> and fetch the latest archive. <span id="line-59" class="anchor"></span></p>
+<span id="line-57" class="anchor"></span><span id="line-58" class="anchor"></span><p>To download the distribution archive, go to the <a class="www" href="http://sourceforge.net/project/showfiles.php?group_id=8482">download area</a> and fetch the latest archive. <span id="line-59" class="anchor"></span></p>
 <span id="line-60" class="anchor"></span><p>The next step is to unpack the distribution archive (which you have done already if you are reading this text from your hard drive). If you read this on the web, the distribution comes in a versioned <tt>.tar.gz</tt> archive, which you can unpack as shown below. <span id="line-61" class="anchor"></span></p>
 <span id="line-62" class="anchor"></span><ul>
 <li><p>On Windows <span id="line-63" class="anchor"></span></p>
 <ul>
 <li><p>You can use recent versions of programs like Win<tt></tt>Zip, Win<tt></tt>Rar, and Win<tt></tt>Ace, which handle .tar.gz kind of archives. <span id="line-64" class="anchor"></span></p>
 </li>
-<li><p>At the command prompt, you can use <a class="external" href="http://gnuwin32.sourceforge.net/packages/gzip.htm">GNU gzip</a> and <a class="external" href="http://gnuwin32.sourceforge.net/packages/tar.htm">GNU tar</a> for Windows. <span id="line-65" class="anchor"></span></p>
+<li><p>At the command prompt, you can use <a class="www" href="http://gnuwin32.sourceforge.net/packages/gzip.htm">GNU gzip</a> and <a class="www" href="http://gnuwin32.sourceforge.net/packages/tar.htm">GNU tar</a> for Windows. <span id="line-65" class="anchor"></span></p>
 </li>
 </ul>
 </li>
@@ -646,143 +646,80 @@
 <span id="line-193" class="anchor"></span></pre>
 <span id="line-194" class="anchor"></span><span id="line-195" class="anchor"></span><p>Of course, you need to adapt the paths to your situation. The first two lines should help locate the Moin<tt></tt>Moin modules, the last one should help locate the <tt>wikiconfig.py</tt> file. <span id="line-196" class="anchor"></span></p>
 <span id="line-197" class="anchor"></span><p><strong>Note:</strong> You might also need to edit the first line of the file, to point to the correct version of Python. The default should be fine, but a line like "<tt>#!&nbsp;/usr/bin/python2.3</tt>" might help you if the default does not work. <span id="line-198" class="anchor"></span></p>
-<span id="line-199" class="anchor"></span><p><strong>Note 2:</strong> In this file there is a line reading <tt>request&nbsp;=&nbsp;RequestCGI()</tt>. If you have a complex mod_rewrite case, you might want to add <tt>properties&nbsp;=&nbsp;{'script_name':&nbsp;'/mywiki'}&nbsp;</tt> in the parenthesis. This will let <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> generate URLs that start with <tt>/mywiki</tt> and not the path that the webserver passed to <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a>. <span id="line-200" class="anchor"></span></p>
+<span id="line-199" class="anchor"></span><p><strong>Note 2:</strong> In this file there is a line reading <tt>request&nbsp;=&nbsp;RequestCGI()</tt>. If you have a complex mod_rewrite case, you might want to add <tt>properties&nbsp;=&nbsp;{'script_name':&nbsp;'/mywiki'}&nbsp;</tt> in the parenthesis. This will let <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> generate URLs that start with <tt>/mywiki</tt> and not the path that the webserver passed to <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a>: <span id="line-200" class="anchor"></span></p>
 <span id="line-201" class="anchor"></span>
+<span id="line-202" class="anchor"></span><pre>
+def handle_request(req, env, form):
+<span id="line-203" class="anchor"></span>    request = RequestCGI(req, env, form, properties = {'script_name': '/mywiki'})
+<span id="line-204" class="anchor"></span>    request.run()
+<span id="line-205" class="anchor"></span></pre>
+<span id="line-206" class="anchor"></span><span id="line-207" class="anchor"></span>
 <h3 id="head-ffa39b171f9d130bb07a8481a5fff1a5a9065e86-2">Configure MoinMoin</h3>
 
-<span id="line-202" class="anchor"></span><p>Finally, check that the <tt>wikiconfig.py</tt> file in the instance directory contains correct paths for the htdocs directory, the instance data directory, and the instance underlay directory. You can use relative paths for the directories, but note that they are relative to the CGI script, not the configuration file! You can also use absolute paths, and save yourself some headaches. <span id="line-203" class="anchor"></span></p>
-<span id="line-204" class="anchor"></span>
-<span id="line-205" class="anchor"></span><pre>
+<span id="line-208" class="anchor"></span><p>Finally, check that the <tt>wikiconfig.py</tt> file in the instance directory contains correct paths for the htdocs directory, the instance data directory, and the instance underlay directory. You can use relative paths for the directories, but note that they are relative to the CGI script, not the configuration file! You can also use absolute paths, and save yourself some headaches. <span id="line-209" class="anchor"></span></p>
+<span id="line-210" class="anchor"></span>
+<span id="line-211" class="anchor"></span><pre>
     data_dir = '/home/mm/share/moin/mywiki/data/'
-<span id="line-206" class="anchor"></span>    data_underlay_dir = '/home/mm/share/moin/mywiki/underlay/'
-<span id="line-207" class="anchor"></span>    url_prefix = '/~mm/wiki'
-<span id="line-208" class="anchor"></span></pre>
-<span id="line-209" class="anchor"></span><span id="line-210" class="anchor"></span>
+<span id="line-212" class="anchor"></span>    data_underlay_dir = '/home/mm/share/moin/mywiki/underlay/'
+<span id="line-213" class="anchor"></span>    url_prefix = '/~mm/wiki'
+<span id="line-214" class="anchor"></span></pre>
+<span id="line-215" class="anchor"></span><span id="line-216" class="anchor"></span>
 <h3 id="head-0f7a0fb8dccf6a13b6042fa17e0d7cda751fe3f3-2">Test the wiki</h3>
 
-<span id="line-211" class="anchor"></span><p>Everything should work fine, now. It is time to perform the following steps: <span id="line-212" class="anchor"></span></p>
-<span id="line-213" class="anchor"></span><ul>
-<li><p>Run the <em>Moin<tt></tt>Moin CGI Diagnosis</em>: <tt>&gt;&nbsp;lynx&nbsp;-dump&nbsp;http://localhost/~mm/cgi-bin/moin.cgi?action=test</tt> <span id="line-214" class="anchor"></span></p>
-</li>
-<li><p>If it worked, try to access your new-born wiki with the URL "<tt>http://127.0.0.1/~mm/cgi-bin/moin.cgi</tt>". You should see the Front<tt></tt>Page. <span id="line-215" class="anchor"></span></p>
+<span id="line-217" class="anchor"></span><p>Everything should work fine, now. It is time to perform the following steps: <span id="line-218" class="anchor"></span></p>
+<span id="line-219" class="anchor"></span><ul>
+<li><p>Run the <em>Moin<tt></tt>Moin CGI Diagnosis</em>: <tt>&gt;&nbsp;lynx&nbsp;-dump&nbsp;http://localhost/~mm/cgi-bin/moin.cgi?action=test</tt> <span id="line-220" class="anchor"></span></p>
 </li>
-<li><p>If this is the case, try to edit it and save your changes. <span id="line-216" class="anchor"></span></p>
-</li>
-<li><p>If that works, see if your edit is reflected on the Recent<tt></tt>Changes page. <span id="line-217" class="anchor"></span></p>
+<li><p>If it worked, try to access your new-born wiki with the URL "<tt>http://127.0.0.1/~mm/cgi-bin/moin.cgi</tt>". You should see the Front<tt></tt>Page. <span id="line-221" class="anchor"></span></p>
 </li>
-<li><p>If you see them, congratulations, you have a new wiki! <img src="wiki/htdocs/modern/img/smile.png" alt=":)" height="15" width="15"> <span id="line-218" class="anchor"></span></p>
-<span id="line-219" class="anchor"></span></li>
+<li><p>If this is the case, try to edit it and save your changes. <span id="line-222" class="anchor"></span></p>
+</li>
+<li><p>If that works, see if your edit is reflected on the Recent<tt></tt>Changes page. <span id="line-223" class="anchor"></span></p>
+</li>
+<li><p>If you see them, congratulations, you have a new wiki! <img src="wiki/htdocs/modern/img/smile.png" alt=":)" height="15" width="15"> <span id="line-224" class="anchor"></span></p>
+<span id="line-225" class="anchor"></span></li>
 </ul>
-<p>If something goes wrong, have a look at Troubleshooting, below. <span id="line-220" class="anchor"></span></p>
-<span id="line-221" class="anchor"></span>
+<p>If something goes wrong, have a look at Troubleshooting, below. <span id="line-226" class="anchor"></span></p>
+<span id="line-227" class="anchor"></span>
 <h2 id="head-3f286acb05ce4ad64240f788c78a8f915f59e34e">Troubleshooting</h2>
 
-<span id="line-222" class="anchor"></span><p>See also <a href="http://moinmaster.wikiwikiweb.de/HelpOnInstalling/TroubleShooting">../TroubleShooting</a> for generic stuff. <span id="line-223" class="anchor"></span></p>
-<span id="line-224" class="anchor"></span><p>The first thing to do when your wiki does not work as expected is to issue the command "<tt>tail&nbsp;/var/log/httpd/error_log</tt>" to display the most recent errors. Usually, you will get a hint on what went wrong, like missing file system permissions. <span id="line-225" class="anchor"></span></p>
-<span id="line-226" class="anchor"></span>
+<span id="line-228" class="anchor"></span><p>See also <a href="http://moinmaster.wikiwikiweb.de/HelpOnInstalling/TroubleShooting">../TroubleShooting</a> for generic stuff. <span id="line-229" class="anchor"></span></p>
+<span id="line-230" class="anchor"></span><p>The first thing to do when your wiki does not work as expected is to issue the command "<tt>tail&nbsp;/var/log/httpd/error_log</tt>" to display the most recent errors. Usually, you will get a hint on what went wrong, like missing file system permissions. <span id="line-231" class="anchor"></span></p>
+<span id="line-232" class="anchor"></span>
 <h3 id="head-b8c0d1c1aba9cd39d0d15f86ea33025f7f25d48d">Adding permission to serve the htdocs directory</h3>
 
-<span id="line-227" class="anchor"></span><p>In some (sane) Linux distributions (like SuSE 9.0) serving directories other than the document-root "<tt>/srv/www/htdocs</tt>" with Apache is switched off by default for security reasons in "<tt>/etc/httpd/httpd.conf</tt>" (or for Apache2 "<tt>/etc/apache2/httpd.conf</tt>"): <span id="line-228" class="anchor"></span></p>
-<span id="line-229" class="anchor"></span>
-<span id="line-230" class="anchor"></span><pre>
+<span id="line-233" class="anchor"></span><p>In some (sane) Linux distributions (like SuSE 9.0) serving directories other than the document-root "<tt>/srv/www/htdocs</tt>" with Apache is switched off by default for security reasons in "<tt>/etc/httpd/httpd.conf</tt>" (or for Apache2 "<tt>/etc/apache2/httpd.conf</tt>"): <span id="line-234" class="anchor"></span></p>
+<span id="line-235" class="anchor"></span>
+<span id="line-236" class="anchor"></span><pre>
 # forbid access to the entire filesystem by default
-<span id="line-231" class="anchor"></span>&lt;Directory /&gt;
-<span id="line-232" class="anchor"></span>  Options None
-<span id="line-233" class="anchor"></span>  AllowOverride None
-<span id="line-234" class="anchor"></span>  Order deny,allow
-<span id="line-235" class="anchor"></span>  Deny from all
-<span id="line-236" class="anchor"></span>&lt;/Directory&gt;
-<span id="line-237" class="anchor"></span></pre>
-<span id="line-238" class="anchor"></span><span id="line-239" class="anchor"></span><p>To allow Apache to serve directories outside of the document root you have to add these lines to "<tt>/etc/httpd/httpd.conf</tt>" (in SuSE it is recommended to create a new "<tt>http.conf.local</tt>" and include this file in "<tt>/etc/sysconfig/apache2</tt>"): <span id="line-240" class="anchor"></span></p>
-<span id="line-241" class="anchor"></span>
-<span id="line-242" class="anchor"></span><pre>
+<span id="line-237" class="anchor"></span>&lt;Directory /&gt;
+<span id="line-238" class="anchor"></span>  Options None
+<span id="line-239" class="anchor"></span>  AllowOverride None
+<span id="line-240" class="anchor"></span>  Order deny,allow
+<span id="line-241" class="anchor"></span>  Deny from all
+<span id="line-242" class="anchor"></span>&lt;/Directory&gt;
+<span id="line-243" class="anchor"></span></pre>
+<span id="line-244" class="anchor"></span><span id="line-245" class="anchor"></span><p>To allow Apache to serve directories outside of the document root you have to add these lines to "<tt>/etc/httpd/httpd.conf</tt>" (in SuSE it is recommended to create a new "<tt>http.conf.local</tt>" and include this file in "<tt>/etc/sysconfig/apache2</tt>"): <span id="line-246" class="anchor"></span></p>
+<span id="line-247" class="anchor"></span>
+<span id="line-248" class="anchor"></span><pre>
 Alias /wiki/ "/usr/share/moin/htdocs/"
-<span id="line-243" class="anchor"></span>&lt;Directory "/usr/share/moin/htdocs/"&gt;
-<span id="line-244" class="anchor"></span>   Order deny,allow
-<span id="line-245" class="anchor"></span>   Allow from all
-<span id="line-246" class="anchor"></span>&lt;/Directory&gt;
-<span id="line-247" class="anchor"></span>
-<span id="line-248" class="anchor"></span>ScriptAlias /mywiki "/usr/share/moin/mywiki/cgi-bin/moin.cgi"
-<span id="line-249" class="anchor"></span>&lt;Directory "/usr/share/moin/mywiki/cgi-bin"&gt;
+<span id="line-249" class="anchor"></span>&lt;Directory "/usr/share/moin/htdocs/"&gt;
 <span id="line-250" class="anchor"></span>   Order deny,allow
 <span id="line-251" class="anchor"></span>   Allow from all
 <span id="line-252" class="anchor"></span>&lt;/Directory&gt;
-<span id="line-253" class="anchor"></span></pre>
-<span id="line-254" class="anchor"></span><span id="line-255" class="anchor"></span><p>Of course, you need to adapt the paths to your particular situation. <span id="line-256" class="anchor"></span></p>
+<span id="line-253" class="anchor"></span>
+<span id="line-254" class="anchor"></span>ScriptAlias /mywiki "/usr/share/moin/mywiki/cgi-bin/moin.cgi"
+<span id="line-255" class="anchor"></span>&lt;Directory "/usr/share/moin/mywiki/cgi-bin"&gt;
+<span id="line-256" class="anchor"></span>   Order deny,allow
+<span id="line-257" class="anchor"></span>   Allow from all
+<span id="line-258" class="anchor"></span>&lt;/Directory&gt;
+<span id="line-259" class="anchor"></span></pre>
+<span id="line-260" class="anchor"></span><span id="line-261" class="anchor"></span><p>Of course, you need to adapt the paths to your particular situation. <span id="line-262" class="anchor"></span></p>
 <span id="bottom_Include_HelpOnInstalling/ApacheOnLinux" class="anchor"></span>
 </div>
  <span id="line-56" class="anchor"></span></p>
 <hr class="hr2">
-<p> <span id="line-57" class="anchor"></span><span id="fastcgi-install" class="anchor"></span> <span id="line-58" class="anchor"></span>
-<h1>FastCGI Setup using Apache</h1>
-
-<div lang="en" id="Include_HelpOnInstalling/ApacheWithFastCgi" dir="ltr">
-<span id="top_Include_HelpOnInstalling/ApacheWithFastCgi" class="anchor"></span><span id="line-10" class="anchor"></span><span id="line-11" class="anchor"></span>
-<h2 id="head-6839f37b445b94c0c179f023498969fb53e3d925">Using MoinMoin with apache + mod_fastcgi</h2>
-
-<span id="line-12" class="anchor"></span><span id="line-13" class="anchor"></span><p><a class="external" href="http://fastcgi.com">FastCGI</a> is a method which enables apache to communicate <span id="line-14" class="anchor"></span>with long-running scripts. This has the advantage that the script is only <span id="line-15" class="anchor"></span>started and initialized one time, and that data could be cached in memory <span id="line-16" class="anchor"></span>from request to request, enhancing the performance of the CGI application. <span id="line-17" class="anchor"></span></p>
-<span id="line-18" class="anchor"></span>
-<h3 id="head-a37ae17ad8fb640605fa790fcef7b8cbf0b29353">Deploying MoinMoin with apache + mod_fastcgi</h3>
-
-<span id="line-19" class="anchor"></span><span id="line-20" class="anchor"></span><p>To deploy <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> using FastCGI you need an apache with mod_fastcgi. Please <span id="line-21" class="anchor"></span>refer to the documentation of mod_fastcgi how to build it. <span id="line-22" class="anchor"></span></p>
-<span id="line-23" class="anchor"></span><p>Follow the basic apache installation for your operating system as described <span id="line-24" class="anchor"></span>in other parts of the <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> installation documentation. This is <a href="http://moinmaster.wikiwikiweb.de/HelpOnInstalling/ApacheOnLinux">HelpOnInstalling/ApacheOnLinux</a> in most cases. In places where <span id="line-25" class="anchor"></span>the documentation refers to <tt>moin.cgi</tt> you use <tt>moin.fcg</tt> instead. Be sure <span id="line-26" class="anchor"></span>that <strong>.fcg</strong> is handled by the FastCGI module <span id="line-27" class="anchor"></span>(<tt>AddHandler&nbsp;fastcgi-script&nbsp;.fcg</tt> in your apache config). <span id="line-28" class="anchor"></span></p>
-<span id="line-29" class="anchor"></span><p>Normally apache will start CGI scripts with its own user and group, or <span id="line-30" class="anchor"></span>with the user and group of the VirtualHost if you are using the suexec <span id="line-31" class="anchor"></span>wrapper. To enable this with FastCGI you need to use <tt>FastCgiWrapper&nbsp;On</tt> <span id="line-32" class="anchor"></span>in your apache config (see FastCGI Documentation). <span id="line-33" class="anchor"></span></p>
-<span id="line-34" class="anchor"></span><p>Be sure to restart your apache after you changed py files (i.e. the config) <span id="line-35" class="anchor"></span>for a running FastCGI server, or you won't see any changes! <span id="line-36" class="anchor"></span></p>
-<span id="line-37" class="anchor"></span><span id="line-38" class="anchor"></span>
-<h3 id="head-cd07429ac863a0a4bf393f5936fbccbffe17e9b4">Running as an external application and/or on Windows</h3>
-
-<span id="line-39" class="anchor"></span><span id="line-40" class="anchor"></span><p><img src="wiki/htdocs/modern/img/alert.png" alt="/!\" height="15" width="15"> Experimental. <span id="line-41" class="anchor"></span></p>
-<span id="line-42" class="anchor"></span><p><a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> can be run as an external application that answers FastCGI request via a local TCP/IP socket. This works on Windows as well. All you need to do (after having installed <tt>mod_fastcgi</tt> and a working <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> instance) is this: <span id="line-43" class="anchor"></span></p>
-<span id="line-44" class="anchor"></span><ol type="1">
-<li><p>Select a port number for the internal communication. It should be larger than 1023. For this example, we chose 8888 (just for fun). <span id="line-45" class="anchor"></span></p>
-<span id="line-46" class="anchor"></span></li>
-<li class="gap"><p>Add the following lines to your httpd.conf:
-<span id="line-47" class="anchor"></span></p>
-<pre>
-Alias /moin.fcg "/your/path/to/moin.fcg"
-<span id="line-48" class="anchor"></span>FastCgiExternalServer "/your/path/to/moin.fcg" -host localhost:8888
-<span id="line-49" class="anchor"></span></pre>
-<span id="line-50" class="anchor"></span><span id="line-51" class="anchor"></span></li>
-<li class="gap"><p>Edit <tt>moin.fcg</tt>. Replace
-<span id="line-52" class="anchor"></span></p>
-<pre>
-fcg = thfcgi.THFCGI(handle_request)
-<span id="line-53" class="anchor"></span></pre>
-<p> with 
-<span id="line-54" class="anchor"></span></p>
-<pre>
-fcg = thfcgi.THFCGI(handle_request, 0, 8888)
-<span id="line-55" class="anchor"></span></pre>
-<span id="line-56" class="anchor"></span><span id="line-57" class="anchor"></span></li>
-<li class="gap"><p>Start the file <tt>moin.fcg</tt> manually like a Python script:
-<span id="line-58" class="anchor"></span></p>
-<pre>
-python moin.fcg
-<span id="line-59" class="anchor"></span></pre>
-<span id="line-60" class="anchor"></span><span id="line-61" class="anchor"></span></li>
-<li class="gap"><p>Start Apache. <span id="line-62" class="anchor"></span></p>
-<span id="line-63" class="anchor"></span></li>
-<li class="gap"><p>Enjoy <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> running with FastCGI support! <span id="line-64" class="anchor"></span></p>
-<span id="line-65" class="anchor"></span></li>
-</ol>
-
-<h3 id="head-4f0ae2079d5166e93d946467cf44f193f0c8e571">Add a safe fallback</h3>
-
-<span id="line-66" class="anchor"></span><span id="line-67" class="anchor"></span><p>Install and test <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> according to <a href="http://moinmaster.wikiwikiweb.de/HelpOnInstalling/ApacheOnLinux">HelpOnInstalling/ApacheOnLinux</a>. Then make and test the changes to run mod_fastcgi. If you are satisfied, you can add the following block to your apache config: <span id="line-68" class="anchor"></span>
-<span id="line-69" class="anchor"></span></p>
-<pre>
-&lt;IfModule !mod_fastcgi.c&gt;
-<span id="line-70" class="anchor"></span>    ScriptAlias /mywiki "/your/path/to/moin.cgi"
-<span id="line-71" class="anchor"></span>&lt;/IfModule&gt;
-<span id="line-72" class="anchor"></span>&lt;IfModule mod_fastcgi.c&gt;
-<span id="line-73" class="anchor"></span>    AddHandler fastcgi-script .fcg
-<span id="line-74" class="anchor"></span>    ScriptAlias /mywiki "/your/path/to/moin.fcg"
-<span id="line-75" class="anchor"></span>&lt;/IfModule&gt;
-<span id="line-76" class="anchor"></span></pre>
-<span id="line-77" class="anchor"></span><p>Now Apache will use mod_fastcgi if available and otherwise use the slow cgi script. <span id="line-78" class="anchor"></span></p>
-<span id="bottom_Include_HelpOnInstalling/ApacheWithFastCgi" class="anchor"></span>
-</div>
- <span id="line-59" class="anchor"></span></p>
+<p> <span id="line-57" class="anchor"></span><span id="fastcgi-install" class="anchor"></span> <span id="line-58" class="anchor"></span> <span id="line-59" class="anchor"></span></p>
 <hr class="hr2">
 <p> <span id="line-60" class="anchor"></span><span id="modpy-install" class="anchor"></span> <span id="line-61" class="anchor"></span>
 <h1>mod_python Setup using Apache</h1>
@@ -808,9 +745,9 @@
 <span id="line-13" class="anchor"></span>
 <h1 id="head-4e6235e8e3535359b4aa9df9722961dfd62a685a">Why Use mod_python</h1>
 
-<span id="line-14" class="anchor"></span><span id="line-15" class="anchor"></span><p><a class="external" href="http://modpython.org/">mod_python</a> embeds the python interpreter into <span id="line-16" class="anchor"></span>the apache server. This saves initialization time and the need of <span id="line-17" class="anchor"></span>forking cgi scripts. It doesn't have the ability to run as different <span id="line-18" class="anchor"></span>users. It will always run as the main apache user and group. Be sure <span id="line-19" class="anchor"></span>that your wiki data files are accessible and writable by your apache <span id="line-20" class="anchor"></span>server. <span id="line-21" class="anchor"></span></p>
+<span id="line-14" class="anchor"></span><span id="line-15" class="anchor"></span><p><a class="www" href="http://modpython.org/">mod_python</a> embeds the python interpreter into <span id="line-16" class="anchor"></span>the apache server. This saves initialization time and the need of <span id="line-17" class="anchor"></span>forking cgi scripts. It doesn't have the ability to run as different <span id="line-18" class="anchor"></span>users. It will always run as the main apache user and group. Be sure <span id="line-19" class="anchor"></span>that your wiki data files are accessible and writable by your apache <span id="line-20" class="anchor"></span>server. <span id="line-21" class="anchor"></span></p>
 <span id="line-22" class="anchor"></span><p><img src="wiki/htdocs/modern/img/attention.png" alt="&lt;!&gt;" height="15" width="15"> The basic configuration is suitable for mod_python 3.1.3 and later. If you use older version, see the section "Older mod_python versions" <span id="line-23" class="anchor"></span></p>
-<span id="line-24" class="anchor"></span><p><img src="wiki/htdocs/modern/img/attention.png" alt="&lt;!&gt;" height="15" width="15"> mod_python will cause your apache processes to increase their <span id="line-25" class="anchor"></span>memory requirements considerably - especially as apache runs many <span id="line-26" class="anchor"></span>separate processes which will each need to have their own copy of the <span id="line-27" class="anchor"></span>python code and data in the process memory space.  You may find that <span id="line-28" class="anchor"></span>FastCGI, as detailed in <a href="http://moinmaster.wikiwikiweb.de/HelpOnInstalling/ApacheWithFastCgi">HelpOnInstalling/ApacheWithFastCgi</a> is rather <span id="line-29" class="anchor"></span>more efficient in this respect. <span id="line-30" class="anchor"></span></p>
+<span id="line-24" class="anchor"></span><p><img src="wiki/htdocs/modern/img/attention.png" alt="&lt;!&gt;" height="15" width="15"> mod_python will cause your apache processes to increase their <span id="line-25" class="anchor"></span>memory requirements considerably - especially as apache runs many <span id="line-26" class="anchor"></span>separate processes which will each need to have their own copy of the <span id="line-27" class="anchor"></span>python code and data in the process memory space.  You may find that <span id="line-28" class="anchor"></span>FastCGI, as detailed in <a class="nonexistent" href="http://moinmaster.wikiwikiweb.de/HelpOnInstalling/ApacheWithFastCgi">HelpOnInstalling/ApacheWithFastCgi</a> is rather <span id="line-29" class="anchor"></span>more efficient in this respect. <span id="line-30" class="anchor"></span></p>
 <span id="line-31" class="anchor"></span>
 <h1 id="head-52f515a2448d32357136b23a188dd227330baeb2">Basic configuring</h1>
 
@@ -830,7 +767,7 @@
 <span id="line-41" class="anchor"></span>
 <h2 id="head-8cd6758d1fcc77b433f6584bcc34e24469568d75">Install mod_python</h2>
 
-<span id="line-42" class="anchor"></span><span id="line-43" class="anchor"></span><p>Most people will just add a <tt>mod_python</tt> package to their current operating system installation.  If you are building from source then you should consult the <a class="external" href="http://modpython.org/live/current/doc-html/">mod_python documentation</a>. <span id="line-44" class="anchor"></span></p>
+<span id="line-42" class="anchor"></span><span id="line-43" class="anchor"></span><p>Most people will just add a <tt>mod_python</tt> package to their current operating system installation.  If you are building from source then you should consult the <a class="www" href="http://modpython.org/live/current/doc-html/">mod_python documentation</a>. <span id="line-44" class="anchor"></span></p>
 <span id="line-45" class="anchor"></span><p>The mod_python installation should have added some lines to the Apache configuration file - either in the file itself or in an included configuration file (for example on Red Hat or Fedora linux the mod_python configuration is in <tt>/etc/httpd/conf.d/python.conf</tt>). <span id="line-46" class="anchor"></span></p>
 <span id="line-47" class="anchor"></span><p>Make sure you have this line in <tt>httpd.conf</tt> or mod_python will not work: <span id="line-48" class="anchor"></span>
 <span id="line-49" class="anchor"></span></p>
@@ -901,7 +838,7 @@
 <span id="line-105" class="anchor"></span>    PythonHandler MoinMoin.request::RequestModPy.run
 <span id="line-106" class="anchor"></span>&lt;/Location&gt;
 <span id="line-107" class="anchor"></span></pre>
-<span id="line-108" class="anchor"></span><span id="line-109" class="anchor"></span><p>If you have multiple <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> instances then add one location directive for each one (changing the paths as appropriate) and add a line with the directive <tt>PythonInterpreter&nbsp;mywiki</tt> to each Location section. With this directive different subinterpreters with completely separate namespaces will be used for each wiki (see <a class="external" href="http://modpython.org/live/current/doc-html/pyapi-interps.html">here</a> for details). <span id="line-110" class="anchor"></span></p>
+<span id="line-108" class="anchor"></span><span id="line-109" class="anchor"></span><p>If you have multiple <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> instances then add one location directive for each one (changing the paths as appropriate) and add a line with the directive <tt>PythonInterpreter&nbsp;mywiki</tt> to each Location section. With this directive different subinterpreters with completely separate namespaces will be used for each wiki (see <a class="www" href="http://modpython.org/live/current/doc-html/pyapi-interps.html">here</a> for details). <span id="line-110" class="anchor"></span></p>
 <span id="line-111" class="anchor"></span><p>If you did not install <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> in the default location, you will have to add the path to <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> to the system path: <span id="line-112" class="anchor"></span>
 <span id="line-113" class="anchor"></span></p>
 <pre>
@@ -961,51 +898,53 @@
 <span id="line-162" class="anchor"></span>  RewriteLogLevel 0
 <span id="line-163" class="anchor"></span>  # map /wiki static files to Moin htdocs
 <span id="line-164" class="anchor"></span>  RewriteRule ^/wiki/(.*)$ /usr/share/moin/htdocs/$1 [last]
-<span id="line-165" class="anchor"></span>  # map everything else to server script
-<span id="line-166" class="anchor"></span>  RewriteRule ^(.*)$ /var/www/moin/mywiki/moinmodpy.py$1
-<span id="line-167" class="anchor"></span>
-<span id="line-168" class="anchor"></span>  &lt;Directory "/var/www/moin/testwiki"&gt;
-<span id="line-169" class="anchor"></span>    # Modpy stuff
-<span id="line-170" class="anchor"></span>    AddHandler python-program .py
-<span id="line-171" class="anchor"></span>    # Add the path to the wiki directory, where
-<span id="line-172" class="anchor"></span>    # moinmodpy.py and wikiconfig.py are located.
-<span id="line-173" class="anchor"></span>    PythonPath "['/var/www/moin/mywiki'] + sys.path"
-<span id="line-174" class="anchor"></span>    PythonHandler moinmodpy
-<span id="line-175" class="anchor"></span>  &lt;/Directory&gt;
-<span id="line-176" class="anchor"></span>&lt;/VirtualHost&gt;
-<span id="line-177" class="anchor"></span></pre>
-<span id="line-178" class="anchor"></span><span id="line-179" class="anchor"></span><p>Apache should be restarted, and the FrontPage of <tt>mywiki</tt> should now appear at <tt>http://wiki.example.com/</tt>. <span id="line-180" class="anchor"></span></p>
-<span id="line-181" class="anchor"></span><p>Other ways of handling root level wikis with Apache are detailed in the appropriately named <a href="http://moinmaster.wikiwikiweb.de/HelpOnConfiguration/ApacheVoodoo">HelpOnConfiguration/ApacheVoodoo</a>. <span id="line-182" class="anchor"></span></p>
-<span id="line-183" class="anchor"></span>
+<span id="line-165" class="anchor"></span>  RewriteRule ^/robots.txt$ /usr/share/moin/htdocs/robots.txt [last]
+<span id="line-166" class="anchor"></span>  RewriteRule ^/favicon.ico$ /usr/share/moin/htdocs/favicon.ico [last]
+<span id="line-167" class="anchor"></span>  # map everything else to server script
+<span id="line-168" class="anchor"></span>  RewriteRule ^(.*)$ /var/www/moin/mywiki/moinmodpy.py$1
+<span id="line-169" class="anchor"></span>
+<span id="line-170" class="anchor"></span>  &lt;Directory "/var/www/moin/testwiki"&gt;
+<span id="line-171" class="anchor"></span>    # Modpy stuff
+<span id="line-172" class="anchor"></span>    AddHandler python-program .py
+<span id="line-173" class="anchor"></span>    # Add the path to the wiki directory, where
+<span id="line-174" class="anchor"></span>    # moinmodpy.py and wikiconfig.py are located.
+<span id="line-175" class="anchor"></span>    PythonPath "['/var/www/moin/mywiki'] + sys.path"
+<span id="line-176" class="anchor"></span>    PythonHandler moinmodpy
+<span id="line-177" class="anchor"></span>  &lt;/Directory&gt;
+<span id="line-178" class="anchor"></span>&lt;/VirtualHost&gt;
+<span id="line-179" class="anchor"></span></pre>
+<span id="line-180" class="anchor"></span><span id="line-181" class="anchor"></span><p>Apache should be restarted, and the FrontPage of <tt>mywiki</tt> should now appear at <tt>http://wiki.example.com/</tt>. <span id="line-182" class="anchor"></span></p>
+<span id="line-183" class="anchor"></span><p>Other ways of handling root level wikis with Apache are detailed in the appropriately named <a href="http://moinmaster.wikiwikiweb.de/HelpOnConfiguration/ApacheVoodoo">HelpOnConfiguration/ApacheVoodoo</a>. <span id="line-184" class="anchor"></span></p>
+<span id="line-185" class="anchor"></span>
 <h1 id="head-53a11a51ff1c262df8f1f287084f8700685446d4">Older mod_python versions</h1>
 
-<span id="line-184" class="anchor"></span><span id="line-185" class="anchor"></span><p>mod_python versions 2.7.10, 3.0.4 and 3.1.2b have a bug in <tt>apache.resolve_object</tt>. This bug was reported to the mod_python <span id="line-186" class="anchor"></span>maintainers and has been fixed in the 3.1.3 release. The best fix for this is to update to the current release. However if you are unable to do this there are 2 possible solutions: <span id="line-187" class="anchor"></span></p>
-<span id="line-188" class="anchor"></span>
+<span id="line-186" class="anchor"></span><span id="line-187" class="anchor"></span><p>mod_python versions 2.7.10, 3.0.4 and 3.1.2b have a bug in <tt>apache.resolve_object</tt>. This bug was reported to the mod_python <span id="line-188" class="anchor"></span>maintainers and has been fixed in the 3.1.3 release. The best fix for this is to update to the current release. However if you are unable to do this there are 2 possible solutions: <span id="line-189" class="anchor"></span></p>
+<span id="line-190" class="anchor"></span>
 <h2 id="head-7b2283d5184932488fe551b2cee08e28fb18230c">Use a wrapper script</h2>
 
-<span id="line-189" class="anchor"></span><span id="line-190" class="anchor"></span><p><a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> come with a <tt>moinmodpy.py</tt> wrapper script, and this could be used by changing the <tt>PythonPath</tt> and <tt>PythonHandler</tt> directives as shown in the <tt>moinmodpy.htaccess</tt> file. The wrapper was named <tt>moin_modpy.py</tt> in <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> 1.2. <span id="line-191" class="anchor"></span></p>
-<span id="line-192" class="anchor"></span>
+<span id="line-191" class="anchor"></span><span id="line-192" class="anchor"></span><p><a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> come with a <tt>moinmodpy.py</tt> wrapper script, and this could be used by changing the <tt>PythonPath</tt> and <tt>PythonHandler</tt> directives as shown in the <tt>moinmodpy.htaccess</tt> file. The wrapper was named <tt>moin_modpy.py</tt> in <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> 1.2. <span id="line-193" class="anchor"></span></p>
+<span id="line-194" class="anchor"></span>
 <h2 id="head-f2a32b29f0aff0101a91c87d692d063a6e0a4ec2">Fix mod_python</h2>
 
-<span id="line-193" class="anchor"></span><p>mod_python has a small resolver bug in versions 2.7.10, 3.0.4 and 3.1.2b. <span id="line-194" class="anchor"></span>The method <tt>resolve_object</tt> in <tt>mod_python/apache.py</tt> checks the wrong <span id="line-195" class="anchor"></span>object, and so the lookup for <tt>RequestModPy.run</tt> fails. <span id="line-196" class="anchor"></span></p>
-<span id="line-197" class="anchor"></span><p>To fix it you need to change the method <tt>resolve_object</tt> (around line 551 for <span id="line-198" class="anchor"></span>mod_python 3.1.2b) from <span id="line-199" class="anchor"></span></p>
-<span id="line-200" class="anchor"></span>
-<span id="line-201" class="anchor"></span><pre>
+<span id="line-195" class="anchor"></span><p>mod_python has a small resolver bug in versions 2.7.10, 3.0.4 and 3.1.2b. <span id="line-196" class="anchor"></span>The method <tt>resolve_object</tt> in <tt>mod_python/apache.py</tt> checks the wrong <span id="line-197" class="anchor"></span>object, and so the lookup for <tt>RequestModPy.run</tt> fails. <span id="line-198" class="anchor"></span></p>
+<span id="line-199" class="anchor"></span><p>To fix it you need to change the method <tt>resolve_object</tt> (around line 551 for <span id="line-200" class="anchor"></span>mod_python 3.1.2b) from <span id="line-201" class="anchor"></span></p>
+<span id="line-202" class="anchor"></span>
+<span id="line-203" class="anchor"></span><pre>
         if silent and not hasattr(module, obj_str):
-<span id="line-202" class="anchor"></span>            return None
-<span id="line-203" class="anchor"></span></pre>
-<span id="line-204" class="anchor"></span><span id="line-205" class="anchor"></span><p>to <span id="line-206" class="anchor"></span></p>
-<span id="line-207" class="anchor"></span>
-<span id="line-208" class="anchor"></span><pre>
+<span id="line-204" class="anchor"></span>            return None
+<span id="line-205" class="anchor"></span></pre>
+<span id="line-206" class="anchor"></span><span id="line-207" class="anchor"></span><p>to <span id="line-208" class="anchor"></span></p>
+<span id="line-209" class="anchor"></span>
+<span id="line-210" class="anchor"></span><pre>
         if silent and not hasattr(obj, obj_str):
-<span id="line-209" class="anchor"></span>            return None
-<span id="line-210" class="anchor"></span></pre>
-<span id="line-211" class="anchor"></span><span id="line-212" class="anchor"></span><span id="line-213" class="anchor"></span>
+<span id="line-211" class="anchor"></span>            return None
+<span id="line-212" class="anchor"></span></pre>
+<span id="line-213" class="anchor"></span><span id="line-214" class="anchor"></span><span id="line-215" class="anchor"></span>
 <h1 id="head-17313e33f7320af70773f484730b290d86b62ee5">Troubleshooting</h1>
 
-<span id="line-214" class="anchor"></span><span id="line-215" class="anchor"></span><p>Page access gives apache error:: <span id="line-216" class="anchor"></span></p>
+<span id="line-216" class="anchor"></span><span id="line-217" class="anchor"></span><p>Page access gives apache error:: <span id="line-218" class="anchor"></span></p>
 <ul>
-<li style="list-style-type:none"><p><tt>PythonHandler&nbsp;MoinMoin.request::RequestModPy.run:&nbsp;OSError:&nbsp;[Errno&nbsp;2]&nbsp;No&nbsp;such&nbsp;file&nbsp;or&nbsp;directory:&nbsp;'data/user'</tt> <span id="line-217" class="anchor"></span>This appears to be caused by you not having an absolute path for <tt>data_dir</tt> in <tt>moin_config.py</tt>.  There are several other lines of error traceback preceding this one in the apache error log.  Fix the path in <tt>moin_config.py</tt>. <span id="line-218" class="anchor"></span></p>
+<li style="list-style-type:none"><p><tt>PythonHandler&nbsp;MoinMoin.request::RequestModPy.run:&nbsp;OSError:&nbsp;[Errno&nbsp;2]&nbsp;No&nbsp;such&nbsp;file&nbsp;or&nbsp;directory:&nbsp;'data/user'</tt> <span id="line-219" class="anchor"></span>This appears to be caused by you not having an absolute path for <tt>data_dir</tt> in <tt>moin_config.py</tt>.  There are several other lines of error traceback preceding this one in the apache error log.  Fix the path in <tt>moin_config.py</tt>. <span id="line-220" class="anchor"></span></p>
 </li>
 </ul>
 <span id="bottom_Include_HelpOnInstalling/ApacheWithModPython" class="anchor"></span>
@@ -1019,7 +958,7 @@
 <span id="top_Include_HelpOnInstalling/TwistedWeb" class="anchor"></span><span id="line-10" class="anchor"></span><span id="line-11" class="anchor"></span>
 <h1 id="head-aadc9ea90352d5b5ad5745583f12238abc07f6b1">Using MoinMoin with Twisted</h1>
 
-<span id="line-12" class="anchor"></span><span id="line-13" class="anchor"></span><p><a class="external" href="http://twistedmatrix.com">Twisted</a> is a standalone python framework for many kinds of applications. <span id="line-14" class="anchor"></span>For <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a>, we use Twisted as a python web server that just imports <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> persistently. <span id="line-15" class="anchor"></span></p>
+<span id="line-12" class="anchor"></span><span id="line-13" class="anchor"></span><p><a class="www" href="http://twistedmatrix.com">Twisted</a> is a standalone python framework for many kinds of applications. <span id="line-14" class="anchor"></span>For <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a>, we use Twisted as a python web server that just imports <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> persistently. <span id="line-15" class="anchor"></span></p>
 <span id="line-16" class="anchor"></span><p>This has the advantage that the Python interpreter and all Python scripts (including Twisted itself and also <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a>) is only loaded and initialized one time, and that data can be cached in memory from request to request, enhancing the performance of <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a>. <span id="line-17" class="anchor"></span></p>
 <span id="line-18" class="anchor"></span><p>Another advantage is that this is all based on Python. <img src="wiki/htdocs/modern/img/smile4.png" alt=";)" height="15" width="15"> <span id="line-19" class="anchor"></span></p>
 <span id="line-20" class="anchor"></span><p>First do <a href="http://moinmaster.wikiwikiweb.de/HelpOnInstalling/BasicInstallation">../BasicInstallation</a> and <a href="http://moinmaster.wikiwikiweb.de/HelpOnInstalling/WikiInstanceCreation">../WikiInstanceCreation</a>. <span id="line-21" class="anchor"></span></p>
@@ -1170,7 +1109,7 @@
 <h2 id="head-828a44c0e867e6f0fb60395a972cb6003658f76f">Starting the server on Unix</h2>
 
 <span id="line-60" class="anchor"></span><span id="line-61" class="anchor"></span><p>On GNU/Linux, Mac OS X or another POSIX-like OS, copy <tt>wiki/server/mointwisted</tt> to your wiki directory. You might want to adapt <tt>PYTHONPATH</tt> and the path to <tt>twistd</tt>.  <span id="line-62" class="anchor"></span></p>
-<span id="line-63" class="anchor"></span><p>Start the server with <tt>./mointwisted&nbsp;start</tt> and test your wiki at <a class="www" href="http://localhost:8080/">http://localhost:8080/</a>. Stop the server with <tt>./mointwisted&nbsp;stop</tt>. <span id="line-64" class="anchor"></span></p>
+<span id="line-63" class="anchor"></span><p>Start the server with <tt>./mointwisted&nbsp;start</tt> and test your wiki at <a class="http" href="http://localhost:8080/">http://localhost:8080/</a>. Stop the server with <tt>./mointwisted&nbsp;stop</tt>. <span id="line-64" class="anchor"></span></p>
 <span id="line-65" class="anchor"></span><p>For more options run <tt>./mointwisted</tt> without arguments. <span id="line-66" class="anchor"></span></p>
 <span id="line-67" class="anchor"></span>
 <h2 id="head-0457c39c25e65945e29141fa8f207afe318806fe">Starting the server on Windows</h2>
@@ -1200,7 +1139,7 @@
 </li>
 <li><p>Run <tt>moin.py</tt> <span id="line-23" class="anchor"></span></p>
 </li>
-<li><p>Access your wiki at <a class="www" href="http://localhost:8000/">http://localhost:8000/</a> <span id="line-24" class="anchor"></span></p>
+<li><p>Access your wiki at <a class="http" href="http://localhost:8000/">http://localhost:8000/</a> <span id="line-24" class="anchor"></span></p>
 <span id="line-25" class="anchor"></span></li>
 </ol>
 <p>On most cases, the default settings will be just fine. You many want to edit <tt>moin.py</tt> and change some of the options, as described in the next section. <span id="line-26" class="anchor"></span></p>
@@ -1400,7 +1339,7 @@
 $ ./moin.py
 <span id="line-70" class="anchor"></span>Serving on localhost:8000
 <span id="line-71" class="anchor"></span></pre>
-<span id="line-72" class="anchor"></span><span id="line-73" class="anchor"></span><p>Test your wiki at <a class="www" href="http://localhost:8000/">http://localhost:8000/</a> <span id="line-74" class="anchor"></span></p>
+<span id="line-72" class="anchor"></span><span id="line-73" class="anchor"></span><p>Test your wiki at <a class="http" href="http://localhost:8000/">http://localhost:8000/</a> <span id="line-74" class="anchor"></span></p>
 <span id="line-75" class="anchor"></span><p>On Windows, you can double click <tt>moin.py</tt> to start the server. A new terminal window will be opened. Close the window or press <tt>Control&nbsp;+&nbsp;Pause</tt> to stop the server. <span id="line-76" class="anchor"></span></p>
 <span id="line-77" class="anchor"></span><p>On Unix, interrupt the server with <tt>Control&nbsp;+&nbsp;C</tt> in order to shut it down. <span id="line-78" class="anchor"></span></p>
 <span id="line-79" class="anchor"></span>
@@ -1416,7 +1355,7 @@
 <span id="line-89" class="anchor"></span>Serving on localhost:8000
 <span id="line-90" class="anchor"></span>Running as uid/gid 70/70
 <span id="line-91" class="anchor"></span></pre>
-<span id="line-92" class="anchor"></span><span id="line-93" class="anchor"></span><p>Test your wiki at <a class="www" href="http://localhost/">http://localhost/</a> <span id="line-94" class="anchor"></span></p>
+<span id="line-92" class="anchor"></span><span id="line-93" class="anchor"></span><p>Test your wiki at <a class="http" href="http://localhost/">http://localhost/</a> <span id="line-94" class="anchor"></span></p>
 <span id="line-95" class="anchor"></span>
 <h1 id="head-79336bdc41d8a5136baf30cad5a31b8c49b7c57b">Running as daemon</h1>
 
@@ -1507,7 +1446,7 @@
 <span id="line-51" class="anchor"></span><span id="line-52" class="anchor"></span>
 <h3 id="head-223faa3a0e587eb269f79e3faf05d3851d778e8d">RSS</h3>
 
-<span id="line-53" class="anchor"></span><span id="line-54" class="anchor"></span><p>If you want your wiki to support RSS and Mozilla Firefox Live Bookmarks features, you have to install PyXML. Get PyXML from <a class="www" href="http://sourceforge.net/projects/pyxml/">http://sourceforge.net/projects/pyxml/</a> and install according to the instructions. <span id="line-55" class="anchor"></span></p>
+<span id="line-53" class="anchor"></span><span id="line-54" class="anchor"></span><p>If you want your wiki to support RSS and Mozilla Firefox Live Bookmarks features, you have to install PyXML. Get PyXML from <a class="http" href="http://sourceforge.net/projects/pyxml/">http://sourceforge.net/projects/pyxml/</a> and install according to the instructions. <span id="line-55" class="anchor"></span></p>
 
 <h1 id="head-0cd30234950a8438af556cb7a93ef4dd346358a3">Creating a wiki</h1>
 
@@ -1571,10 +1510,10 @@
 <span id="line-113" class="anchor"></span><span id="line-114" class="anchor"></span>
 <h2 id="head-eb585ff24f9cd4b445a74b848cd1c5ec2b10706a">Testing Your New Wiki</h2>
 
-<span id="line-115" class="anchor"></span><span id="line-116" class="anchor"></span><p>In a web-browser surf to the site: <a class="www" href="http://localhost/mywiki">http://localhost/mywiki</a> <span id="line-117" class="anchor"></span></p>
+<span id="line-115" class="anchor"></span><span id="line-116" class="anchor"></span><p>In a web-browser surf to the site: <a class="http" href="http://localhost/mywiki">http://localhost/mywiki</a> <span id="line-117" class="anchor"></span></p>
 <span id="line-118" class="anchor"></span><p>You should see the FrontPage of your new wiki. <span id="line-119" class="anchor"></span></p>
-<span id="line-120" class="anchor"></span><p>Now run the unit tests, to make sure everything is fine. Go to this address: <a class="www" href="http://localhost/mywiki?action=test">http://localhost/mywiki?action=test</a> <span id="line-121" class="anchor"></span></p>
-<span id="line-122" class="anchor"></span><p>You should see a report on the wiki and tests results for the <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> engine. If some of the tests fail, please report the problem on <a class="external" href="http://moinmoin.wikiwikiweb.de/MoinMoinBugs">MoinMoinBugs</a>. <span id="line-123" class="anchor"></span></p>
+<span id="line-120" class="anchor"></span><p>Now run the unit tests, to make sure everything is fine. Go to this address: <a class="http" href="http://localhost/mywiki?action=test">http://localhost/mywiki?action=test</a> <span id="line-121" class="anchor"></span></p>
+<span id="line-122" class="anchor"></span><p>You should see a report on the wiki and tests results for the <a href="http://moinmaster.wikiwikiweb.de/MoinMoin">MoinMoin</a> engine. If some of the tests fail, please report the problem on <a class="www" href="http://moinmoin.wikiwikiweb.de/MoinMoinBugs">MoinMoinBugs</a>. <span id="line-123" class="anchor"></span></p>
 <span id="line-124" class="anchor"></span>
 <h2 id="head-14a0f4b701dc07823ca965841351a2bd3d021b8e">Configuring Your wiki</h2>
 
@@ -1672,11 +1611,11 @@
 <span id="line-27" class="anchor"></span><span id="line-28" class="anchor"></span>
 <h3 id="head-ce3f1899eb42247cc89c79893ca80eb5da56d2d4">MSI Installer</h3>
 
-<span id="line-29" class="anchor"></span><p>Installation of Apache and one alternative distribution of Python require the Microsoft <strong>MSI Installer</strong>.  The latest version, 2.0, was released in September of 2001. You will know you don't have the correct version if you receive errors after double-clicking on a file name ending in <strong>.msi</strong>. To get the latest version, go to <a class="www" href="http://www.microsoft.com/">http://www.microsoft.com/</a>, search for <strong>msi installer</strong>, and follow the instructions.  There are two versions, one for Windows ME, 98, and 95; and another for Windows 2000 and NT. Windows XP has the 2.0 version and requires no update. <span id="line-30" class="anchor"></span></p>
+<span id="line-29" class="anchor"></span><p>Installation of Apache and one alternative distribution of Python require the Microsoft <strong>MSI Installer</strong>.  The latest version, 2.0, was released in September of 2001. You will know you don't have the correct version if you receive errors after double-clicking on a file name ending in <strong>.msi</strong>. To get the latest version, go to <a class="http" href="http://www.microsoft.com/">http://www.microsoft.com/</a>, search for <strong>msi installer</strong>, and follow the instructions.  There are two versions, one for Windows ME, 98, and 95; and another for Windows 2000 and NT. Windows XP has the 2.0 version and requires no update. <span id="line-30" class="anchor"></span></p>
 <span id="line-31" class="anchor"></span>
 <h3 id="head-b1287e95efcad1b36cc2c15f825e1de198ebfcf6">Installing Apache</h3>
 
-<span id="line-32" class="anchor"></span><span id="line-33" class="anchor"></span><p>To obtain the latest version of Apache, go to <a class="www" href="http://www.apache.org/">http://www.apache.org/</a>, and click on the link to <strong>HTTP Server</strong>. Find the link to download the <strong>Win32 Binary (MSI Installer)</strong> version. Read the Apache documentation to determine the correct installation procedure for your situation.  Questions and problems with the Apache installation process should be resolved through use of the resources provided by the Apache organization. Be sure your webserver runs correctly before proceeding.  <span id="line-34" class="anchor"></span></p>
+<span id="line-32" class="anchor"></span><span id="line-33" class="anchor"></span><p>To obtain the latest version of Apache, go to <a class="http" href="http://www.apache.org/">http://www.apache.org/</a>, and click on the link to <strong>HTTP Server</strong>. Find the link to download the <strong>Win32 Binary (MSI Installer)</strong> version. Read the Apache documentation to determine the correct installation procedure for your situation.  Questions and problems with the Apache installation process should be resolved through use of the resources provided by the Apache organization. Be sure your webserver runs correctly before proceeding.  <span id="line-34" class="anchor"></span></p>
 <span id="line-35" class="anchor"></span><p><strong>Warning:</strong> the procedure described above tends to trivialize the installation of the Apache web server. Apache can be installed and running on your PC in a very few minutes with only a cursory examination of the Apache documentation.  Before you undertake the installation of any web server that can be accessed through the internet, you should exercise a controlled level of paranoia and assess the potential damage that may be caused by hackers accessing or destroying sensitive data. This should include not only the all data which resides on the PC which will host the Apache web server, but all other PCs on the local LAN which participate in any form of file sharing.   <span id="line-36" class="anchor"></span></p>
 <span id="line-37" class="anchor"></span><p>Windows ME, 98SE, 98, 95, and probably NT should be considered inappropriate hosts for any Apache web server that can be accessed via the internet.  Use either Windows 2000 or XP and install all security patches available for your operating system. <span id="line-38" class="anchor"></span></p>
 <span id="line-39" class="anchor"></span><p>Do not let the above discourage you from installing Moin<tt></tt>Moin.  Most of the internet activity probing your system for weaknesses will be from virus infected Windows NT systems running IIS whose owners have neglected to apply available security patches. The starting Apache configuration is secure and you will not have a problem provided you: <span id="line-40" class="anchor"></span></p>
@@ -1693,13 +1632,13 @@
 
 <h3 id="head-55b68c00864e2a0be48f87115a45f6a17a76bcc0">Installing Python</h3>
 
-<span id="line-46" class="anchor"></span><span id="line-47" class="anchor"></span><p>There are currently two different distributions of Python available for Windows. The normal Python distribution is available from <a class="www" href="http://www.python.org">http://www.python.org</a>. This is distributed as a windows executable (.exe) file. <span id="line-48" class="anchor"></span></p>
-<span id="line-49" class="anchor"></span><p>An alternative distribution called <strong>Active<tt></tt>Python</strong> is available from <a class="www" href="http://www.activestate.com/">http://www.activestate.com/</a>. This distribution uses the MSI Installer and contains some tools specific to the Windows operating system and a popular Windows IDE called Pythonwin.  Active<tt></tt>Python is available for free; an email address is requested (but not required) before downloading. <span id="line-50" class="anchor"></span></p>
+<span id="line-46" class="anchor"></span><span id="line-47" class="anchor"></span><p>There are currently two different distributions of Python available for Windows. The normal Python distribution is available from <a class="http" href="http://www.python.org">http://www.python.org</a>. This is distributed as a windows executable (.exe) file. <span id="line-48" class="anchor"></span></p>
+<span id="line-49" class="anchor"></span><p>An alternative distribution called <strong>Active<tt></tt>Python</strong> is available from <a class="http" href="http://www.activestate.com/">http://www.activestate.com/</a>. This distribution uses the MSI Installer and contains some tools specific to the Windows operating system and a popular Windows IDE called Pythonwin.  Active<tt></tt>Python is available for free; an email address is requested (but not required) before downloading. <span id="line-50" class="anchor"></span></p>
 <span id="line-51" class="anchor"></span><p>Moin<tt></tt>Moin will work with either distribution, but requires Python release 2.3 or later.  Download and install the distribution of your choice.  Questions and problems dealing with the Python installation process should be resolved through the use of resources provided by Python.org or Active<tt></tt>State.  Be sure your Python installation is correct before proceeding. <span id="line-52" class="anchor"></span></p>
 <span id="line-53" class="anchor"></span>
 <h2 id="head-c76f9a659995f587c02878baf3877ab5bd08a5bd">Installing MoinMoin</h2>
 
-<span id="line-54" class="anchor"></span><p>Download the current version of Moin<tt></tt>Moin from <a class="www" href="http://moinmoin.wikiwikiweb.de/">http://moinmoin.wikiwikiweb.de/</a> into <tt>C:\TEMP</tt> or an alternative location. To extract the <em>.tar.gz</em>-format archive, you may use Win<tt></tt>Zip. <span id="line-55" class="anchor"></span></p>
+<span id="line-54" class="anchor"></span><p>Download the current version of Moin<tt></tt>Moin from <a class="http" href="http://moinmoin.wikiwikiweb.de/">http://moinmoin.wikiwikiweb.de/</a> into <tt>C:\TEMP</tt> or an alternative location. To extract the <em>.tar.gz</em>-format archive, you may use Win<tt></tt>Zip. <span id="line-55" class="anchor"></span></p>
 <span id="line-56" class="anchor"></span><p>You should then have a folder such as <tt>C:\TEMP\moin-x.x</tt> where "x.x" is the current release number. This folder will contain a <tt>setup.py</tt> file in addition to several other files and subfolders. <span id="line-57" class="anchor"></span></p>
 <span id="line-58" class="anchor"></span><p>Open an MS-DOS or console window and enter the commands: <span id="line-59" class="anchor"></span>
 <span id="line-60" class="anchor"></span></p>
@@ -1845,7 +1784,7 @@
 <span id="line-152" class="anchor"></span>
 <h3 id="head-d9b4f0491158f7280b4bf1693d990336527ebf4d">The Page Cannot be found</h3>
 
-<span id="line-153" class="anchor"></span><p>If the Apache error log shows the message "File does not exist: C:/Apache/htdocs/????", you may have mistyped the url "<a class="www" href="http://127.0.0.1/mywiki">http://127.0.0.1/mywiki</a>" into your browser. <span id="line-154" class="anchor"></span></p>
+<span id="line-153" class="anchor"></span><p>If the Apache error log shows the message "File does not exist: C:/Apache/htdocs/????", you may have mistyped the url "<a class="http" href="http://127.0.0.1/mywiki">http://127.0.0.1/mywiki</a>" into your browser. <span id="line-154" class="anchor"></span></p>
 <span id="line-155" class="anchor"></span>
 <h3 id="head-d47936fa3c21c07d857b27fdb811e5836635a100">FrontPage Loads Without Icons</h3>
 
@@ -1893,7 +1832,7 @@
 <h3 id="head-4f6e8cac8cfeabe2476189c3adfc5c9782ab423b">Installing IIS</h3>
 
 <span id="line-28" class="anchor"></span><span id="line-29" class="anchor"></span><p>You currently need an external webserver to run Moin<tt></tt>Moin.  <span id="line-30" class="anchor"></span></p>
-<span id="line-31" class="anchor"></span><p>From Microsoft: (<a class="www" href="http://www.microsoft.com/windows2000/en/server/iis/">http://www.microsoft.com/windows2000/en/server/iis/</a>) <span id="line-32" class="anchor"></span></p>
+<span id="line-31" class="anchor"></span><p>From Microsoft: (<a class="http" href="http://www.microsoft.com/windows2000/en/server/iis/">http://www.microsoft.com/windows2000/en/server/iis/</a>) <span id="line-32" class="anchor"></span></p>
 <span id="line-33" class="anchor"></span><ul>
 <li style="list-style-type:none"><p>To install IIS, add components, or remove components: <span id="line-34" class="anchor"></span></p>
 <span id="line-35" class="anchor"></span><p>Click Start, point to Settings, click Control Panel and start the Add/Remove Programs application.  <span id="line-36" class="anchor"></span>Select Configure Windows, click the Components button, and then follow the on-screen instructions  <span id="line-37" class="anchor"></span>to install, remove, or add components to IIS.  <span id="line-38" class="anchor"></span></p>
@@ -1903,8 +1842,8 @@
 <span id="line-41" class="anchor"></span>
 <h3 id="head-124918b94fdd224ff1d6bfff86c7525168676c98">Installing Python</h3>
 
-<span id="line-42" class="anchor"></span><span id="line-43" class="anchor"></span><p>Download <a class="external" href="http://www.python.org/ftp/python/2.3.4/Python-2.3.4.exe">Python 2.3.4</a> and install it. Python installation is done via a standard Windows installer program. <span id="line-44" class="anchor"></span></p>
-<span id="line-45" class="anchor"></span><p>Alternatively, you may download the <a class="external" href="http://www.activestate.com/Products/ActivePython/">ActivePython distribution</a> as a Microsoft Installer package. <span id="line-46" class="anchor"></span></p>
+<span id="line-42" class="anchor"></span><span id="line-43" class="anchor"></span><p>Download <a class="www" href="http://www.python.org/ftp/python/2.3.4/Python-2.3.4.exe">Python 2.3.4</a> and install it. Python installation is done via a standard Windows installer program. <span id="line-44" class="anchor"></span></p>
+<span id="line-45" class="anchor"></span><p>Alternatively, you may download the <a class="www" href="http://www.activestate.com/Products/ActivePython/">ActivePython distribution</a> as a Microsoft Installer package. <span id="line-46" class="anchor"></span></p>
 <span id="line-47" class="anchor"></span>
 <h3 id="head-a1cff6121b8b9ce2a1b1d94e923ae54f0b89ce4c">Installing MoinMoin</h3>
 
@@ -2071,7 +2010,13 @@
 <span id="line-164" class="anchor"></span>Check your URL regular expressions in the "wikis" list in "farmconfig.py".
 <span id="line-165" class="anchor"></span></pre>
 <span id="line-166" class="anchor"></span><span id="line-167" class="anchor"></span><p>and you don't intend on using a serverfarm, remove the farmconfig.py and farmconfig.pyc files and try again.  The error message shouldn't appear when you refresh the page.  <span id="line-168" class="anchor"></span></p>
-<span id="bottom_Include_HelpOnInstalling/InternetInformationServer" class="anchor"></span>
+<span id="line-169" class="anchor"></span><p>If you are using URLScan, you might have to add the following setting in the file <tt>%SystemRoot%\system32\inetsrv\urlscan\urlscan.ini</tt>: 
+<span id="line-170" class="anchor"></span></p>
+<pre>
+[options]
+<span id="line-171" class="anchor"></span>AllowHighBitCharacters=1
+<span id="line-172" class="anchor"></span></pre>
+<span id="line-173" class="anchor"></span><span id="bottom_Include_HelpOnInstalling/InternetInformationServer" class="anchor"></span>
 </div>
  <span id="line-77" class="anchor"></span></p>
 <hr class="hr2">
--- a/docs/UPDATE.html	Sun Dec 04 18:31:35 2005 +0000
+++ b/docs/UPDATE.html	Sun Dec 04 20:15:02 2005 +0000
@@ -110,7 +110,7 @@
 </li>
 </ol>
 </li>
-<li><p>(If you have useful edits, please contribute them to the <a class="external" href="http://moinmaster.wikiwikiweb.de/">MoinMoin development</a>.) <span id="line-58" class="anchor"></span></p>
+<li><p>(If you have useful edits, please contribute them to the <a class="www" href="http://moinmaster.wikiwikiweb.de/">MoinMoin development</a>.) <span id="line-58" class="anchor"></span></p>
 </li>
 <li><p>Delete that <tt>wiki/data/&lt;&lt;systemPage&gt;&gt;</tt> using your file browser. <span id="line-59" class="anchor"></span></p>
 </li>
@@ -134,7 +134,7 @@
 </li>
 </ol>
 </li>
-<li><p>(有効な変更があれば、 <a class="external" href="http://moinmaster.wikiwikiweb.de/">MoinMoin development</a>にぜひ与えてください。) <span id="line-68" class="anchor"></span></p>
+<li><p>(有効な変更があれば、 <a class="www" href="http://moinmaster.wikiwikiweb.de/">MoinMoin development</a>にぜひ与えてください。) <span id="line-68" class="anchor"></span></p>
 </li>
 <li><p>そのページ<tt>wiki/data/&lt;&lt;systemPage&gt;&gt;</tt>をファイルブラウザアプリケーションで削除する。 <span id="line-69" class="anchor"></span></p>
 <span id="line-70" class="anchor"></span></li>
Binary file wiki/underlay.tar.bz2 has changed