简体   繁体   English

适用于Windows的Apache 2和Python 2.6的mod_wsgi

[英]mod_wsgi for windows with apache 2 and Python 2.6

I am using apache 2.0.64 and python 2.6. 我正在使用apache 2.0.64和python 2.6。

There is mod_wsgi version avialable for apache 2.2. 对于Apache 2.2,有可用的mod_wsgi版本。 I have integrated it successfully. 我已经成功整合了它。 But I want to configure it with apache 2.0. 但是我想用apache 2.0来配置它。 Because of some other dependency I had to down grade my apache version into 2.0. 由于其他一些依赖性,我不得不将我的apache版本降级为2.0。

When I am trying to ingrate "mod_wsgi-win32-ap22py26-3.3.so" with apache 2.0, it gives module load error. 当我尝试使用apache 2.0合并“ mod_wsgi-win32-ap22py26-3.3.so”时,它会给出模块加载错误。 There are number of downloads available at mod_wsgi download page. mod_wsgi下载页面上有许多下载。

http://code.google.com/p/modwsgi/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+Size+DownloadCount http://code.google.com/p/modwsgi/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+Size+DownloadCount

Is anyone know the mod_wsgi version compatible with apache 2.0 and python 2.6? 有人知道mod_wsgi版本与apache 2.0和python 2.6兼容吗?

The "ap22" portion of the filename suggests that the module is built for Apache 2.2, methinks, and thus will only work with a v2.2 build. 文件名的“ ap22”部分表明该模块是为Apache 2.2(方法)构建的,因此仅适用于v2.2构建。

I don't see on that page any built for Apache 2.0... Can you compile your own? 我在该页面上看不到任何为Apache 2.0构建的...您可以自己编译吗?

I'm having the same problem, but the fact is, mod-wsgi ver 3.3 does not work with Apache 2.4. 我遇到了同样的问题,但事实是,mod-wsgi ver 3.3不适用于Apache 2.4。 Also, the binaries given on that page specify that the binaries are for 32-bit systems. 另外,该页面上给出的二进制文件还指定二进制文件适用于32位系统。 So, if you're running a 64-bit system, you will need 64-bit binary .so file. 因此,如果您正在运行64位系统,则将需要64位二进制.so文件。 So, you're better going around compiling the source code. 因此,最好是编译源代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM