Difference between revisions of "WebArea/Compat/MoinMoin"
From TuxFamilyFAQ
Jump to navigationJump to searchm (moved WebArea/Compat/MoinMoin/ to WebArea/Compat/MoinMoin) |
m |
||
Line 8: | Line 8: | ||
* Extract MoinMoin to '''htdocs/wiki''' | * Extract MoinMoin to '''htdocs/wiki''' | ||
* Now, here's the tricky part: | * Now, here's the tricky part: | ||
− | ** Create a file named '''phpinfo.php''' inside '''htdocs''' containing: | + | ** Create a file named '''phpinfo.php''' inside '''htdocs''' containing: <?php phpinfo() ?> |
− | |||
− | |||
− | <? phpinfo() ?> | ||
− | |||
− | |||
** Navigate your web browser to http://yoursite.tuxfamily.org/phpinfo.php | ** Navigate your web browser to http://yoursite.tuxfamily.org/phpinfo.php | ||
** Look for "'''_ENV["SCRIPT_FILENAME"]'''". This environment variable, minus the filename, contains the absolute path to your '''htdocs''' directory. | ** Look for "'''_ENV["SCRIPT_FILENAME"]'''". This environment variable, minus the filename, contains the absolute path to your '''htdocs''' directory. |
Revision as of 21:21, 16 March 2011
Required knowledge
- FTP
- Minimal knowledge of Python
Installing MoinMoin on TuxFamily
- Extract MoinMoin to htdocs/wiki
- Now, here's the tricky part:
- Create a file named phpinfo.php inside htdocs containing: <?php phpinfo() ?>
- Navigate your web browser to http://yoursite.tuxfamily.org/phpinfo.php
- Look for "_ENV["SCRIPT_FILENAME"]". This environment variable, minus the filename, contains the absolute path to your htdocs directory.
- Edit your wikiconfig.py file to use that absolute path
- Next, edit the file wiki/wiki/server/moin.cgi, and uncomment the sys.path.insert lines and replace the dummy parts of the lines with your absolute path
- Navigate your web browser to http://yoursite.tuxfamily.org/wiki/wiki/server/moin.cgi?test
- If all is well, you'll get a diagnostics page!