MoinMoin install in apache (win)

一:下载环境

 
二:安装:
安装python2.6
安装xampp
清空xampp的htdocs目录
将MoinMoin 解压到xampp的htdocs目录下
 
三:配置apache
在httpd.conf 增加一下内容(注意根据自己的情况修改目录)
LoadModule wsgi_module modules/mod_wsgi-py26-VC9.so
 
Alias /moin_static198 "E:/xampp/htdocs/MoinMoin/web/static/htdocs"
<Directory "/static/">
    Order allow,deny
    Options Indexes
    Allow from all
    IndexOptions FancyIndexing
</Directory>
WSGIScriptAlias / "E:/xampp/htdocs/MoinMoin/wsgiapp.py"
WSGIPythonPath "E:/xampp/htdocs/" 
 
 
 
四:测试
浏览器打开http://localhost/
原文地址:https://www.cnblogs.com/wanghongxu/p/4876370.html