Search results

  1. N

    New Server - How to know if cache is working fine

    why did you enable Private Cache ? what instruction have you followed to enable lscache ?
  2. N

    New Server - How to know if cache is working fine

    yes, "X-LiteSpeed-Cache-Control: no-cache" means cache not hit or working. if a page successfully returned from a cache, should have this header: "X-LiteSpeed-Cache: hit"
  3. N

    The 6G Firewall in LiteSpeed?

    basically all these apache directives will work under litespeed. but above RedirectMatch looks like syntax wrong ? https://httpd.apache.org/docs/current/mod/mod_alias.html#redirectmatch
  4. N

    Pages Hanging After Server Migration

    yes, as stated, WaitQ should keep as 0 or non-0 should drop to 0 quickly. other wise, need optimize your php/mysql to make the response time shorter and make it less happen. you can see that busy site has higher possibility to have WaitQ > 0. keep increasing it to see if any improvement, but...
  5. N

    Pages Hanging After Server Migration

    server won't hang, but new requests will put in wait queue, so you'll notice WaitQ > 0. the user will wait for a bit longer since their requests may be waiting at server side.
  6. N

    Pages Hanging After Server Migration

    for php suExec, that error message mean lsws web admin -> Server -> General -> PHP suEXEC Max Conn, for php non-suExec, it does mean PHP_LSAPI_CHILDREN so please increase "PHP suEXEC Max Conn" and watch real-time stats -> WaitQ, it should keep 0 or non-0 for very short period.
  7. N

    Different PHP version in folders

    I think CGI/php-fpm/DSO/suPHP are various technology terms regarding php process management. in litespeed, only one method -- lsphp. and we believe it's with best performance and security. it can run suExec/non-suExec mode. and in suExec mode, there are 3 sub mode: Worker, Daemon,ProcessGroup.
  8. N

    HTTP/2 Server Push

    found https://blog.cloudflare.com/using-http-2-server-push-with-php/ useful for testing server push. after reading it, apparently, it's "users need to specify what resources need be to downloaded for each page".
  9. N

    Transfer License after Server Migrate

    right, exactly.
  10. N

    Transfer License after Server Migrate

    yes, as the wiki states "The transfer will give you 3 day of overlapping time".
  11. N

    Transfer License after Server Migrate

    please follow the wiki. before activate the license on new server, you've to release the license on the old server. either run command "lsws/bin/lshttpd -m" on old server or login client area to release.
  12. N

    [Resolved] 404 not found

    please check along the path /var/www/html/magento/test/index.html to see if nobody user can read it. or command line #sudo -u nobody ls -l /var/www/html/magento/test/index.html (nobody is the user litespeed process running as)
  13. N

    Rate limit files

    please refer: https://www.litespeedtech.com/support/forum/threads/litespeed-virtual-host-with-cpanel-and-apache-apvh.13489/#post-91105
  14. N

    rewrite rule issue

    RewriteRule (\d+)/(\d+)/$ /?cat_id=$1&section=$2 [S] RewriteRule (\d+)/(\d+)$ /?cat_id=$1&section=$2 [S] can be simplified as RewriteRule (\d+)/(\d+)/?$ /?cat_id=$1&section=$2 this can apply for other similar rewrite rules, as result, all flag [S] are removed. see if works on both litespeed...
  15. N

    How to setup Cloud Linux LVE properly and AllowOveride Warning

    yes. regarding database, best you discuss with database expert :) we're not. our point is: static page(image, js, css etc) is served by web server(here litespeed) directly. dynamic page is generated by backend php/mysql, usually it's much slower than static page. so we say usually the bottle...
  16. N

    How to setup Cloud Linux LVE properly and AllowOveride Warning

    No. should set as CageFS. "LVE" is an very old option when Cloudlinux's CageFS not exist yet. can you be more specific about working or not working ? it looks like I've caught your point until now. so your question is: under apache, LVE limits works; after switching to litespeed, LVE limits...
  17. N

    How to setup Cloud Linux LVE properly and AllowOveride Warning

    please refer https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cloudlinux:cl_lve_vs_lsws_php_suexec_max_conn your current "PHP suEXEC Max Conn" is 3, it's related with cloudlinux's LVE EP limit. the CPU has 6 cores, so the server has total 24 cores. looking at your load...
  18. N

    Caching for registered users

    in theory, it's possible. https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:common:views-based-on-cookie-values in php code, assign a unique cookie for a registered user, then apply the cache-vary rewrite rule.
  19. N

    How to setup Cloud Linux LVE properly and AllowOveride Warning

    per https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride AllowOverride have to be in a "directory" context, i.e., within a <Directory ..> </Directory> block. otherwise, will issue this warning and will be ignored. CPU 95% refer web server's CPU(not office PC's CPU) ? usually a web...
  20. N

    Wordpress LSCache issues

    assume your server don't have any control panle(WHM/cPanel, Plesk, DirectAdmin etc). please refer: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:no-plugin-wordpress 1. check permission of "Storage Path" 2. cache policy 'Note:Enable Cache has been set to “No” globally...
Top