20080823 - windows + apache + mod_python 的安装

django 需要 mod_python,网上可找到很多配置文章,整个过程没有什么可说的,仅有一点:

 

如果 python 不是 Install for all users 安装的,则启动 apache 时会提示:

 

The Apache service named reported the following error: >>> httpd.exe: Syntax error on line 496 of E:/Eric/Apache/conf/httpd.conf: Cannot load E:/Eric/Apache/modules/mod_python.so into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3 . 有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。

 

print '\xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3'


显示为:“找不到指定的模块。”

 

利用注册表和文件监视软件可以观察到这个过程。

 


 

posted on 2008-08-23 20:47  Eric Lee  阅读(574)  评论(0编辑  收藏  举报

导航