Search results

  1. M

    cpanel vhosts status "Restart Required"?

    "Restart Required" status of Apache vhost is a bug in our web admin console, it will be fixed. You can safely ignore it, those vhosts are actually working fine.
  2. M

    Suspending accounts on cPanel

    Does cPanel uses the same error page for accounts suspended and account exceed bandwidth limit? You can customize lsws/share/autoindex/bwlimit.html , only drawback is that it will be overwritten during a server update.
  3. M

    Blocking files by extension

    There are too many ways. Actually, you can do whatever method you used with Apache. Uses rewrite Rules, or define a matching context with access denied, from .htaccess etc.
  4. M

    Getting Database Errors on litespeed

    You need to build your own lsphp binary with MySQL client library matching MySQL server used. Our pre-built lsphp binary uses a earlier version of MySQL client library bundled with PHP 4.x, this client library does not compatible with MySQL 4.1 and above.
  5. M

    Suspending accounts on cPanel

    Thank you for the bug report. Those should be fixed in the updated 3.0 package, please give it a try.
  6. M

    Litespeed monitoring via ISPConfig

    You can manually configure SSL after the installation. LSWS can use Apache httpd.conf directly, 3.0 works well with cPanel. It may work well with httpd.conf generated by ISPConfig. You can follow our cPanel tutorial to try LSWS with ISPConfig.
  7. M

    Compression doesn't seem to work...

    What you did is correct. :) If you want tighter security, you can run lsws as a dedicate user other than nobody, there are many services using nobody, then set mode to 0770 instead of 0775, to only allow access from LSWS user and directory owner.
  8. M

    Compression doesn't seem to work...

    You need to give the user that LSWS run as write permission to the cache directory. LSWS will create compressed version under the same directory where the original file is.
  9. M

    rewrite rule from apache does not work

    You need to turn on rewrite log and analyze your rewrite rule. You should not include the domain name in the target URL, if an external redirect is not exactly what you want. If you rewrite rule is configured at vhost level, not at context level or inside a .htaccess file, you need to use...
  10. M

    how to transition to enterprise to with minimum downtime?

    Just run the install.sh then select "upgrade", no down time at all. Make sure to copy the trial or production license key to the installation directory.
  11. M

    Ajax call is not interpreted as an ajax call

    Our rails easy configuration uses 404 handler to forward requests to backend Rails application, if there are both AJAX and non-AJAX version of pages for the same URL, the static version of the page will be served for sure. To workaround this, you can use a vhost level rewrite rule to detect...
  12. M

    install on osx: problem and question

    sudo will start a new shell to execute the command and quit to the former shell, so the directory does not change. You need to use "sudo sh" then execute your command. You need to login to the web admin interface, then create a new vhost, please check out Bob Silva
  13. M

    install from script?

    Yes, it is possible, you can take a look at two functions in "functions.sh", "buildConfigFiles()" and "installation()", set all environment variables used in those two functions, then call those two functions to install the server.
  14. M

    Problem disabling virtual host

    Yes, it is. There are a bunch of options. You can remove it is listener mapping, create a "/" context to block access to your site, use a rewrite rule to redirect to a maintenance page, etc.
  15. M

    virtual host -> clone

    Right now we have a similar feature through vhost template instantiation.
  16. M

    LSWS 3.0RC2 and trac-fcgi

    You can also check out the configuration of our demo server, there is a Trac demo.
  17. M

    LSWS 3.0RC2 and trac-fcgi

    Yes, you downgrade to 2.2.6 release by running the installer then select "upgrade". There is another tutorial you can follow at the end of http://www.deveiate.org/projects/BlueCloth/wiki/TracFastCgi There might be configuration errors, please double check your configurations.
  18. M

    LSWS 3.0RC2 and trac-fcgi

    That's because mpstat shell command was not installed on your server, which is not a big deal, we use mpstat output in our realtime status report, you can ignore that. It does not related to the trac.fcgi 503 errors.
  19. M

    Results from a system call

    I am not a perl programmer, probably cannot give your the correct answer. You should refer to a Perl programming book. In shell script I can use: variable=`fgrep date $file` to get result from the shell command, not sure about Perl though.
Top