Search results

  1. M

    can i switch off access log file?

    Soon to be released LSWS 2.1.18 will have the same behavior as Apache on access logging when apache configuration was used by LSWS.
  2. M

    Ruby on Rails: Wiki install Tutorial

    To mount a Rails application at a URL other than the document root, using /typo/ as an example, you need to define a static context /typo/ pointing to <railapp>/public/ folder, define a LSAPI context with URI /typo/dispatch.lsapi, instead of using it as a 404 handler, you have to add context...
  3. M

    ETag

    If you want ETag header, you can generated it from PHP side.
  4. M

    can i switch off access log file?

    http://www.litespeedtech.com/docs/config/vhostgeneral/#aclogUseServer
  5. M

    MySQL client ran out of memory

    There is a bug which ignore the per application limits, will be fixed in next release. In the mean time, you can change the global limit under server->'security'->'CGI resource control'.
  6. M

    MySQL client ran out of memory

    Looks like you need to increase the memory limit at the bottom of your phpLsapi configuration.
  7. M

    anyone monitoring lsws with cacti ? / server-status

    You can parse /tmp/lshttpd/.rtreport :)
  8. M

    php getevn problem

    This is fixed. A new PHP LSAPI package will be available soon. :) However, it is recommended to use $_SERVER[] instead of getenv(), $_SERVER is more portable and faster.
  9. M

    Speed problem downloading large file

    Looks like something wrong with your original dir. Is Apache serving heavy traffic off your original dir? If yes, maybe the disk is too busy serving Apache's requests. You can try make copy of that directory and let LSWS serve from there. See how it goes.
  10. M

    new Apache coexistence option

    Not yet, will add it soon. :-)
  11. M

    Trac + Litespeed

    You should define a CGI context with URI /trac.cgi/login, location is the same, pointing to trac.cgi, as the URL has been rewritten to "/trac.cgi/login", not "/projects/...." any more. Just take a closer look at the Howto, it is possible to replace the CGI setup with FCGI setup, just add a FCGI...
  12. M

    Trac + Litespeed

    I think it should be a CGI context, the context type should follow its parent context to make a context works just like "location" in Apache. However, when I tried a single project Trac setup, I used FastCGI instead of CGI for better performance. Not sure how to implement that on a multiple...
  13. M

    Custom LogFormat

    Yeah, it makes sense. It is not possible with current lsws release, may add it in next release.
  14. M

    litespeed-help-use

    Please read our document first, then if you have more questions, post it here. http://www.litespeedtech.com/docs/install/ You will find that it is really easy with LiteSpeed. :)
  15. M

    Custom LogFormat

    If you choose "User server log", virtual host name will be added automatically in the global access log file.
  16. M

    awstats alias

    Please make sure the access logging has been turned on and using its own log file for that vhost. "/awstats/" alias is added automatically and has higher priority than the "/" proxy context. For running rails, we still recommend our ruby lsapi module which give you the best performance and...
  17. M

    Minor (if rather annoying) Spelling Bug

    Thanks for the bug report, typo fixed. will investigate the not downloading problem
  18. M

    503 error trying to access admin server

    The problem should in the lsphp binary we built on OS X 10.4, you build your own lsphp binary to fix the problem on 10.3, just over write lsws/admin/fcgi-bin/admin_php with your own PHP binary using LSAPI.
  19. M

    Add header when proxing

    That header will be added automatically by LSWS 2.1.17. The new release will be announced soon. Actaully, you can downalod it now.
  20. M

    Licensing question: How is a 4 CPU VPS server licensed

    I think we will figure out something making senses by that time. :) 1-2 cpu license means that lshttpd itself only takes 1 or 2 cpu, so the unused processing power can be used by DB and External application like PHP or Ruby etc. However, for serving mostly static content, 4 CPU is the best match...
Top