changeset 4714:b6eb90ca4128

make install-docs interwiki
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 27 Apr 2009 00:12:37 +0200
parents f6607543762e
children 913bb9697449
files docs/INSTALL.html
diffstat 1 files changed, 12 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/docs/INSTALL.html	Sun Apr 26 23:58:50 2009 +0200
+++ b/docs/INSTALL.html	Mon Apr 27 00:12:37 2009 +0200
@@ -200,25 +200,27 @@
 <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-194"></span><p class="line862">When <tt class="backtick">moin.cgi</tt> is launched, it imports a Moin<tt class="backtick"></tt>Moin module (that in turn imports other modules and the configuration file). Since everything has been installed in your home directory, it is likely none of these will be found. Edit the <tt class="backtick">moin.cgi</tt> script to correct that. Add these lines near the top of the file: <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-195"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-196"></span><p class="line867"><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-197"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-198"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-199"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-200"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-201"></span><pre>import sys
 sys.path.insert(0, '/home/mm/lib/python2.4')
 sys.path.insert(0, '/home/mm/lib/python2.4/site-packages')
-sys.path.insert(0, '/home/mm/share/moin/mywiki')</pre><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-202"></span><p class="line862">Of course, you need to adapt the paths to your situation. The first two lines should help locate the Moin<tt class="backtick"></tt>Moin modules, the last one should help locate the <tt class="backtick">wikiconfig.py</tt> file. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-203"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-204"></span><p class="line867"><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 class="backtick">#!&nbsp;/usr/bin/python2.4</tt>" might help you if the default does not work. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-205"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-206"></span><p class="line867"><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 parentheses. This will let <a href="http://master18.moinmo.in/MoinMoin">MoinMoin</a> generate URLs that start with <tt>/mywiki</tt> and not the path that the webserver passed to <a href="http://master18.moinmo.in/MoinMoin">MoinMoin</a>: <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-207"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-208"></span><p class="line867"><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-209"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-210"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-211"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-212"></span><pre>def handle_request(req, env, form):
-    request = RequestCGI(req, env, form, properties = {'script_name': '/mywiki'})
-    request.run()</pre><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-213"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-214"></span><p class="line867">
+sys.path.insert(0, '/home/mm/share/moin/mywiki')</pre><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-202"></span><p class="line862">Of course, you need to adapt the paths to your situation. The first two lines should help locate the Moin<tt class="backtick"></tt>Moin modules, the last one should help locate the <tt class="backtick">wikiconfig.py</tt> file. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-203"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-204"></span><p class="line867"><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 class="backtick">#!&nbsp;/usr/bin/python2.4</tt>" might help you if the default does not work. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-205"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-206"></span><p class="line867"><strong>Note 2:</strong> If you are using mod_rewrite (rather than <a class="nonexistent" href="http://master18.moinmo.in/ScriptAlias">ScriptAlias</a>) to change the wiki URL, you need to add a <tt>properties&nbsp;=&nbsp;{'script_name':&nbsp;'/mywiki'}&nbsp;</tt> line to this file where indicated in the comments. This will let <a href="http://master18.moinmo.in/MoinMoin">MoinMoin</a> generate URLs that start with <tt>/mywiki</tt> and not the path that the webserver passed to <a href="http://master18.moinmo.in/MoinMoin">MoinMoin</a>. For example: <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-207"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-208"></span><p class="line867"><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-209"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-210"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-211"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-212"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-213"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-214"></span><pre>     # Properties
+     # Allow overriding any request property by the value defined in
+     # this dict e.g properties = {'script_name': '/mywiki'}.
+     ## properties = {}
+     properties = {'script_name': '/mywiki'}</pre><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-215"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-216"></span><p class="line862">If you're serving the wiki from the root URL, use <tt>&nbsp;{&nbsp;'script_name':&nbsp;'/'&nbsp;}&nbsp;</tt>. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-217"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-218"></span><p class="line867">
 <h3 id="HelpOnInstalling.2BAC8-ApacheOnLinux.Configure_MoinMoin-1">Configure MoinMoin</h3>
-<span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-215"></span><p class="line862">Finally, check that the <tt class="backtick">wikiconfig.py</tt> file in the instance directory contains correct paths for <tt class="backtick">url_prefix_static</tt> (the htdocs directory), <tt class="backtick">data_dir</tt> (the instance data directory) and <tt class="backtick">data_underlay_dir</tt> (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! It is better to use <strong>absolute paths</strong>, and save yourself some headaches. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-216"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-217"></span><p class="line867"><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-218"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-219"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-220"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-221"></span><pre>    data_dir = '/home/mm/share/moin/mywiki/data/'
+<span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-219"></span><p class="line862">Finally, check that the <tt class="backtick">wikiconfig.py</tt> file in the instance directory contains correct paths for <tt class="backtick">url_prefix_static</tt> (the htdocs directory), <tt class="backtick">data_dir</tt> (the instance data directory) and <tt class="backtick">data_underlay_dir</tt> (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! It is better to use <strong>absolute paths</strong>, and save yourself some headaches. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-220"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-221"></span><p class="line867"><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-222"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-223"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-224"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-225"></span><pre>    data_dir = '/home/mm/share/moin/mywiki/data/'
     data_underlay_dir = '/home/mm/share/moin/mywiki/underlay/'
-    url_prefix = '/~mm/moin_static170'</pre><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-222"></span><p class="line867">
+    url_prefix = '/~mm/moin_static170'</pre><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-226"></span><p class="line867">
 <h3 id="HelpOnInstalling.2BAC8-ApacheOnLinux.Test_the_wiki-1">Test the wiki</h3>
-<span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-223"></span><p class="line874">Everything should work fine, now. It is time to perform the following steps: <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-224"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-225"></span><ul><li><p class="line862">If it worked, try to access your new-born wiki with the URL "<tt class="backtick">http://127.0.0.1/~mm/cgi-bin/moin.cgi</tt>". You should see some wiki page - read it. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-226"></span></li><li><p class="line862">Now go to the <a href="http://master18.moinmo.in/WikiSandBox">WikiSandBox</a> page. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-227"></span></li><li>Try to edit it and save your changes. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-228"></span></li><li><p class="line862">If that works, see if your edit is reflected on the Recent<tt class="backtick"></tt>Changes page. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-229"></span></li><li><p class="line862">If you see them, congratulations, you have a new wiki! <img alt=":)" height="16" src="http://static.moinmo.in/moin_static182/modernized/img/smile.png" title=":)" width="16" /> <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-230"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-231"></span></li></ul><p class="line874">If something goes wrong, have a look at Troubleshooting, below. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-232"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-233"></span><p class="line867">
+<span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-227"></span><p class="line874">Everything should work fine, now. It is time to perform the following steps: <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-228"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-229"></span><ul><li><p class="line862">If it worked, try to access your new-born wiki with the URL "<tt class="backtick">http://127.0.0.1/~mm/cgi-bin/moin.cgi</tt>". You should see some wiki page - read it. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-230"></span></li><li><p class="line862">Now go to the <a href="http://master18.moinmo.in/WikiSandBox">WikiSandBox</a> page. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-231"></span></li><li>Try to edit it and save your changes. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-232"></span></li><li><p class="line862">If that works, see if your edit is reflected on the Recent<tt class="backtick"></tt>Changes page. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-233"></span></li><li><p class="line862">If you see them, congratulations, you have a new wiki! <img alt=":)" height="16" src="http://static.moinmo.in/moin_static182/modernized/img/smile.png" title=":)" width="16" /> <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-234"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-235"></span></li></ul><p class="line874">If something goes wrong, have a look at Troubleshooting, below. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-236"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-237"></span><p class="line867">
 <h2 id="HelpOnInstalling.2BAC8-ApacheOnLinux.Troubleshooting">Troubleshooting</h2>
-<span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-234"></span><p class="line862">See also <a href="http://master18.moinmo.in/HelpOnInstalling/TroubleShooting">../TroubleShooting</a> for generic stuff. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-235"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-236"></span><p class="line862">The first thing to do when your wiki does not work as expected is to issue the command "<tt class="backtick">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 class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-237"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-238"></span><p class="line867">
+<span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-238"></span><p class="line862">See also <a href="http://master18.moinmo.in/HelpOnInstalling/TroubleShooting">../TroubleShooting</a> for generic stuff. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-239"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-240"></span><p class="line862">The first thing to do when your wiki does not work as expected is to issue the command "<tt class="backtick">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 class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-241"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-242"></span><p class="line867">
 <h3 id="HelpOnInstalling.2BAC8-ApacheOnLinux.Adding_permission_to_serve_the_htdocs_directory">Adding permission to serve the htdocs directory</h3>
-<span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-239"></span><p class="line862">In some (sane) Linux distributions (like SuSE 9.0) serving directories other than the document-root "<tt class="backtick">/srv/www/htdocs</tt>" with Apache is switched off by default for security reasons in "<tt class="backtick">/etc/httpd/httpd.conf</tt>" (or for Apache2 "<tt class="backtick">/etc/apache2/httpd.conf</tt>"): <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-240"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-241"></span><p class="line867"><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-242"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-243"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-244"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-245"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-246"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-247"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-248"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-249"></span><pre># forbid access to the entire filesystem by default
+<span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-243"></span><p class="line862">In some (sane) Linux distributions (like SuSE 9.0) serving directories other than the document-root "<tt class="backtick">/srv/www/htdocs</tt>" with Apache is switched off by default for security reasons in "<tt class="backtick">/etc/httpd/httpd.conf</tt>" (or for Apache2 "<tt class="backtick">/etc/apache2/httpd.conf</tt>"): <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-244"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-245"></span><p class="line867"><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-246"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-247"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-248"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-249"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-250"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-251"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-252"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-253"></span><pre># forbid access to the entire filesystem by default
 &lt;Directory /&gt;
   Options None
   AllowOverride None
   Order deny,allow
   Deny from all
-&lt;/Directory&gt;</pre><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-250"></span><p class="line862">To allow Apache to serve directories outside of the document root you have to add these lines to "<tt class="backtick">/etc/httpd/httpd.conf</tt>" (in SuSE it is recommended to create a new "<tt class="backtick">http.conf.local</tt>" and include this file in "<tt class="backtick">/etc/sysconfig/apache2</tt>"): <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-251"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-252"></span><p class="line867"><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-253"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-254"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-255"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-256"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-257"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-258"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-259"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-260"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-261"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-262"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-263"></span><pre>Alias /wiki/ "/usr/share/moin/htdocs/"
+&lt;/Directory&gt;</pre><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-254"></span><p class="line862">To allow Apache to serve directories outside of the document root you have to add these lines to "<tt class="backtick">/etc/httpd/httpd.conf</tt>" (in SuSE it is recommended to create a new "<tt class="backtick">http.conf.local</tt>" and include this file in "<tt class="backtick">/etc/sysconfig/apache2</tt>"): <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-255"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-256"></span><p class="line867"><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-257"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-258"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-259"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-260"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-261"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-262"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-263"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-264"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-265"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-266"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-267"></span><pre>Alias /wiki/ "/usr/share/moin/htdocs/"
 &lt;Directory "/usr/share/moin/htdocs/"&gt;
    Order deny,allow
    Allow from all
@@ -227,7 +229,7 @@
 &lt;Directory "/usr/share/moin/mywiki/cgi-bin"&gt;
    Order deny,allow
    Allow from all
-&lt;/Directory&gt;</pre><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-264"></span><p class="line874">Of course, you need to adapt the paths to your particular situation. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-265"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.bottom"></span></div> <span class="anchor" id="line-54"></span><hr class="hr2" /><p class="line874"> <span class="anchor" id="line-55"></span><span class="anchor" id="fastcgi-install"></span> <span class="anchor" id="line-56"></span>
+&lt;/Directory&gt;</pre><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-268"></span><p class="line874">Of course, you need to adapt the paths to your particular situation. <span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.line-269"></span><span class="anchor" id="HelpOnInstalling.2BAC8-ApacheOnLinux.bottom"></span></div> <span class="anchor" id="line-54"></span><hr class="hr2" /><p class="line874"> <span class="anchor" id="line-55"></span><span class="anchor" id="fastcgi-install"></span> <span class="anchor" id="line-56"></span>
 <h1>FastCGI Setup using Apache or Lighttpd</h1>
 <div dir="ltr" id="HelpOnInstalling.2BAC8-FastCgi.content" lang="en"><span class="anchor" id="HelpOnInstalling.2BAC8-FastCgi.top"></span>
 <span class="anchor" id="HelpOnInstalling.2BAC8-FastCgi.line-9"></span><span class="anchor" id="HelpOnInstalling.2BAC8-FastCgi.line-10"></span><p class="line874">FastCGI is a method which enables a web server to communicate with long-running scripts. This has the advantage that the script is only <span class="anchor" id="HelpOnInstalling.2BAC8-FastCgi.line-11"></span>started and initialized one time, and that data could be cached in memory from request to request, enhancing the performance of the CGI application. <span class="anchor" id="HelpOnInstalling.2BAC8-FastCgi.line-12"></span><span class="anchor" id="HelpOnInstalling.2BAC8-FastCgi.line-13"></span><ul><li style="list-style-type:none"><p class="line891"><img alt="/!\" height="16" src="http://static.moinmo.in/moin_static182/modernized/img/alert.png" title="/!\" width="16" /> Follow the basic installation for your operating system as described in other parts of the <a href="http://master18.moinmo.in/MoinMoin">MoinMoin</a> installation documentation. This is <a href="http://master18.moinmo.in/HelpOnInstalling/BasicInstallation">HelpOnInstalling/BasicInstallation</a> and <a href="http://master18.moinmo.in/HelpOnInstalling/WikiInstanceCreation">HelpOnInstalling/WikiInstanceCreation</a>, or <a href="http://master18.moinmo.in/HelpOnInstalling/ApacheOnLinux">HelpOnInstalling/ApacheOnLinux</a> in most cases.  <span class="anchor" id="HelpOnInstalling.2BAC8-FastCgi.line-14"></span><span class="anchor" id="HelpOnInstalling.2BAC8-FastCgi.line-15"></span></li></ul><p class="line867"><div class="table-of-contents"><p class="table-of-contents-heading">Contents<ol><li>