Search results

  1. M

    Associating a script with a CGI

    You don't need to create a dedicate rewrite rule for each mvc script, just a generic one can handle all scripts. try something like: RewriteRule /(.*\.mvc?)$ /cgi-bin/mivavm?$1+%{QUERY_STRING} To do what you want.
  2. M

    Something missing?

    Yes, lshttpd does not set SERVER_ADDR, the fix will be in 2.1.8
  3. M

    Associating a script with a CGI

    I think your question is similar to http://www.litespeedtech.com/forum/viewtopic.php?t=163 You can use a rewrite rule to archive this. you need to define a CGI context like /cgi-bin/mivavm Then add a rewrite rule , for example To rewrite /foo.mv to /cgi-bin/mivavm/foo.mv lshttpd...
  4. M

    Failed to open the real time report

    Please check the owner and permission of /tmp/lshttpd, it should be owned by the user that lshttpd run as.
  5. M

    Something missing?

    Are you sure? There should be. I verified with LSAPI PHP 4.4.1.
  6. M

    Perl Chroot'd Environment

    Which linux distribution are you using?
  7. M

    Perl Chroot'd Environment

    I think there still are missing libraries/files that used by perl at runtime, you can try run the lsperd inside jail, it may require a fcgi start, like the "cgi-fcgi" comes with the fastcgi-2.4 package. Please refer its man page. you can try "chroot /chroot strace cgi-fcgi -start <socketaddr>...
  8. M

    Subversion

    Thank you for your confirmation. :-)
  9. M

    2.1.7

    Because LSWS does graceful restart during upgrade, that's the previous instance of lshttpd. The service never been interrupted during the upgrade.
  10. M

    question about load-balancing / benchmarking

    The load balancing algorithm is based on <utilization rate> = <used connections> / <max connections> . So, you can use <max connections> to adjust the work load for each node. Not sure why you only get "reset by peer" error from localhost, please make sure "max connections per ip" has been...
  11. M

    Perl Chroot'd Environment

    You should install perl to /usr/local, then copy required libraries over into the jail.
  12. M

    did anyone manage to get trac to work with litespeed?

    New release has not been fed to our auto-update system yet. You can try it by a manul upgrade. If there is no bug report after a while, we will pull the trigger. :-)
  13. M

    Migration Script

    You can try our Apache migration script. http://www.litespeedtech.com/docs/HowTo_QA.html#qa_apimport Or use our vhost template feature: http://www.litespeedtech.com/docs/HowTo_QA.html#qa_template
  14. M

    Perl Chroot'd Environment

    In addition to the dynamic libraries showed in ldd result, Perl also dynamically load libraries and modules at runtime. You must make sure a command like following works in your chroot jail chroot /chroot perl <your script> If you cannot tell which library is missing from the result...
  15. M

    did anyone manage to get trac to work with litespeed?

    2.1.7 is out, you can give it a try. :-)
  16. M

    hotlink

    Sure, we will add the referrer to the log messages in 2.1.7.
  17. M

    Rewrite not doing anything at all?

    Full URL should be used in rewrite rules at vhost level, in your case, the rewrite rule should be: RewriteRule ^/test$ /index.php?var=test [R] However, when you use rewrite rules in a .htaccess or at context level, you need to specify a parital URL relative to that directory or context, like...
  18. M

    did anyone manage to get trac to work with litespeed?

    Finally figured it out, problem is in its FastCGI interface, it is very sensitive to the trailing '\0' in a FCGI environment variable which sent by LSWS in request method. Fix will be in 2.1.7.
  19. M

    .htaccess problem

    That's strange, if you see any thing like that again, you can try "touch .htaccess" to force litespeed to reload the configuration, should be in effect in 10 seconds.
  20. M

    LiteSpeed & PHP 5.1

    You can try the general patch instead.
Top