Search results

  1. M

    LoadError with Rails

    Does the error happen when the next request comes in and causes the request to fail, or it happens when the children ruby process exit after "LSAPI_MAX_IDLE", just got a exception logged into the log file? How about preload the those classes in your environment.rb?
  2. M

    Rails MySQL disconnects

    ruby-lsapi has built-in process manager to dynamically start and stop children ruby processes, the Lost DB connection exception might be thrown when one children process exit. However, it only happen when the ruby process is idle and waiting for next request, there should not be any active SQL...
  3. M

    Litespeed stops working

    It is time to upgrade to 3.1.1 release. :)
  4. M

    Setting up External App Context

    location should be set to "$DOC_ROOT/index.html", and use "Froce MIME Type" instead of "MIME Type"
  5. M

    LiteSpeed on OpenSolaris

    Maybe we should stop offering the free standard edition if most of our standard edition users think this way. We will see. On the other hand, the 64bit enterprise binary does work well, the upcoming vps offeringis plus monthly subscription make it even more affordable. We don't see the need...
  6. M

    Static Files Not Compressing

    If set to "No", LiteSpeed will not try to compress static file by itself, the compressed file need to be created manually. That should be enough, please double check the permission of parent directories.
  7. M

    LiteSpeed on OpenSolaris

    Are you having this issue now on Joyent accelerator? It might be able to be addressed by building LiteSpeed for the newer version of Solaris, but we'd rather not to keep adding binaries for Solaris, it is a big pain to maintain all of them for a small user base.
  8. M

    Method not allowed with POST

    We will leave it as it might be helpful for others who have the similar issue.
  9. M

    Static Files Not Compressing

    Auto update static should be yes, only thing could goes wrong is the permission. try create a file in the static file directories as the user that lshttpd run as. If the static file does not change often, you can manually construct the compression cache by using lsws/admin/mics/gzipStatic.sh
  10. M

    Setting up External App Context

    Please try a matching context "exp:^/(index.html)?$", make sure the sequence order of this context is "1".
  11. M

    Some Litespeed newbie questions

    Answers 1. No. You need to upgrade manually, however the binary for the new release is available. 2. It should be fine, APC for 64bit is available. 3. You need to get them from their source package, for now. 4. Depends on how many concurrent requests for dynamic content is served and the same...
  12. M

    Stopped virtual hosts do not stay stopped

    That's as designed, you need to remove listener to vhost mapping if you want to stop the vhost even after restart.
  13. M

    1 Instances

    That's normal. LSWS start one instance of PHP, and that process can fork up to 20 children PHP process to handle 20 PHP requests at the same time.
  14. M

    Setting up External App Context

    Yes, something like that.
  15. M

    Setting up External App Context

    Does index.html exist? I don't understand why it is served as 404, maybe you should turn on debug logging. rewrite rules at vhost level does not have a rewrite base, you need to fix the last rewrite rule by giving the full URI. You can force the MIME type by using rewrite rule as well. That's...
  16. M

    Setting up External App Context

    OK, we will check the "Force MIME Type" configuration, let's try a different approach now, remove "Force MIME Type" configuration, set "Add MIME Type" with "application/x-httpd-php .html".
  17. M

    Setting up External App Context

    Is there a script handler defined for ".php"? make sure to clear your browser cache.
  18. M

    Domain preview

    Yes, it is a better way to me. :)
  19. M

    Proxy to Admin Listener

    Noop, admin console will not work with URL prefix linke /litespeed, you have to dedicate a subdomain for that.
  20. M

    Setting up External App Context

    Yeah, just create a static context with uri "/index" then set the "Force MIME Type" to "application/x-httpd-php".
Top