Search results

  1. N

    How to update from 5.1 to latest version?

    run at command line /usr/local/lsws/admin/misc/lsup.sh -f -v 5.3
  2. N

    Flask Applications

    please refer this wiki page: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:other-ext-apps How to Enable Python and Ruby Selector with LSWS or Apache mod_wsgi App In LiteSpeed: How to run Apache mod_wsgi python app in LiteSpeed
  3. N

    Webadmin SSL certs

    1. edit /usr/local/lsws/admin/conf/admin_config.xml 2. please refer https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:admin-ssl
  4. N

    [Solved] - Brotli error

    which litespeed version are you running ? 1. to be sure it's the latest version and build if it's 5.3, please do #/usr/local/lsws/admin/misc/lsup.sh -f -v 5.3 2. if 1) still don't resolve the issue, please do #rm -rf "/tmp/lshttpd/swap/*" 3. if still issue, please report here
  5. N

    [Solved] - Exclude specific URL from logging

    please try https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:special-rewrite-rule-directive#don_t_log for example: RewriteRule \.gif - [E=dontlog:1]
  6. N

    [solved] lsphp command using 100+% cpu usage

    this will be more helpful to know which file it's reading ... endless reading likely a big problem. you can "lsof -p pid" to know which files the lsphp has opened.
  7. N

    [solved] lsphp command using 100+% cpu usage

    1. is cloudlinux on this server ? 2. opcache enabled ? 3. strace output for which process ?
  8. N

    htaccess apache to litespeed (mb some syntax problem)

    please try yourself. or ask the guy to try the simple example. if you or he can try out on apache, let us know. I'll try to reproduce the issue on our server, switch between litespeed and apache. yes, you only need test on apache, work out a working example which is basic enough like the example...
  9. N

    htaccess apache to litespeed (mb some syntax problem)

    by my tests on apache 2.4, this rule not work either. the test page can be as simple as #cat test.html <a href="%23search"> dest #search </a> while works well with #cat test.html <a href="#search"> dest #search </a> Plus: no rewrite rule needed in this case. and in both cases, litespeed...
  10. N

    Need help for a serious LSPHP config issue.

    you can try it. see if your server is ok with such load.
  11. N

    Need help for a serious LSPHP config issue.

    is the notification's content is same to all users? if so, you can consider caching it, to avoid WaitQ > 0
  12. N

    [solved] Cache problem

    please change to RewriteCond %{QUERY_STRING} "limit=48&action=previews&page=1&type=ico_v&category=0" RewriteRule scripts/api.php - [E=Cache-Control:no-cache]
  13. N

    htaccess odd behaviour

    Thanks for your update
  14. N

    htaccess odd behaviour

    please change it to RewriteEngine on RewriteCond %{REQUEST_URI} \.(html?|js)$ [NC] RewriteRule ^(.*)$ /index.php?redirected=1&file=$1 [NC,L] to see if any difference
  15. N

    htaccess odd behaviour

    can you show the complete .htaccess of server 1 ? and more detail about
  16. N

    htaccess odd behaviour

    if so, following rewrite rule should be ok : RewriteCond %{REQUEST_URI} \.(html?|js)$ [NC] RewriteRule ^(.*)$ ./index.php?redirected=1&file=$1 [NC,L]
  17. N

    htaccess odd behaviour

    if it's same, then what's the purpose of RewriteCond %{REQUEST_URI} \.(html?|js)$ [NC] RewriteRule ^(.*)$ /home/test/public_html/?redirected=1&file=$1 [NC,L] ? it looks the 2 lines can be deleted
  18. N

    htaccess odd behaviour

    what's the DocumentRoot of testdomain.com ? is it same as /home/test/public_html/ ?
  19. N

    htaccess odd behaviour

    try "Alias" -- https://httpd.apache.org/docs/2.4/mod/mod_alias.html#alias for example, 1. define following in virtual host section: Alias /share-html-js/ /home/test/public_html/ 2. in .htacess, replace RewriteEngine on RewriteCond %{REQUEST_URI} \.(html?|js)$ [NC] RewriteRule ^(.*)$...
  20. N

    htaccess odd behaviour

    is a /home/test/public_html/index.php there ? static .html/js served by php is much slower than direct by web server.
Top