Recent content by h87

  1. H

    backup and restore server

    thanks for that, i did the same, stored the password in sshpass and called it as a variable sudo apt-get install sshpass echo "your_scp_password" > ~/.scp_pass chmod 600 ~/.scp_pass first script #!/bin/bash # MySQL credentials DB_USER="usr" DB_PASSWORD="pass" # Databases to backup...
  2. H

    backup and restore server

    are there any other free solutions? was thinking of running a few commands to zip the files, extract the database and upload every day to a ftp
  3. H

    backup and restore server

    is there any command i can run to compress - web files - databases - '/usr/local/lsws' and then export to ftp what are other people doing for this kind of scenario?
  4. H

    backup and restore server

    as this server has no main control panel to backups what is the best way to backup openlitespeed server? want to backup settings / files / databases for an easy restore, anyone done this?
  5. H

    Monitoring cache status

    i had this problem once, found private cache enabled in the modules area enablePrivateCache 1 if your using wordpress plugin, it needs to be 0, see below # 1 checkPrivateCache 1 checkPublicCache 1 maxCacheObjSize 10000000 maxStaleAge 200 qsCache 1...
  6. H

    openlitespeed dns

    what is service is hosting dns on a openlitespeed ubuntu server?
  7. H

    secure openlitespeed

    ok so im running monit to monitor services but only put it into alert mode, these are my configs, was thinking also adding csf firewall ? #openlitespeed file check process OpenLitespeed with pidfile /tmp/lshttpd/lshttpd.pid start program = "/usr/local/lsws/bin/lswsctrl start" stop program =...
  8. H

    Monit Configuration Example

    does this only monitor lsws admin web portal? how about lsws php ? what does 'alert' do ? does it send an email ? ssh message ?
  9. H

    secure openlitespeed

    running openlitespeed on standlone linux server, already changed ssh port, added modsecurity. im looking for something to add to server to secure and monitor it.. any ideas?
  10. H

    redirected you too many times

    im getting; url.com redirected you too many times, only when going to long url with like...
  11. H

    link clicks and landing page views

    im getting alot of facebook reported link clicks onto my website but ever since enabling litespeed cache wordpress plugin ive noticed a significant drop in landing page views reported by facebook, its normal that landing page views are less than link clicks. for instance, on 4th of july, there...
  12. H

    exclude from cache

    i want to exclude /?wc-ajax=wc_ppcp_frontend_request&path=/wc-ppcp/v1/cart/shipping&_locale=user do i just add the below to "Do Not Cache URIs" area; /?wc-ajax= or does it need to be ^/?wc-ajax=* ?
  13. H

    two websites, different domains, trying to setup ssl

    thanks, as you mentioned, we need to issue ssl for both domains, the www.exampe.com and the root domain example.com, furthermore, i believe the ssl certs should match the Virtual Host mappings and Domain Aliases certbot certonly --webroot -w /var/www/html/ -d example.com -d www.example.com
  14. H

    two websites, different domains, trying to setup ssl

    hi eric, email sent to you.
  15. H

    two websites, different domains, trying to setup ssl

    see both vhost configs below WEBSITE 1 - ssl created for website1.co.nz docRoot /var/www/htmlnz/ vhDomain website1.co.nz vhAliases *.website1.co.nz errorlog /var/www/logs/errorwp-nz.log { useServer 0 logLevel...
Top