Search results

  1. M

    admin-gui ... bugs

    For CGI scripts, it should be specified inside the script with "#!..." For Perl script, consider using our lsperld. http://www.litespeedtech.com/docs/HowTo_QA.html#qa_perld
  2. M

    admin-gui ... bugs

    It is an optional field which does not require populated. ;-) You don't need to define cgi-apps. The dropdown list should be populated with a prefdefined "CGI Daemon" app when "CGI" is selected, but it is broken right now. You can just click "save", ignore the error message reported and click...
  3. M

    php sapi ? ;)

    Yes, it works in similiar way as Fast CGI SAPI. Cannot call any code that causes blocking inside a non-blocking event driven application. And I don't want to run PHP in another thread, as PHP is not very thread friendly and I don't want the whole server crash with PHP. ;-)
  4. M

    php sapi ? ;)

    Good question. :-) It adds the ability to override configurations via .htaccess or virtual host configuration, just like Apache's mod_php. It is a major security concern to use PHP with Fast CGI SAPI under shared hosting environment. And there are performance advantages over Fast CGI SAPI as...
  5. M

    init-script for gentoo

    Thank you for those updates, end up with a rc script similar to Apache's. ;-) #!/sbin/runscript depend() { need net use mysql dns netmount postgres after sshd } start() { ebegin "Starting LiteSpeed Web Server" "%LSWS_CTRL%" start 2>/dev/null 1>&2 eend $? } stop() {...
  6. M

    init-script for gentoo

    Good, it should be pretty unique for gentoo. ;-) Came up with a simple rc script: #!/sbin/runscript depend() { use net } start() { "%LSWS_CTRL%" start 2>/dev/null 1>&2 } stop() { "%LSWS_CTRL%" stop 2>/dev/null 1>&2 } restart() {...
  7. M

    init-script for gentoo

    Thanks for the link, the differences are pretty dramatic. We will add a dedicate rc script for gentoo later. Is there an easy way to tell the type of Linux distribution? Gentoo or something else? Thanks.
  8. M

    RewriteRule & Contexte

    LSWS will determine whether the rewritten URI is a file path or a url at later stage, but the target path must be somewhere under the document root of that virtual host. LSWS does not allow you to rewrite to an arbitrary location for security reason. You probably need to set document root to...
  9. M

    init-script for gentoo

    Can you please provide more information about this issue? The lsws.rc is a very simple shell script which does not depend on any third party software. Unless the location for rc scripts is not /etc/init.d or /etc/rc.d/init.d on gentoo, it should work fine. Thank you.
  10. M

    RewriteRule & Contexte

    Those rewrite rules should work, make sure you turned on the rewrite engine under the "rewrite" tab. If you already did, please turn on the rewrite log and check the lsws/logs/error.log As to the context, if you upgrade to the official 2.0 release, there should be no problem to use $x in...
  11. M

    Benchmark

    That's always a good idea to use each API in the most efficient way. But there are weaknesses in epoll that make it not as efficient as poll in such intensive performance tests. As epoll API can only handle one file handle at a time, there are too many kernel/user land context switches. For...
  12. M

    Upgrading to the release version

    It wont if upgrade mode is selected.
  13. M

    Benchmark

    It is just the opposite, we tried sysepoll, the score is lower than using poll() for the concurrent levels we test, not only for lighttpd, same thing with litespeed and other web server we tested before like the 'userver'. You probably see benefit of sys_epoll for concurrent level at 10,000...
  14. M

    Benchmark

    Not only LSWS, by default, Apache can only have 255 concurrent connections, but they still be able to survive on the 1000 concurrent level test. That is true that at give time, Standand Edition can have 300 concurrent connections at most. However, it can more clients when it does not keep...
  15. M

    Upgrading to the release version

    How about run the install.sh again? ;-)
  16. M

    questions about the enterprise version ...

    Addressed. There will be special code in Enterprise to tightly integrate with our load balancer for the high availability feature, like heart beats, auto restart, etc. Which is not available with other products.
  17. M

    Bug ? or low performance ?.....

    The bottle neck is in PHP, the faster PHP runs, the bigger performance difference with litespeed will be.
  18. M

    questions about the enterprise version ...

    Load balancing is not available yet. Maybe next in major release. True high availability will be available when our dedicate load balancer is ready. However, all of our product offers 0 download time, restart, configuration apply, even software upgrade, if the server hardware does not fail, it...
  19. M

    Request: Uploading text files for ip block lists

    If that is the case, just change the configuration file directly. I not sure the configuration will allow that many IPs listed, as the length of a confiuration is limited. :-) Normal user will not have thousands of IPs on its black list.
Top