How to enable boot using X-sendfile in rails3 from a directory other than a public directory?

I have enabled the XSendFile module in Apache 2 running on Ubuntu 10.04. I added the directive XSendFile onand successfully restarted the Apache server. When I add the directive XSendFilePath /path/to/dirand restart Apache, I get the following error:

Invalid "XSendFilePath" command may have been written in error or determined by a module not included in the server configuration

Not sure what I am doing wrong?

+5
source share
2 answers

In 10.04 Lucid, the default version of XSendFile installed by apt is 0.9.2:

http://packages.ubuntu.com/lucid/libapache2-mod-xsendfile

XSendFilePath XSendFileAllowAbove 0.1.0, 0.9.2:

https://tn123.org/mod_xsendfile/

XSendFileAllowAbove, - 0.1.0

+7

x-sendfile apache? "apachectl -M", . , , . https://tn123.org/mod_xsendfile/

+3

All Articles