2007年10月03日 星期三 10:17
兄弟,你说对了!的确是这几行的问题,可能是module不能重复出现,改到主配置文件就没事 :) 在07-9-29,高超 <achaoge在gmail.com> 写道: > > On 9/26/07, John fractal <johnfractal在gmail.com> wrote: > > > > 有人遇到过这样的问题么…… > > > > 我的配置大概是这样的:有2个django写的网站,在同一台服务器上配置到不同的域名, > > 为了管理方便起见,我建立了2个linux帐号,把2个网站的代码分开保存,每个网站写了一个如下的配置 > > > > server.modules += ( > > "mod_rewrite", > > "mod_fastcgi", > > ) > > > 有没有可能是这儿的问题?这儿可能写到主配置文件中比较好。 > > [snip] > > > > _______________________________________________ > 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/20071003/919b2cfa/attachment.html
2007年10月08日 星期一 11:10
这东西windows下的配置怎么写?让fastcgi支持python? 在07-10-3,John fractal <johnfractal at gmail.com> 写道: > > 兄弟,你说对了!的确是这几行的问题,可能是module不能重复出现,改到主配置文件就没事 :) > > 在07-9-29,高超 <achaoge at gmail.com> 写道: > > > > On 9/26/07, John fractal <johnfractal at gmail.com> wrote: > > > > > > 有人遇到过这样的问题么…… > > > > > > 我的配置大概是这样的:有2个django写的网站,在同一台服务器上配置到不同的域名, > > > 为了管理方便起见,我建立了2个linux帐号,把2个网站的代码分开保存,每个网站写了一个如下的配置 > > > > > > server.modules += ( > > > "mod_rewrite", > > > "mod_fastcgi", > > > ) > > > > > > 有没有可能是这儿的问题?这儿可能写到主配置文件中比较好。 > > > > > > [snip] > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20071008/d4448b52/attachment.html
2007年10月11日 星期四 16:02
用ip+port
运行后台 ./manage.py runfcgi method=threaded host=127.0.0.1 port=3033
lighttpd.conf可以参考django官方的文档
# Use host / port instead of socket for TCP fastcgi
# "host" => "127.0.0.1",
# "port" => 3033,
"socket" => "/home/user/mysite.sock",
:)
在07-10-8,Wu MingChao <pykandrcn在gmail.com> 写道:
>
> 这东西windows下的配置怎么写?让fastcgi支持python?
>
> 在07-10-3,John fractal <johnfractal在gmail.com> 写道:
> >
> > 兄弟,你说对了!的确是这几行的问题,可能是module不能重复出现,改到主配置文件就没事 :)
> >
> > 在07-9-29,高超 <achaoge在gmail.com> 写道:
> > >
> > > On 9/26/07, John fractal < johnfractal在gmail.com> wrote:
> > > >
> > > > 有人遇到过这样的问题么……
> > > >
> > > > 我的配置大概是这样的:有2个django写的网站,在同一台服务器上配置到不同的域名,
> > > > 为了管理方便起见,我建立了2个linux帐号,把2个网站的代码分开保存,每个网站写了一个如下的配置
> > > >
> > > > server.modules += (
> > > > "mod_rewrite",
> > > > "mod_fastcgi",
> > > > )
> > >
> > >
> > > 有没有可能是这儿的问题?这儿可能写到主配置文件中比较好。
> > >
> > >
> > > [snip]
> > >
> > >
> > >
> > > _______________________________________________
> > > 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/20071011/9ac45c7d/attachment.htm
Zeuux © 2025
京ICP备05028076号