Search results

  1. Z

    Ruby Rack adapter request

    Seems it's already in the official repository ( see http://chneukirchen.org/repos/rack/lib/rack/handler/ ), maybe thanks to aemadrid.
  2. Z

    Ruby Rack adapter request

    Thanks a lot mistwang and aemadrid. Problem solved - i used the aemadrid code. Working + no need to reinvent the wheel ;). Just a small question (or maybe i need to repost it in the usual RoR forum, not here): Need I to create different socket for every external application I started in that...
  3. Z

    Ruby Rack adapter request

    What i've done until now: 1. Handler modified: require 'lsapi' module Rack module Handler class Litespeed def self.run(app, options=nil) while LSAPI.accept != nil serve app end end def self.serve(app) env = ENV...
  4. Z

    Ruby Rack adapter request

    Rack [ http://rack.rubyforge.org/ ] - provides an minimal interface between webservers supporting Ruby and Ruby frameworks. Almost all recently releazed ruby frameworks (Ramaze, Sinatra etc.) using it. Creating LSAPI adapter for it will enable all of them (and the new onces comming) to run on...
  5. Z

    lsapi on remote hosts? / load balancing

    I think maybe it's a little overload to have a feature rich web server like a litespeed on every node. mongrel acts mostly like an APPLICATION server, and all proxing/static files serving happends on the balancer with lsws. btw, i'm interesed how is rails caching/sessions handled in your...
  6. Z

    lsapi on remote hosts? / load balancing

    If you want to scale (use several machines) better use litespeed + mongrel cluster: http://mongrel.rubyforge.org/docs/litespeed.html http://litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:ruby_rails_mongrel
  7. Z

    Trac + Litespeed

    Hi, I installed Trac on my ubuntu dapper box, following these instructions. Everything working very well. Just there is still one more step - how to trigger HTTP Authentication box on /projects/xxxxx/login. With Apache it is releazed with: <Location "/proj/login"> AuthType Basic...
  8. Z

    503 error trying to access admin server

    Can tell you after several hours (haven't my OS X 10.3 system now). litespeed-2.1.17 working without any problems on OS X 10.4, so maybe it's something 10.3 specific.
  9. Z

    503 error trying to access admin server

    Same here, OS X 10.3.9, Litespeed-2.1.17 (Standard) From the logs (stderr.log): dyld: admin_php Undefined symbols: admin_php undefined reference to _statvfs expected to be defined in /usr/lib/libSystem.B.dylib
  10. Z

    Add header when proxing

    Thank you very much. You made my day :) Just for the record (maybe can help somebody) - what I'm doing in the moment: # app/controller/application.rb def require_ssl env['HTTPS'] = 'on' unless (@request.ssl? or local_request?) end # app/controller/othercontroller.rb before_filter...
  11. Z

    Add header when proxing

    Hi, I'm using litespeed-2.1.16 to proxy requests to backend web server (Ruby on Rails with Mongrel). When using HTTPS I need to add a special header to the request, so the backend server will understand that the initial request is over HTTPS. For example with pound reverse proxy (see...
Top