Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cloudlinux:disable-xsendfile-in-redmine [2018/06/28 14:17]
Lisa Clarke Proofreading
litespeed_wiki:cloudlinux:disable-xsendfile-in-redmine [2025/05/21 18:17] (current)
Lisa Clarke Redirect to new Documentation Site
Line 1: Line 1:
-====== Disabling X-Sendfile in Ruby Apps ====== +~~REDIRECT>​https://​docs.litespeedtech.com/cp/cpanel/ts-cloudlinux/#​disable-x-sendfile-for-ruby~~
-By default LiteSpeed supports X-Sendfile internal redirects for Ruby on Rails, but for shared hosting environments,​ that can trigger problemsFor 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.+
  • Admin
  • Last modified: 2025/05/21 18:17
  • by Lisa Clarke