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.

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


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

  • Admin
  • Last modified: 2018/06/28 14:17
  • by Lisa Clarke