hi, jxtm
this group is english, you can't repley  with Chinese :) lots of peoples do
not understand that

On 10/31/07, 剑心通明 <[EMAIL PROTECTED]> wrote:
>
> 现在可以启动lighttpd了,但是浏览127.0.0.1的时候,CMD窗口会报错。。
>
> <mod_fastcgi.c.3337)fcgi: got a pdevent_err.Don't know why.
>
> 在百度上没找到出错信息是什么意思。。。
>
>
> ------------------
>
> /* -------------------------------------------------------
>     网名: 剑心通明
>     QQ:  55025
>     邮箱: [EMAIL PROTECTED]
>   -------------------------------------------------------- */
>
>
> ------------------ 原始邮件 ------------------
>  *发件人:* "The Dod"<[EMAIL PROTECTED]>;
> *发送时间:* 2007年10月30日(星期二) 晚上08:04
> *收件人:* "web.py"<[email protected]>;
>  *主题:* [webpy] Re: webpy fastcgi with lighttpd
>
>
> That's the way it works for me at
> http://zzzen.jottit.com/webpy_on_lighttpd
> [ notice the "/" => ( ... ]
>
> fastcgi.server = ("/test1" => (
>     "/" => (
>         "bin-path" => "/path/to/this/code.py",
>         "socket"          => "/tmp/test1.socket",
>         "max-procs"       => 1,
>         "check-local" => "disable"
> )))
>
> On Oct 29, 8:41 pm, 准备早起的鸟 <[EMAIL PROTECTED]> wrote:
> > code.py:
> >
> > #!/usr/bin/python
> > import web
> >
> > urls = (
> >     '/(.*)', 'hello'
> > )
> >
> > class hello:
> >     def GET(self, name):
> >         i = web.input(times=1)
> >         if not name: name = 'world'
> >         for c in xrange(int(i.times)): print 'Hello,', name+'!'
> >
> > if __name__ == "__main__": web.run(urls, globals())
> >
> > lighttpd.conf:
> >
> > fastcgi.server = ( "/code.py" =>
> >      (( "socket" => "c:/windows/temp/fastcgi.socket",
> >         "bin-path" => "D:/web/LightTPD/htdocs/code.py",
> >        "max-procs" => 1,
> >        "bin-environment" => (
> >         "REAL_SCRIPT_NAME" => ""
> >        ),
> >        "check-local" => "disable"
> >      ))
> >      )
> >
> >      url.rewrite-once = (
> >        "^/(.*)$" => "/code.py/$1",
> >      )
> >
> > start webserver has a error:
> > <mod_fastcgi.c.999> execve failed for: d:/web/lighttpd/htdocs/code.py
> > No such file or directory
> > <mod_fastcgi.c 1025> the fastcgi-backend d:/web/lighttpd/htdocs/
> > code.py failed to start:
> > <mod_fastcgi.c 1029> child exited with status 2 d:/web/lighttpd/htdocs/
> > code.py
>
>
>
>
> >
>


-- 
坚决要以貌取人!
最好的推广便是实际应用, 并加"powered by abc..."
找python虚拟主机
http://groups.google.com/group/python-cn
http://webpy.org
http://twitter.com/qichangxing
Gtalk: iexper(at)gmail.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to