MoinMoin install in apache (win)

时间:2015-10-14 09:03:30   收藏:0   阅读:715

一:下载环境

xampp:http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.8.1/xampp-win32-1.8.1-VC9-installer.exe/download
MoinMoin :http://static.moinmo.in/files/moin-1.9.8.tar.gz
python2.6:https://www.python.org/ftp/python/2.6.6/python-2.6.6.msi
 
二:安装:
安装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/

 

原文:http://www.cnblogs.com/wanghongxu/p/4876370.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!