2007年04月19日 星期四 21:12
ÔÚwindowsÏ°²×°ºÃÁËapache 2.2.4£¬python2.5ºÍmoin1.5.7¡£ ÔÚä¯ÀÀÆ÷ÀïÊäÈëhttp://localhost:8080 apacheÕý³£ ÔÚpythonÀï import MoinMoinûÓгöÏÖÈκÎÒì³£ÐÅÏ¢¡£ 1.ÅäÖÃmoin °´ÕÕ¹Ù·½ÊÖ²áÉϵIJ½Ö裬½«Wiki InstanceÅäÖÃÔÚD:\project\moin\mywikiĿ¼Ï ÔÚD:\project\moin\mywiki\wikiconfig.pyÖУ¬ÅäÖÃÈçÏ sitename = u'mywiki' data_dir = r'D:\project\moin\mywiki\data' data_underlay_dir =r'D:\project\moin\mywiki\underlay' allowed_actions = ['DeletePage', 'AttachFile', 'RenamePage', ] 2.ÔÚapacheµÄhttpd.confÖÐÌí¼Ó Alias /wiki/ "C:/Python25/share/moin/htdocs
ScriptAlias /mywiki "D:/project/moin/mywiki/moin.cgi"
=====================================================
ÔÚä¯ÀÀÆ÷ÖÐÊäÈëhttp://localhost:8080/mywiki£¬ÌáʾÈçÏÂ
>You don't have permission to access /mywiki on this server.
apacheµÄÈÕÖ¾ÈçÏÂ
[Thu Apr 19 21:05:06 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Thu Apr 19 21:05:06 2007] [notice] Server built: Jan 9 2007 23:17:20
[Thu Apr 19 21:05:06 2007] [notice] Parent: Created child process 2340
[Thu Apr 19 21:05:06 2007] [notice] Child 2340: Child process is running
[Thu Apr 19 21:05:06 2007] [notice] Child 2340: Acquired the start mutex.
[Thu Apr 19 21:05:06 2007] [notice] Child 2340: Starting 250 worker threads.
[Thu Apr 19 21:05:06 2007] [notice] Child 2340: Starting thread to listen on port 8080.
[Thu Apr 19 21:05:17 2007] [error] [client 127.0.0.1] client denied by server configuration: D:/project/moin/mywiki/moin.cgi
[Thu Apr 19 21:07:05 2007] [error] [client 127.0.0.1] client denied by server configuration: D:/project/moin/mywiki/moin.cgi
=====================================================
¸Õ¸Õ½Ó´¥apache£¬Çë´ó¼Ò°ïæ¿´¿´ÊÇʲôÎÊÌ⡣лл~~-------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070419/31aff98f/attachment.html
2007年04月20日 星期五 01:11
看moinmoin主页的install说明。你的错误是apache没有配置对127.0.0.1的访问权限。实际上standalone的服务只需要moinmoin本身即可,自带有web services,不需要安装apache。 在07-4-19,seer671在126.com <seer671在126.com> 写道: > > 在windows下安装好了apache 2.2.4,python2.5和moin1.5.7。 > 在浏览器里输入http://localhost:8080 apache正常 > 在python里 import MoinMoin没有出现任何异常信息。 > > 1.配置moin > 按照官方手册上的步骤,将Wiki Instance配置在D:\project\moin\mywiki目录下 > 在D:\project\moin\mywiki\wikiconfig.py中,配置如下 > sitename = u'mywiki' > data_dir = r'D:\project\moin\mywiki\data' > data_underlay_dir =r'D:\project\moin\mywiki\underlay' > allowed_actions = ['DeletePage', 'AttachFile', 'RenamePage', ] > > 2.在apache的httpd.conf中添加 > Alias /wiki/ "C:/Python25/share/moin/htdocs > ScriptAlias /mywiki "D:/project/moin/mywiki/moin.cgi" > ===================================================== > 在浏览器中输入http://localhost:8080/mywiki,提示如下 > You don't have permission to access /mywiki on this server. > apache的日志如下 > [Thu Apr 19 21:05:06 2007] [notice] Apache/2.2.4 (Win32) configured -- > resuming normal operations > [Thu Apr 19 21:05:06 2007] [notice] Server built: Jan 9 2007 23:17:20 > [Thu Apr 19 21:05:06 2007] [notice] Parent: Created child process 2340 > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Child process is running > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Acquired the start mutex. > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Starting 250 worker > threads. > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Starting thread to listen > on port 8080. > [Thu Apr 19 21:05:17 2007] [error] [client 127.0.0.1] client denied by > server configuration: D:/project/moin/mywiki/moin.cgi > [Thu Apr 19 21:07:05 2007] [error] [client 127.0.0.1] client denied by > server configuration: D:/project/moin/mywiki/moin.cgi > ===================================================== > 刚刚接触apache,请大家帮忙看看是什么问题。谢谢~~ > > > > > ------------------------------ > 抢注!网易隆重推出新一代免费邮箱 >> <http://www.126.com/> > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20070420/b5d89121/attachment-0001.html
2007年04月20日 星期五 22:48
一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20070420/3476adc1/attachment.html
2007年04月20日 星期五 22:51
ÔÚ07-4-20£¬Hope <lanyig在gmail.com> дµÀ£º > > ¿´moinmoinÖ÷Ò³µÄinstall˵Ã÷¡£ÄãµÄ´íÎóÊÇapacheûÓÐÅäÖöÔ127.0.0.1µÄ·ÃÎÊȨÏÞ¡£Êµ¼ÊÉÏstandaloneµÄ·þÎñÖ»ÐèÒªmoinmoin±¾Éí¼´¿É£¬×Ô´øÓÐweb > services£¬²»ÐèÒª°²×°apache¡£ ÎÒÒ²ÊÔÁËN±éÁË£¬Ã»³É¹¦! ÓôÃƵúܣ¡ ÔÚ07-4-19£¬seer671在126.com <seer671在126.com> дµÀ£º > > > > ÔÚwindowsÏ°²×°ºÃÁËapache 2.2.4£¬python2.5ºÍmoin1.5.7¡£ > > ÔÚä¯ÀÀÆ÷ÀïÊäÈëhttp://localhost:8080 apacheÕý³£ > > ÔÚpythonÀï import MoinMoinûÓгöÏÖÈκÎÒì³£ÐÅÏ¢¡£ > > > > 1.ÅäÖÃmoin > > °´ÕÕ¹Ù·½ÊÖ²áÉϵIJ½Ö裬½«Wiki InstanceÅäÖÃÔÚD:\project\moin\mywikiĿ¼Ï > > ÔÚD:\project\moin\mywiki\wikiconfig.pyÖУ¬ÅäÖÃÈçÏ > > sitename = u'mywiki' > > data_dir = r'D:\project\moin\mywiki\data' > > data_underlay_dir =r'D:\project\moin\mywiki\underlay' > > allowed_actions = ['DeletePage', 'AttachFile', 'RenamePage', ] > > > > 2.ÔÚapacheµÄhttpd.confÖÐÌí¼Ó > > Alias /wiki/ "C:/Python25/share/moin/htdocs > > ScriptAlias /mywiki "D:/project/moin/mywiki/moin.cgi" > > ===================================================== > > ÔÚä¯ÀÀÆ÷ÖÐÊäÈëhttp://localhost:8080/mywiki£¬ÌáʾÈçÏ > > You don't have permission to access /mywiki on this server. > > apacheµÄÈÕÖ¾ÈçÏ > > [Thu Apr 19 21:05:06 2007] [notice] Apache/2.2.4 (Win32) configured -- > > resuming normal operations > > [Thu Apr 19 21:05:06 2007] [notice] Server built: Jan 9 2007 23:17:20 > > [Thu Apr 19 21:05:06 2007] [notice] Parent: Created child process 2340 > > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Child process is running > > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Acquired the start > > mutex. > > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Starting 250 worker > > threads. > > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Starting thread to > > listen on port 8080. > > [Thu Apr 19 21:05:17 2007] [error] [client 127.0.0.1] client denied by > > server configuration: D:/project/moin/mywiki/moin.cgi > > [Thu Apr 19 21:07:05 2007] [error] [client 127.0.0.1] client denied by > > server configuration: D:/project/moin/mywiki/moin.cgi > > ===================================================== > > ¸Õ¸Õ½Ó´¥apache£¬Çë´ó¼Ò°ïæ¿´¿´ÊÇʲôÎÊÌ⡣лл~~ > > > > > > > > > > ------------------------------ > > ÇÀ×¢£¡ÍøÒסÖØÍƳöÐÂÒ»´úÃâ·ÑÓÊÏä >> <http://www.126.com/> > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070420/265df6f8/attachment.html
2007年04月21日 星期六 09:01
moinmoin下创建一个你自己的目录,copy \data, \underlay ,moin.py wikiconfig.py. 修改moin.py和wikiconfig.py中相应的配置代码. 直接运行moin.py就是standalone模式. 只需要python支持.不需要IIS,apache. moinmoin主页上的step by step实在是很详细了. 通常我看到这种安装手册都很不好意思. 在07-4-20,boyeestudio <boyee118在gmail.com> 写道: > > > > 在07-4-20,Hope <lanyig在gmail.com> 写道: > > > > 看moinmoin主页的install说明。你的错误是apache没有配置对127.0.0.1的访问权限。实际上standalone的服务只需要moinmoin本身即可,自带有web > > services,不需要安装apache。 > > > 我也试了N遍了,没成功! > 郁闷得很! > > > 在07-4-19,seer671在126.com < seer671在126.com> 写道: > > > > > > 在windows下安装好了apache 2.2.4,python2.5和moin1.5.7。 > > > 在浏览器里输入http://localhost:8080 apache正常 > > > 在python里 import MoinMoin没有出现任何异常信息。 > > > > > > 1.配置moin > > > 按照官方手册上的步骤,将Wiki Instance配置在D:\project\moin\mywiki目录下 > > > 在D:\project\moin\mywiki\wikiconfig.py中,配置如下 > > > sitename = u'mywiki' > > > data_dir = r'D:\project\moin\mywiki\data' > > > data_underlay_dir =r'D:\project\moin\mywiki\underlay' > > > allowed_actions = ['DeletePage', 'AttachFile', 'RenamePage', ] > > > > > > 2.在apache的httpd.conf中添加 > > > Alias /wiki/ "C:/Python25/share/moin/htdocs > > > ScriptAlias /mywiki "D:/project/moin/mywiki/moin.cgi" > > > ===================================================== > > > 在浏览器中输入http://localhost:8080/mywiki,提示如下 > > > You don't have permission to access /mywiki on this server. > > > apache的日志如下 > > > [Thu Apr 19 21:05:06 2007] [notice] Apache/2.2.4 (Win32) configured -- > > > resuming normal operations > > > [Thu Apr 19 21:05:06 2007] [notice] Server built: Jan 9 2007 23:17:20 > > > [Thu Apr 19 21:05:06 2007] [notice] Parent: Created child process 2340 > > > > > > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Child process is > > > running > > > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Acquired the start > > > mutex. > > > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Starting 250 worker > > > threads. > > > [Thu Apr 19 21:05:06 2007] [notice] Child 2340: Starting thread to > > > listen on port 8080. > > > [Thu Apr 19 21:05:17 2007] [error] [client 127.0.0.1] client denied by > > > server configuration: D:/project/moin/mywiki/moin.cgi > > > [Thu Apr 19 21:07:05 2007] [error] [client 127.0.0.1] client denied by > > > server configuration: D:/project/moin/mywiki/moin.cgi > > > ===================================================== > > > 刚刚接触apache,请大家帮忙看看是什么问题。谢谢~~ > > > > > > > > > > > > > > > ------------------------------ > > > 抢注!网易隆重推出新一代免费邮箱 >> <http://www.126.com/> > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20070421/14cdb558/attachment.html
Zeuux © 2025
京ICP备05028076号