Search results

  1. S

    how to retrieve environment variables in servlet

    I have an external app (of type servlet engine) that I use to connect litespeed to a backend jboss server. When litespeed sends an incoming request on to JBoss, I would like to send along an environment variable. I see in the litespeed servlet engine config how to set this up, but I don't know...
  2. S

    proxy to web server - initial load slow.

    Well, I still don't know what was going wrong with the proxy, but I moved to using the ajp connector (servlet), using a context, and it works fine.
  3. S

    proxy to web server - initial load slow.

    I am setting up a litespeed server to serve as a reverse proxy to a jboss server. The jboss server is listening on port 8080. When I go to jboss directly by hitting port 8080, the login page for my gwt app loads in approximately one second. But, when I go through the litespeed proxy, it...
  4. S

    sending static files from Rails using litespeed

    On my rails site, (served by Litespeed) I have a number of pdf files that should be accessible to members only. Currently I have them located in a subdirectory of the rails "public" directory. This, of course, does not restrict access to them. Within rails, I could call the send_file...
  5. S

    sending static files from Rails using litespeed

    On my rails site, (served by Litespeed) I have a number of pdf files that should be accessible to members only. Currently I have them located in a subdirectory of the rails "public" directory. This, of course, does not restrict access to them. Within rails, I could call the send_file...
  6. S

    dispatch.lsapi doesn't run from command line

    also Also, I forgot to mention that I can run the test application fine using Webrick. Shelby
  7. S

    dispatch.lsapi doesn't run from command line

    I have a new Ubuntu installation with ruby/rails and litespeed. I installed ruby using the Synaptic package manager, then rails and the litespeed lsapi using gems. I have litespeed setup, and it serves a static html page on a virtual host just fine. I was following the wiki manual install...
  8. S

    litespeed plus rails memory usage

    I am not an advanced user, and am somewhat confused about memory usage. I have a server machine with 2 gig RAM that only runs litespeed version 2.2), nothing else. I have about 20 virtual hosts, and about 10 rails webapps, 5 of which are kind of big. When I start the server, and look at the...
  9. S

    two CA intermediate certs

    I appended the two CA certs into one file and that worked... Thanks! Shelby
  10. S

    two CA intermediate certs

    I have SSL running well on a couple of domains with my litespeed server. The certs were from godaddy and they sent along one intermediate CA cert. I listed that file under the Listener -> SSL tab in the CA Certificate box. Well, I just got a new cert from godaddy, and this time they sent...
  11. S

    long running process

    I have a rails webapp that has one action that sometimes takes a long time to complete. Usually less that 10 minutes, but sometimes more than 5. (it is doing a lot of work :) After 5 minutes LiteSpeed is sending a 508 - server timed out page, but I can see (from top) that the ruby process is...
  12. S

    binding question

    I am running a server with standard edition version 2.2. I had the server in my home, testing and loading it with web pages and ruby apps. All was working well. At first, I had it set to private IP address space, then before the move, I changed it to the public IPs that I would use when I put...
  13. S

    rails applications and dual core processor

    I am using the standard version 2.2 and running on a single processor, two core machine. I think I understand that the standard version of LiteSpeed will only use one of the cores. Is that right? What about all those ruby processes that run my rails apps? Are they limited to one core only...
  14. S

    Ruby tab in new version

    When I first installed LiteSpeed, I was running version 2.1.20. I created Ruby web applications as using the General, External Apps, and Context tabs under virtual hosts. More recently, I upgraded to version 2.2. Now I see a "Rails" tab when I select "Server". What is the relationship of the...
  15. S

    ssl configuration

    Thanks! That fixed it. Shelby
  16. S

    ssl configuration

    Hello - I am trying to get one of my domain's web application to work with ssl. I think I have the listener's SSL configuration set correctly, but the message I get back from Firefox is "Firefox and xxx.xxx.com cannot communicate securely because they have no common encryption algorithms."...
  17. S

    can't get rails app to run with lsapi

    success I removed the custom 404 handler, and added the rewrite rules, and it works. Thanks so much for all your help. Shelby
  18. S

    can't get rails app to run with lsapi

    partial success I think I did not know to turn on auto start. Now I can bring up the first web page of my site, which is a login page. I changed the Rails environment in the server to development, so I could see the error messages... There is some kind of problem with the routing of...
  19. S

    can't get rails app to run with lsapi

    a bit of progress I installed the ruby-lsapi by hand - downloaded version 1.4 and installed the tar.gz file manually. Now when I run the dispatch.lsapi from the command line, the error in the above message is gone, and I see in the terminal: /usr/local/lib/site_ruby/1.8/i486-linux/lsapi.so...
  20. S

    can't get rails app to run with lsapi

    dispatch.lsapi I tried to run dispatch.lsapi from the command line. The first thing I realized is that dispatch.lsapi expects ruby to be in /usr/local..., but mine is in /usr, so I fixed that. Then I ran it again, and I got this error, which I do not understand...
Top