Search results

  1. mcbsys

    Can't issue SSL to temporary subdomain

    @Cold-Egg, that post is about how to get a "duplicate" certificate on a different server. In my case, I'm using a different subdomain, so I don't need the tricks described there. LiteSpeed tech support had the answer: in a CyberPanel install, the vhost file is created with an override that...
  2. mcbsys

    Can't issue SSL to temporary subdomain

    I posted this on here the CyberPanel forum but it may be more specific to OpenLiteSpeed. Background I have a live web server running mydomain.com just fine. I want to start working on an updated site which for now I will call new.mydomain.com. I created a new Ubuntu 22.04 VM on Azure and...
  3. mcbsys

    How to update PHP on virtual hosts?

    Thank you. I upgraded CyberPanel per https://community.cyberpanel.net/t/02-upgrading-cyberpanel/81 and was then able to upgrade PHP on the web sites. Also, a correction to my first post above. For PHP 8.1, step 1 should be apt install lsphp81 lsphp81-common lsphp81-mysql lsphp81-memcached...
  4. mcbsys

    How to update PHP on virtual hosts?

    I have OpenLiteSpeed 1.7.19 and CyberPanel 2.3 Build 2 running under Ubuntu 20.04.6 on Azure. I have 10 virtual hosts, four running WordPress. I want to upgrade all of them from PHP 7.4 to 8.1. Each virtual host seems to be running its own PHP already; the Handler Name is my domain name + random...
  5. mcbsys

    OLS using header IP, not trusted Cloudflare IP, for connection limit?

    When you test it, do you have Use Client IP in Header is set to Trusted IP Only? https://openlitespeed.org/kb/show-real-visitor-ip-instead-of-cloudflare-ips/ I use this so we can see "real" IPs in logs etc. but it seems it is also used for throttling, which is unexpected.
  6. mcbsys

    OLS using header IP, not trusted Cloudflare IP, for connection limit?

    This hit us again this morning, blocking access to a the WordPress back end at a critical time. Very frustrating! I just found the article https://docs.litespeedtech.com/lsws/cp/cpanel/antiddos/ which indicates that using the client IP (and not whitelisted CDN IPs) for throttling is expected...
  7. mcbsys

    OLS using header IP, not trusted Cloudflare IP, for connection limit?

    And now the error is back... received on the second click in a WordPress back end. This on a different server that I manage, running OLS 1.7.17 without CyberPanel: Once again, it is showing my actual IP address (which I replaced here with 123.123.123.123): 2023-12-30 01:46:35.488569 NOTICE...
  8. mcbsys

    OLS using header IP, not trusted Cloudflare IP, for connection limit?

    Yes, if it put just "ALL" in the Access Control, it seems better, even after setting Per Client Throttling back to previous values and purging the Cloudflare cache: Static Requests/second 25 Connection Soft Limit 10 Connection Hard Limit 40 What is happening here? How does Access Control...
  9. mcbsys

    OLS using header IP, not trusted Cloudflare IP, for connection limit?

    Hi, I run several WordPress web sites on OpenLiteSpeed 1.7.18 on CyberPanel 2.3 on an Azure virtual machine. It was working fine until I recently switched to Cloudflare for DNS and CDN caching. Since then, after loading a few web pages (or sometimes right away when loading the WordPress back...
  10. mcbsys

    What is the correct way to restart OpenLiteSpeed from the command line?

    I had the opportunity today to test sudo systemctl restart lsws on the CyberPanel install. It worked.
  11. mcbsys

    What is the correct way to restart OpenLiteSpeed from the command line?

    @gilles, it's good to know that principle, but I don't know how lsws starts at boot. My "pure" OpenLiteSpeed machine was pre-configured by @Cold-Egg as an Azure image. On my other machine, I started with Ubuntu 20.04 and installed CyberPanel from their one-line installer. Does anyone know how...
  12. mcbsys

    What is the correct way to restart OpenLiteSpeed from the command line?

    @Cold-Egg, I'm running OpenLiteSpeed on two servers, one standalone (version 1.6.18) and one under CyberPanel (OLS version 1.6.19). I was looking up how to restart the web server and I remembered your post here. I'm confused. This OpenLiteSpeed documentation says to use lswsctrl restart...
  13. mcbsys

    How to set auto-renewal of Let's Encrypt SSL?

    Wow, glad I saw this. I thought OpenLiteSpeed would automatically handle the certbot customization since it does the Let's Encrypt setup. To confirm, what is needed is to edit /usr/lib/systemd/system/certbot.service, changing the ExecStart line to this: ExecStart=/usr/bin/certbot -q renew...
  14. mcbsys

    [HELP] Where is php.ini in OLS

    Thank you @extraale!
  15. mcbsys

    Unable to rewrite URL for subdomain

    That tip about doing the restart from the terminal solved my problem too. This .htaccess rule on the base of my subdomain would not work with a graceful restart from the GUI but after "sudo service lsws restart ", it started working: RewriteRule /* https://www.mydomain.com/blog/ [L,R=301] Can...
  16. mcbsys

    Change default admin email from root@localhost to root

    I've set up OLS 1.6.18 as part of CyberPanel. I installed from scratch on Ubuntu 20.04 LTS on Azure. I set up ssmtp and later msmtp for sending emails from the server. Both of these programs allow configuring an alias to forward mails that are sent to the root user to an external email address...
  17. mcbsys

    [HELP] Where is php.ini in OLS

    Tried adding a phpinfo.php to /usr/local/lsws/admin/html but it returns 403 Access Forbidden whether I am logged in to OpenLiteSpeed or not. I need php.ini at the server level, not the individual web site level. Please either post the answer to the question or post exact steps for getting PHP info.
Top