Python论坛  - 讨论区

标题:[python-chinese] 请教个moin安装问题

2007年04月19日 星期四 21:12

seer671在126.com seer671在126.com
星期四 四月 19 21:12:03 HKT 2007

 ÔÚ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

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年04月20日 星期五 01:11

Hope lanyig在gmail.com
星期五 四月 20 01:11:49 HKT 2007

看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 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年04月20日 星期五 22:48

HackGou hackgou在163.com
星期五 四月 20 22:48:26 HKT 2007

一个HTML附件被移除...
URL: http://python.cn/pipermail/python-chinese/attachments/20070420/3476adc1/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年04月20日 星期五 22:51

boyeestudio boyee118在gmail.com
星期五 四月 20 22:51:49 HKT 2007

ÔÚ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 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年04月21日 星期六 09:01

Hope lanyig在gmail.com
星期六 四月 21 09:01:58 HKT 2007

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 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号