This is an old revision of the document!


Potential problem

By default LiteSpeed support X-Sendfile or X-Accel-Redirect internal redirects for Ruby on Rails but for shared hosting environment that can trigger problems like the fact that the user will not have permissions to access the redmine directory.

Solution

Go to you redmine folder and put that in the .htaccess file:

 SetEnv RACK_NO_XSENDFILE 1 

Additionally information

This is an example for redmine but you can use that in any Ruby on Rails application.

  • Admin
  • Last modified: 2018/06/27 12:42
  • by Tihomir