Disabling X-Sendfile in Ruby Apps

By default LiteSpeed supports X-Sendfile internal redirects for Ruby on Rails, but for shared hosting environments, that can trigger problems. For example, the user will not have permissions to access the Redmine directory.

Solution

Go to your Redmine folder and put the following in the .htaccess file:

SetEnv RACK_NO_XSENDFILE 1

Note: This is an example for Redmine but you can use the same solution in any Ruby on Rails application.

 
litespeed_wiki/cloudlinux/disable-xsendfile-in-redmine.txt · Last modified: 2018/06/28 14:17 by Lisa Clarke