Python论坛  - 讨论区

标题:[python-chinese] 设置django里面的mod_python

2007年12月18日 星期二 17:37

Xian Chen hoganxian在gmail.com
星期二 十二月 18 17:37:06 HKT 2007

Hi£¬

±ÈÈç˵ÎÒµÄtest app·ÅÔÚc:python25\scripts\newtestÀïÃæ£¬

ÏÂÃæÕâ¶ÎÓ¦¸ÃÔõôд£¿



SetHandler python-program
PythonPath "['c:\Python25\Scripts\newtest']"
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE myproject.settings
PythonDebug On


ÿ´Î¶¼Êdzö´í£¬¼±ËÀÁË...
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071218/3a15fa8c/attachment.htm 

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

2007年12月18日 星期二 17:53

 itanyx在gmail.com
星期二 十二月 18 17:53:03 HKT 2007

越看越迷糊

我现在看着汉字不像汉字了

在07-12-18,Xian Chen <hoganxian在gmail.com> 写道:
>
> Hi,
>
> 比如说我的test app放在c:python25\scripts\newtest里面,
>
> 下面这段应该怎么写?
>
>
> 
> SetHandler python-program
> PythonPath "['c:\Python25\Scripts\newtest']"
> PythonHandler django.core.handlers.modpython
> SetEnv DJANGO_SETTINGS_MODULE myproject.settings
> PythonDebug On
> 
>
> 每次都是出错,急死了...
>
>
>
> _______________________________________________
> 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/20071218/0d705f7a/attachment.html 

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

2007年12月18日 星期二 19:31

Xian Chen hoganxian在gmail.com
星期二 十二月 18 19:31:07 HKT 2007

û˵Çå³þ£¿£¿

¾ÍÊÇÔõô¸ÄapacheµÄconfigÎļþ°¡


On 12/18/07, ¾ö <itanyx在gmail.com> wrote:
>
> Ô½¿´Ô½ÃÔºý
>
> ÎÒÏÖÔÚ¿´×źº×Ö²»Ïñºº×ÖÁË
>
> ÔÚ07-12-18£¬Xian Chen <hoganxian在gmail.com> дµÀ£º
> >
> > Hi£¬
> >
> > ±ÈÈç˵ÎÒµÄtest app·ÅÔÚc:python25\scripts\newtestÀïÃæ£¬
> >
> > ÏÂÃæÕâ¶ÎÓ¦¸ÃÔõôд£¿
> >
> >
> > 
> > SetHandler python-program
> > PythonPath "['c:\Python25\Scripts\newtest']"
> > PythonHandler django.core.handlers.modpython
> > SetEnv DJANGO_SETTINGS_MODULE myproject.settings
> > PythonDebug On
> > 
> >
> > ÿ´Î¶¼Êdzö´í£¬¼±ËÀÁË...
> >
> >
> >
> > _______________________________________________
> > 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/20071218/6292f1ad/attachment.html 

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

2007年12月18日 星期二 19:41

free.won freefis在gmail.com
星期二 十二月 18 19:41:43 HKT 2007

 ͬÇóÁ˽â

-- 
deSign thE  fuTure
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071218/48a2e8d5/attachment.html 

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

2007年12月18日 星期二 19:47

free.won freefis在gmail.com
星期二 十二月 18 19:47:28 HKT 2007

 ÎÒ ÔÚ ÂÛ̳Àï¿´²»µ½ÎÒµÄ ·¢ÑÔ  ûˢУ¿



-- 
deSign thE  fuTure
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071218/244fbd39/attachment-0001.html 

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

2007年12月18日 星期二 21:12

vcc vcc在163.com
星期二 十二月 18 21:12:09 HKT 2007

问题应该在SetHandler, 应该SetHandler mod_python
  ----- Original Message ----- 
  From: Xian Chen 
  To: python-chinese at lists.python.cn 
  Sent: Tuesday, December 18, 2007 5:37 PM
  Subject: [python-chinese] 设置django里面的mod_python


  Hi,

  比如说我的test app放在c:python25\scripts\newtest里面,

  下面这段应该怎么写?


  
  SetHandler python-program
  PythonPath "['c:\Python25\Scripts\newtest']"
  PythonHandler django.core.handlers.modpython
  SetEnv DJANGO_SETTINGS_MODULE myproject.settings
  PythonDebug On
  

  每次都是出错,急死了...





------------------------------------------------------------------------------


  _______________________________________________
  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/20071218/daa2943d/attachment.html 

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号