Search results

  1. uselinux

    Problem with wordpress site

    For wordpress don't move install.php. Make sure the user OLS is running as has ownership and access to the wordpress files. Make sure you set up wp-config.php and make sure your db prefix in is correct.
  2. uselinux

    Need to come up with a solution regarding UTM querystrings.

    No worries, thanks for the attempt :)
  3. uselinux

    Need to come up with a solution regarding UTM querystrings.

    What would changing that do? We have pages being marketed and them cached/treated the same is fine there. However, our site also features a search and at this moment I simply allow those not to cache (querystring usage) and wouldn't want it to treat search results as the same page.
  4. uselinux

    Need to come up with a solution regarding UTM querystrings.

    First of all, I'm not on enterprise so I don't have access to vary based on query strings. So here is the deal. /welcome will be cached. /welcome?utm_campaign=advertising will cache but is not warmed. I cannot drop utm query strings with a redirect as that will ruin google analytics data. My...
  5. uselinux

    does anyone has an expiernce with AWS RDS with open lite speed ?

    I haven't used cyberpanel so I can't comment on that. What I do know is you can Cloudwatch to set up alarms for CPU usage, latency, etc. The alarm can then send to email or even sms.
  6. uselinux

    does anyone has an expiernce with AWS RDS with open lite speed ?

    You set up an aurora instance and point your application to it. Aurora is only slightly more expensive than a MariaDB instance on AWS. We saw better and more stable performance under Aurora. Pricing for all aws services are around the aws sites if you search. If your going to be setting these...
  7. uselinux

    does anyone has an expiernce with AWS RDS with open lite speed ?

    It works just fine. If you're going to be running a lot of traffic I highly recommend Aurora instead MariaDB.
  8. uselinux

    Monitoring cache status

    I've sent that over
  9. uselinux

    Monitoring cache status

    Okay FXMIWEIV
  10. uselinux

    Monitoring cache status

    Yes I'm using WordPress. These? They are both empty
  11. uselinux

    Monitoring cache status

    No. Checking .htaccess I found this directive: <filesMatch "\.(x?html?|php)$"> Header set Cache-Control "private, must-revalidate" </filesMatch> Removing + clearing the cache doesn't appear to have changed anything.
  12. uselinux

    Monitoring cache status

    I've made some progress on this that is interesting. If I have a state or city cookie set upon request I will see a cache hit. If I have neither I will get a miss. Could using this be the problem? RewriteRule .* - [E="Cache-Vary:state, city"] So my cache will correctly vary depending on the...
  13. uselinux

    Monitoring cache status

    This will have both. npm install npm run app https://gist.github.com/joshwash/18c1e26cd6530511199fc0076e03ef66#file-index-js
  14. uselinux

    Monitoring cache status

    I'm trying to write a script which will simply check for the x-litespeed-cache header as a hit once in a while. That is more or less done, however I'm never getting a cache hit.. My response headers look like: 'cache-control': 'private, proxy-revalidate, s-maxage=0', 'x-litespeed-tag'...
  15. uselinux

    Help - OLS Stopped and Won't Start

    If you get a fair amount of traffic and have errors occurring this can strike far more often. Was having some cache issues generating too many caches which caused a 'too many open files' error, which filled hard drive and turned instance into a vegetable every few hours. Even faster if trying to...
  16. uselinux

    Testing the effect of limiting connections & load testing

    Also testing this method and getting the same result with a url of /?utm_source=anything RewriteCond %{QUERY_STRING} (utm_source|utm_medium|utm_campaign|gclid|fbclid|s)=[^&]+&* RewriteRule .* - [E=cache-key-mod:-qs:utm_source*] Edit: I learned from support that dropping query strings is only...
  17. uselinux

    Testing the effect of limiting connections & load testing

    I've encountered another issue. We run some ad campaigns and so through the WordPress LSCache plugin I set up a couple of querystrings to drop. In .htaccess this looks like: ### marker DROPQS start ### CacheKeyModify -qs:s CacheKeyModify -qs:glcid CacheKeyModify -qs:fbclid CacheKeyModify...
  18. uselinux

    Testing the effect of limiting connections & load testing

    Update: The second cache-vary method was the way this worked.
  19. uselinux

    Testing the effect of limiting connections & load testing

    Much appreciated. I removed the wordpress plugin rule with the excludes and updated .htaccess with vary rules. It's definitely caching again. What i'm running into now is users are not able to change their location (set in a cookie). The cookie will change but a request to a page with a...
  20. uselinux

    what should be the permission for the Wordpress folder?

    With wp-cli installed: https://wp-cli.org/ I found for it to work I needed to run as root. Nobody did not work. To update: sudo wp core update It will yell at you about updating as root. It's right to, but I do not know the workaround. You then proceed to fix permissions as above.
Top