Search results

  1. N

    htpasswd authentication

    usually it is. but in server/virtual host level, can control disable .htaccess please refer https://httpd.apache.org/docs/2.2/howto/htaccess.html "AllowOverride None"
  2. N

    How to enable basic auth ?

    same as apache : https://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html
  3. N

    [solved] LiteSpeed cache stopped working after upgrading the LiteSpeed

    usually it's permission of cache root not set correctly. in cPanel server, it's /home/user/lscache. owner:group should be nobody:user (NOT user:nobody) yes, only your host or server admin can fix it.
  4. N

    Question about QUIC, enabling, settings, etc

    that command does exist. run either /usr/local/lsws/admin/misc/lsup.sh -f -v 5.2.7 or in your case, ./lsup.sh -f -v 5.2.7 will disappear.
  5. N

    .htaccess 403 forbidden on new cPanel litespeed server

    then, you need run #chmod o+x ocart so that nobody user can access static files plus .htaccess under ocart
  6. N

    Rewrite from http and www to https://non-www

    this was the question before I did tests with apache, after did tests with apache, apache also behavior exactly in this way. so there is no subtle difference here between apache and litespeed.
  7. N

    .htaccess 403 forbidden on new cPanel litespeed server

    please check owner/group/permissions of /home/user/public_html should be user:nobody, 710 .htaccess is accessed by litepseed process which is running as nobody
  8. N

    Removing Query Strings (Wordpress)

    I accessed your website's homepage. looks only /wp-content/themes/daynight/inc/fontawesome/fonts/fontawesome-webfont.woff2?v=4.7.0 with query string, other css/js(of your domain) has no query string. is it possible woff2 is missed in static file list ? need ask our plugin dev.
  9. N

    Rewrite from http and www to https://non-www

    confirmed on a test server: apache behaves same as litespeed. here's test method and result: [root@globalsupport public_html]# curl -I https://www.domain.com curl: (51) Unable to communicate securely with peer: requested domain name does not match the server's certificate. [root@globalsupport...
  10. N

    Removing Query Strings (Wordpress)

    is your site's domain kriptobyte.com or statickxx.facebook.com ? or different ? (apparently not ..facebook.com) I think ''Remove query strings from static resources'' in lscache plugin can only remove your domain's query string, not other domains like facebook.
  11. N

    Rewrite from http and www to https://non-www

    please refer my test result: [root@globalsupport ~]# curl -I https://www.dw.lpld.ch curl: (51) Unable to communicate securely with peer: requested domain name does not match the server's certificate. [root@globalsupport ~]# curl -Ik https://www.dw.lpld.ch HTTP/1.1 302 Found Date: Sun, 22 Apr...
  12. N

    [solved] Error 404 - Page not found

    Allow Override: check all except "None" Access File Name:.htaccess
  13. N

    [solved] Error 404 - Page not found

    is virtual host from apache's httpd.conf or created in litespeed web admin(i.e.,native virtual host) ? if it's latter one, please show web admin->virtual hosts-> General-> HT Access
  14. N

    [solved] Error 404 - Page not found

    looks like .htaccess is missed. can you check if document-root/.htaccess exist.
  15. N

    Rewrite from http and www to https://non-www

    I tested above rules on a litespeed server, working as expected: htttp://www.domain redirect to https://domain https://www.domain redirect to https://domain I did encounter a problem but not because of redirect : #curl -I https://www.domain.com curl: (51) Unable to communicate securely with...
  16. N

    LSCache develment documentation?

    please refer https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:developer_guide "LiteSpeed Web Cache Developer’s guide"
  17. N

    Disable Cache in PHP

    please try RewriteEngine On RewriteCond %{REQUEST_METHOD} ^HEAD|GET$ RewriteCond %{HTTP_HOST} ^domain.com [NC] [OR] RewriteCond %{HTTP_HOST} ^www.domain.com [NC] RewriteRule .* - [E=Cache-Control:max-age=120] RewriteCond %{REQUEST_METHOD} ^HEAD|GET$ RewriteCond %{HTTP_HOST}...
  18. N

    Purge All LS Cache for a site - Using PHP?

    should be <?php header("X-LiteSpeed-Purge: *"); ?>
  19. N

    Purge All LS Cache for a site - Using PHP?

    please refer : https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:developer_guide:response_headers may need use X-LiteSpeed-Tag X-LiteSpeed-Purge
  20. N

    Logs stored, but server log viewer can not show them

    1. ensure lastest version, now 5.2.5 build 2 2. only error.log will be viewed on admin console 3. if still problem, can you show 1~3 lines of log entries ? need check the timestamp format. millisecond fraction or microsecond fraction is used.
Top