Search results

  1. mneumann

    [Solved] OpenLiteSpeed completely crashed

    I actually deleted the log files which caused the problem, edited the config and the server was back up running.
  2. mneumann

    [Solved] OpenLiteSpeed completely crashed

    I was messing around with the log file settings of my virtual host template, and after restarting the server crashed. Not acessible from the frontend and the admin. CPU usage is low. Seems the server restarts every minute. Here some hints in the error log: 2024-02-14 20:18:18.401117 [INFO]...
  3. mneumann

    Strange Error on Plugin Install and Update

    Found another hint in the error log: [STDERR] PHP Warning: Undefined property: stdClass::$plugin in /var/www/vhosts/staging/html/wp-includes/class-wp-list-util.php on line 168
  4. mneumann

    Strange Error on Plugin Install and Update

    When I try to install a plugin from the repository, I get the error: Installation failed: Download failed. Unauthorized When I look though at the installed plugins, it is there and working perfectly. The same with updates. When I try to update a plugin, I get the error: Update failed: Download...
  5. mneumann

    Wildcard Subdomains on Third Level Domains

    ChatGPT suggested to use: RewriteEngine on RewriteCond %{HTTP_HOST} ^(?:.+\.)*([^.]+\.[^.]+)$ RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L] So give it a try.
  6. mneumann

    Wildcard Subdomains on Third Level Domains

    The signup.php indicates that WordPress Multisite does not recognize the DNS name. So unless you have something wrong in the htaccess that will mess up your domain name, you need to look at WordPress and double check the configuration there. I never tried third level domains, but I am serving...
  7. mneumann

    Wildcard Subdomains on Third Level Domains

    The third level domains are hosted in the same multisite network? And the Cyberpanel interface is quite different from the OLS interface. But if you speak about different multisite networks, you need to define access rules to route to the right instance. If the multisite instance is the same and...
  8. mneumann

    How to do Piped Logging in OpenLiteSpeed?

    I am struggling to get piped logging to work in OpenLiteSpeed, and I am struggling to find adequate documentation about it. What I find in the documentation is that I need to configure an external Piped Logger app. It seems that in the Address for remote logger I can put a HTTP or UDS socket. It...
  9. mneumann

    How to transmit OpenLiteSpeed log files to Matomo?

    I found the following script on the Matomo website that will defer loading: var _paq = window._paq = window._paq || []; _paq.push(["trackPageView"]); _paq.push(["enableLinkTracking"]); function embedTrackingCode() { var u="https://your.piwik.domain/"; _paq.push(["setTrackerUrl"...
  10. mneumann

    How to transmit OpenLiteSpeed log files to Matomo?

    Well, I have seen already that it does more then just delaying the script. What is this thing that checks for a User ID in local storage? if (localStorage.getItem("hasTag") !== null) { // If there's a value, retrieve it and set it as the user ID for Matomo tracking. const userId =...
  11. mneumann

    How to transmit OpenLiteSpeed log files to Matomo?

    I know Javascript but I do not understand what you are talking about. How can a Javascript defer Javascript rendering? If you speak about loading matomo.js it might, but in both example this script is instantiated by Javascript. So please explain what all this additional code is doing and what...
  12. mneumann

    How to transmit OpenLiteSpeed log files to Matomo?

    So this is the improved version? <script>var _paq = window._paq = window._paq || []; _paq.push(["setRequestMethod","POST"]); _paq.push(["trackPageView"]); _paq.push(["enableLinkTracking"]); _paq.push(["enableHeartBeatTimer", 5]); var ab = "//www.cachecrawler.com/pwk/"...
  13. mneumann

    How to transmit OpenLiteSpeed log files to Matomo?

    Yes if you use a tracking script, I think your modified script is pretty good. But any script will have some issues. Besides the blocking issue you have greatly improved here, you need to take extra precautions to make the tracking script GDPR compliant. And I want to avoid the use of cookie...
  14. mneumann

    How to transmit OpenLiteSpeed log files to Matomo?

    Thanks for the input. That trick for modifying the script is really interesting, and I will use it on some sites. The PHP tracker I guess will not work when caching is enabled, so that is a real limitation. I still would like to check a way to ingest the log files.
  15. mneumann

    How to transmit OpenLiteSpeed log files to Matomo?

    I want to take the access log files from OpenLiteSpeed and feed it to Matomo for tracking purposes. This way I do not depend on tracking scripts on the page that can be blocked by security aware browsers. I am trying to decide the best approach to do that. In my past provider I got an access...
  16. mneumann

    How to create SSL certificates for DNS aliases?

    Thanks, the virtual host templates are a real time saver and working very well. The only setting I need to repeat every time is the Virtual Host Root, because the definition in the template forces me to include $VH_NAME into the Virtual Host Root, and in the document root, it forces me to...
  17. mneumann

    How to create SSL certificates for DNS aliases?

    So I can have several virtual hosts pointing to the same webspace? Will it start then a separate process for each one of them? And there are really no settings to have several SSL certificates on one virtual host? That would simplify the configuration.
  18. mneumann

    How to create SSL certificates for DNS aliases?

    I need to set up a Wordpress Multisite installation that has several domain names listening to the same virtual host. I have figured out how to set up the listeners to forward various domains to one virtual host. My problem is just the SSL setup. On the web interface I can define only one SSL...
  19. mneumann

    Cannot successfully configure a Virtual Host

    Under listeners I have Default, HTTP and HTTPS. What do I need to configure for mapping it to different virtual hosts?
  20. mneumann

    Cannot successfully configure a Virtual Host

    I got successfully a staging site to work and it works properly on my first virtual host. I tried to configure a second virtual host for the live site, but with no success. I am just getting a Litespeed 404 page. I even tried to point to the same document root like the staging site, but no...
Top