Search results

  1. Cold-Egg

    How do I hide phpmyadmin?

    1. https://docs.litespeedtech.com/cloud/images/wordpress/#web-server-control-panel-access 2. Sure, if you don't want it at all. rm -rf /var/www/phpmyadmin/, it won't affect wordperss.
  2. Cold-Egg

    Security Headers - Important

    To add extra headers, check https://openlitespeed.org/kb/setting-up-cors-on-openlitespeed/. About PHP version, you can find the php.ini file and set expose_php = Off. FYI, lsphp should be off by default.
  3. Cold-Egg

    How to redirect Server Ip to www.Domain name?

    Hi, How about RewriteCond %{HTTP_HOST} ^12\.34\.56\.789$ RewriteRule ^(.*)$ http://www.domainname.com/$1 [L,R=301] Remember to restart web server service lsws restart Best
  4. Cold-Egg

    How do I hide phpmyadmin?

    Hi, Check doc here https://docs.litespeedtech.com/cloud/images/wordpress/#how-do-i-secure-phpmyadmin. You can 1. change URL, 2. strict IP or 3. password required. Best, Eric
  5. Cold-Egg

    CNAME Cloudflare returns a 404 Not Found error.

    You can use a rewrite rule to redirect from domain A to domain B. May I confirm that you don't get any 404 now when visiting scontent.mydomain.com ?
  6. Cold-Egg

    CNAME Cloudflare returns a 404 Not Found error.

    Hi, Navigate to CyberPanel at port 8090 > WebSites > mydomain.com > Domain Alias Create Alias with scontent.mydomain.com And it should works. Best
  7. Cold-Egg

    Can't Access 7080, Webadmin

    Shouldn't need to add any IP to config file, probably a firewall issue on network layer?
  8. Cold-Egg

    How to redirect Server Ip to www.Domain name?

    Please check your wordpress home and site URL are set to www domain. If you setup wordpress site with www domain, then it should auto redirect IP to the www domain without extra configuration.
  9. Cold-Egg

    About congestion algorithms in QUIC

    FYI, same issue got helped on github https://github.com/litespeedtech/lsquic/issues/151
  10. Cold-Egg

    Multiple wp domains one virtualhost config

    Hi, We have reviewed the whole page and updated, please check again.
  11. Cold-Egg

    is it possible to deploy multiple OLS wordpress site on a single VM instance on Gcloud?

    Hi, Yes it's possible, please check doc https://docs.litespeedtech.com/cloud/images/wordpress/#how-do-i-create-additional-virtual-hosts The easiest way to me is via command, /bin/bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/vhsetup.sh ) -d...
  12. Cold-Egg

    .htaccess not enabled, Error 404 on pages, and Failure to load CSS & JS scripts

    Hi, OLS supports rewrite rule only, other rules will be ignored. So any cloaking plugin shouldn't cause the 404 issue. It's more like domain changing or caching issue to me. Please purge all cache after you change the domain on both LSCache plugin and Cloudflare. Hope it helps. Best.
  13. Cold-Egg

    Cannot log in to the MySQL server mysqli::real_connect(): (HY000/2002): Connection refused

    DB core file generated, better consult any DB master or post question in MariaDB forum.
  14. Cold-Egg

    WP Nonce is cached

    OpenLiteSpeed does not support ESI, so you can try either shorten the cache TTL to e.g. 8 hrs or Quic.Cloud CDN
  15. Cold-Egg

    .htaccess not enabled, Error 404 on pages, and Failure to load CSS & JS scripts

    Hi, I guess you are migrating your own site to the OpenLiteSpeed WordPress Image server? 1. If you copy the .htaccess content to the new server, please restart lsws to load the rules. service lsws restart 2. Optimized static file shows 404, please provide one of the static file URL so we can...
  16. Cold-Egg

    Sudden 404 errors and you have to restart the lsws service to fix it

    No solution in mind, better submit a ticket to support@litespeedtech.com. Please append the post link
  17. Cold-Egg

    Sudden 404 errors and you have to restart the lsws service to fix it

    Hi, Rules look fine to me. Could you check the error log and see if it going through Rewrite rules when 404 issue happens? You might want to set a number like 9 in the rewrite log level. If you know the method to reproduce it, please submit a ticket with us.
  18. Cold-Egg

    Header set Access-Control-Allow-Origin "*"

    Probably not support in .htaccess file since OpenLiteSpeed support rewrite rules only, but you can set in the context. https://openlitespeed.org/kb/setting-up-cors-on-openlitespeed/
  19. Cold-Egg

    How to upgrade OLS 1.6 to 1.7

    Hi, What's the output of "sudo /usr/local/lsws/admin/misc/lsup.sh -v 1.7.3", this method should works. Since you can't figure it out for a while, better raise a ticket with us support@litespeedtech.com
  20. Cold-Egg

    Sudden 404 errors and you have to restart the lsws service to fix it

    Can you share the content of .htaccess? Also, do you know if there's any plugin may frequent write the .htaccess file?
Top