Search results

  1. M

    How to eliminate the Litespeed footer?

    You can change lsws/shared/autoindex/default.php .
  2. M

    License Failed cannot start

    If it does not work, just send your serial number to sales at litespeedtech dot com
  3. M

    mod_rewrite rules for SilverStripe CMS

    Try this in ".htaccess" RewriteEngine On RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
  4. M

    License Failed cannot start

    Just do a license migration by following the procedure in our documentation. In short bin/lshttpd -m bin/lshttpd -r cp license.key conf
  5. M

    mod_rewrite rules for SilverStripe CMS

    Do you get any rewrite rule in .htaccess?
  6. M

    mod_rewrite rules for SilverStripe CMS

    Change the code to if ( function_exists('apache_get_modules') || stristr($_SERVER['SERVER_SIGNATURE'], 'Apache')|| stristr($_SERVER['SERVER_SIGNATURE'],'LiteSpeed'))
  7. M

    Request Filtering logs

    Those are logged at "INFO" log level, so make sure you set log level to "INFO" or "DEBUG".
  8. M

    ls 3.3 -- error compile php

    We found that "PATH" environment variable has not been set for admin_php, some system will add "PATH" environment automatically, some does not. So, it should be fixed in 3.3.1 release.
  9. M

    ls 3.3 -- error compile php

    Please check if /usr/bin/ld is a real binary executable or a shell wrapper. Maybe 'ld' need something else to run. Looks like we need to add an option to allow user to set custom environment variables.
  10. M

    mod_rewrite rules for SilverStripe CMS

    Actually, just removed it. RewriteRule .* /sapphire/main.php?url=%1&%{QUERY_STRING} [L]
  11. M

    mod_rewrite rules for SilverStripe CMS

    $_SERVER[DOCUMENT_ROOT] is a PHP variable, not a rewrite variable, just replace it with %{DOCUMENT_ROOT}, the rewrite rules should work with LiteSpeed.
  12. M

    Accessing ancester method is fine but asking for child template

    Since we are not full time Ruby/Rails developers, we probably cannot help you much on this, hope there are other RoR developers can help you, however, your question could be get answered questionposting to ruby on rails mailing list.
  13. M

    LSWS 3.3 release build 2

    We found a problem with a newly added gcc optimization parameter for the Enterprise build of all i386 packages, so, we have fixed it and the 3.3 release package has been updated. If you download the 3.3 package before Nov. 19th, please download again.
  14. M

    mod_rewrite rules for SilverStripe CMS

    Or, patch their installer code, search for the code that tests server string "Apache", add code to return true when server signature contains "LiteSpeed".
  15. M

    mod_rewrite rules for SilverStripe CMS

    You can research what rewrite rules are used for Apache, then just copy over.
  16. M

    mod_rewrite rules for SilverStripe CMS

    You can setup it as it was with Apache.
  17. M

    ls 3.3 -- error compile php

    OK, I think I knew what is wrong. The default PATH environment variable under LSWS was set to "/bin:/usr/bin", and other environment variables are cleared out. so "gcc" may fail under LSWS. Where are gcc installed to? What is your PATH environment under shell?
  18. M

    Plans for ESI support?

    That feature has been on top of our to-do list for a while. I guess we can dedicate some time for this after the current 3.3 release settled. :)
  19. M

    How to set environment variables in Rails context

    Maybe there are other required environment variable. Or the memory limit need to be increased as JVM is pretty demanding on memory. you need to get a better idea about what exactly goes wrong, try "strace -f" the ruby process that is going to process the request using a JVM.
  20. M

    VPS Optimization

    The LSWS has no clue about the percentage of CPU time of one processor used. Only the kernel aware of it and can control it. The VPS license is economy thus with its limitation. :) We could issue multi-core VPS license with increased price, but it will not be very economical to end user, and...
Top