Search results

  1. M

    Rails Caching

    Not sure what cause that, the URL must be exactly as the the file name, index file should be set properly. You can turn on debug logging see what exactly is happening.
  2. M

    Installing Awstats afterward

    run "lsws/admin/misc/awstats_install.sh" instead. :-)
  3. M

    Rails error messages are returned with status 200 instead of 500

    I tried this, the my founding is interesting. I made some error in a controler code intentionally, so rails will produce a 500 Error page. When I run it in development mode, both mongrel and litespeed return 500 page, however, when I switch to production mode, rails return a page with 200, for...
  4. M

    LSAPI: idle processes are removed after a while

    For ruby-lsapi, that is because a lsapi ruby worker process only idle for 60 secs by default, you can set environment variable "LSAPI_MAX_IDLE=xxx" to increase it. For PHP FCGI connection, it probably because the TCP connection has been timed out. When number of active connections reaches...
  5. M

    Rails Logging problem

    This could happen when a reqest was cancel before it being processed by the backend rails engine. Maybe we could void logging canceled requests.
  6. M

    How to uninstall

    lsws/admin/misc/uninstall.sh, if anything leftover in lsws directory, just delete them.
  7. M

    Anything like suPHP supported?

    Please check this out http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:cgi_fcgi_lsapi_php_suexec
  8. M

    Running PHP 4 and 5 in parallel

    And both FCGI PHP and LSAPI PHP with LiteSpeed is faster than Apache's mod_php. LSAPI PHP is the fastest. Apache's mod_fastcgi is not as fast as ours. Please checkout our benchmark page.
  9. M

    Configuration doesn't accept path

    "Ruby path" is the path to "ruby" executable, most likely it is /usr/local/bin/ruby on your server. :-)
  10. M

    Litespeed alongside Apache and Plesk? (for Rails)

    Yes, it is possible to use Litespeed for all our Rails sites and keep Apache as long as there is no confliction in "IP:PORT" confliction for listener socket. You can test your rails application with litespeed on the same IP but different port without touching Apache configruation. After making...
  11. M

    Awstats and Rails

    Security is the top priority here, the risk is too high to do that. Another solution is to set AWStats working directory to /home/test/app/current/awstats/, and have Capistrano backup and restore it automatically. I think it is doable.
  12. M

    .htaccess not working

    /etc/ for password file probably is fine, fixed a bug related to authentication configuration in htaccess, fix will be in 2.2.3 release.
  13. M

    Require user xyz

    Fix for this bug will be in 2.2.3 release.
  14. M

    lshttpd 2.2.2 doesn't start on FreeBSD6.1

    Eventually, there will be a native FreeBSD AMD64 release. :)
  15. M

    Awstats and Rails

    It is not possible to turn this security feature off with current release. However, you can change your vhroot from "/home/test/app/current/" to "/home/test", and adjust the path to rails application if it is relative to the vhroot.
  16. M

    ajp servlet load balancing jvmroute support

    This will be supported in our dedicated load balancer product, which is session aware.
  17. M

    Keep-Alive for servlet

    We don't have this problem in our lab, please try leaving "Keep Alive Timeout" unset if you want it to be keepalived forever.
  18. M

    balancer does not balance ... !

    configuration looks fine to me, maybe you can try increase the concurrent level, LSWS uses the first idle cluster node.
  19. M

    lshttpd 2.2.2 doesn't start on FreeBSD6.1

    Looks like something wrong with the IP address detection, the 32bit compatible layer of amd64 may not be complete. Can you try the linux binary instead? FreeBSD has a linux ABI compatible layer.
  20. M

    htaccess not working

    This two should have the same result, but I am not sure why htacess does not work well on your case. If you can avoid using .htaccess, you should avoid it.
Top