Search results

  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...
  16. H

    two websites, different domains, trying to setup ssl

    443 ssl listener, only allows one ssl to be added.. if i add one in here, whatever the cert is, then only this particular page will load, for example X cert added in ssl listener, then X website will load, cannot add two seperate ssl in this area.. for virtual host, if i add a different .pem...
  17. H

    two websites, different domains, trying to setup ssl

    thanks for your reply, does it have to be .key and .crt, or can it be .pem as issued by certbot? does it go against virtual hosts? what goes against the 443 ssl listener in this scnario? does that remain blank?
  18. H

    two websites, different domains, trying to setup ssl

    i've got two listeners setup, one for port 80 and the other for 443, created the ssl using certbot certonly which issues the ssl .pem files successfully .. both listeners have the the domains added, there are two virtual hosts added, going to different paths, one for each domain, ssl is added...
Top