mod_xsendfile为Win 64? [英] mod_xsendfile for Win x64?

查看:249
本文介绍了mod_xsendfile为Win 64?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Windows上安装(7)64(使用Apache 2.2)的mod_xsendfile Apache模块 - 是的,我注定从一开始走的,我知道:-)。显然有:

I'm trying to install the mod_xsendfile Apache Module on Windows (7) x64 (using Apache 2.2) -- yes I'm doomed from the get-go, I know :-). Apparently there is :

一)未胜的x64二进制文件mod_xsendfile,刚刚从模块的网站

a) No Win x64 binary for mod_xsendfile, just a Win32 binary from the module's website

b)不赢的x64二进制从 ApacheLounge

b) No Win x64 binary for apxs from ApacheLounge

我试过通常的的LoadModule xsendfile_module模块/ mod_xsendfile.so 但半明显的错误(的httpd:对127行语法错误C:/Apache/conf/httpd.conf:无法加载C:/Apache/modules/mod_xsendfile.so成
服务器:该指定的模块找不到
)时,它不会赢得64兼容

I've tried the usual LoadModule xsendfile_module modules/mod_xsendfile.so but the semi-obvious error (httpd: Syntax error on line 127 of C:/Apache/conf/httpd.conf: Cannot load C:/Apache/modules/mod_xsendfile.so into server: The specified module could not be found.) occurs, it's not Win x64 compatible.

问题仍然是 - 一个人如何构建针对x64模块是,即使可能吗?我有VS和可能需要的任何工具。

The question remains -- how does one build the module for x64, is that even possible ? I have VS and any tools that might be required.

我只是想看看这是否会提高我的Rails保护的附件下载速度 - 现在已经相​​当可怕的速度进行简单的图像

I just wanted to see if this would improve my Rails protected attachment download speed - currently getting quite ghastly speeds for simple images.

感谢你在前进!

推荐答案

我mod_xsendfile的作者。

I'm the author of mod_xsendfile.

我提供的win32二进制文件只是作为一个礼貌。我还是建议你从源代码构建自己。这样,你可以肯定的是二进制文件不被篡改,甚至不是由我:P

I provide win32 binaries only as a courtesy. I still recommend you build yourself from the source. That way you can be sure the binary isn't tampered with, not even by me :p

目前没有任何正式的Win64的的Apache2(或2.2)从Apache基金会的基础之上。由于测试我对建立官方的二进制文件我不能肯定,一旦释放基础Win64的官方二进制文件的二进制文件的工作。因此,Win64中没有从我这里建立

There are currently no official Win64 Apache2 (or 2.2) builds from the Apache Foundation. Since I test my builds against the official binaries I cannot be sure the binaries will work once the foundation releases official Win64 binaries. Hence no Win64 builds from me

从源大厦pretty多少直接的,如果你没有新手(在Windows的情况下)的Visual Studio。二进制文件ZIP和/或我的GitHub库包含您可以导入到你的Apache的解决方案的项目文件。有人告诉我,即使是免费的Visual Studio前preSS应该够做的工作基础之上。事情是开源的。
如果有意外的可移植性问题,我欢迎补丁;)

Building from the source is pretty much straight-forward if you aren't novice to (in the Windows case) Visual Studio. The binaries ZIP and/or my github repo contain project files you may import into your Apache solution. I was told even the free Visual Studio Express should be enough to do working builds. The thing is open source. Should there be unanticipated portability problems, I welcome patches ;)

作为最后的手段,你仍然可以在一个Win64的设备上运行的官方的Win32的apache + mod_xsendfile。

As a last resort you can still run the official Win32 apache + mod_xsendfile on a Win64 box.

这篇关于mod_xsendfile为Win 64?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆