Search results

  1. T

    503 and log entry

    I've been having some trouble that some sites on one machine crash, Litespeed gives a 503 after that. I see these entries in the logs: lscgid: setuid(): Resource temporarily unavailable and fork() failed, please increase process limit: Resource temporarily unavailable What could...
  2. T

    Controllers with the same name in different namespaces

    I've been having trouble getting a controller in a namespace with the same name as a controller in the root namespace. A simplified version of the code: ActionController::Routing::Routes.draw do |map| map.resources :editions map.namespace :organizer do |organizer|...
  3. T

    Gzipping of all.js

    Hi, I've noticed that Litespeed gzips /javascripts/all.js, but it does not send a gzipped version if the url is /javascripts/all.js?1201174518 like Rails generates. Is there a workaround for this? Thijs
  4. T

    Using a password realm for a subpath in a Rails context

    I'm trying to put password protection on the /admin part of a Rails app. I only see an option to secure an entire context. Is there a way to secure a subset of a context?
  5. T

    Staging enviroment

    Hi, I'd like to setup a staging rails enviroment. Litespeed only allows you to choose between development and production. Is there a way to set an alternative RAILS_ENV?
  6. T

    sendfile

    I would like to start using the sendfile feature in Litespeed to serve files that are selected from the filesystem by my Rails app. I had a look at the sendfile gem but it's not obvious to me how this could be used with Litespeed. Is there anybody that has tried this?
  7. T

    Awstats and Rails

    I'm setting up the awstats integration, great stuff. I'm running into a problem though. I want to place the awstats folder outside of the document root because the app is deployed by Capistrano and the awstats folder does not stay in the same place. It gives this error...
  8. T

    Feature request: Suexec for rails

    I read the part about Suexec in the wiki, it's a bit cumbersome compared with the default Rails vhost template setup. It would be great if the Rails context screen would have an option to set the user and group for the Ruby processes.
  9. T

    Sending private files

    I'm wondering if Litespeed has feature similar to lighttpd's x-send-file option. If you turn the option on and the Rails app sends a X-LIGHTTPD-send-file header with a path Lighttpd transfers the file to the client. I'm using the send_file Rails method now, but this is quite expensive...
Top