Search results

  1. serpent_driver

    [solved] Bug or Feature: If page is cached ModSecurity can't work

    Okay, but if I write it in pre_main_global.conf, syntax for rewrite rule is the same as in .htaccess, correct?
  2. serpent_driver

    [solved] Bug or Feature: If page is cached ModSecurity can't work

    pre_main_global.conf? Defined as rewrite map or directly in pre_main_global.conf? Btw. I have WHM/cPanel
  3. serpent_driver

    Rule: only cache posts older than x days

    I don't know the code of your application, so you must find one who will develop it for you if you can't, but it needs only a few lines of code to compair the current date with the date when a post has been published. If this time period is passed remove no-cache cache header. That's it...
  4. serpent_driver

    Rule: only cache posts older than x days

    Do you store the date of a published post? If yes, you can use this date and calculate with days to set no-cache header with PHP.
  5. serpent_driver

    Rule: only cache posts older than x days

    Which cache plugin for which application do you use? There is more than 1 cache plugin!
  6. serpent_driver

    Ubuntu 20.04 LTS is missing lsphp71

    Documentation isn't wrong. LiteSpeed supports all listed PHP versions, but if OS doesn't then it is not a fault of LSWS.
  7. serpent_driver

    About license and service worker

    For the future: If you will register more domains, for LiteSpeed licenses it doesn't matter if domain is in use or not. Example: You have 6 domains, but only 1 is in use and all others are only Addon Domains, you must upgrade Site Owner Plus licence.
  8. serpent_driver

    [solved] Bug or Feature: If page is cached ModSecurity can't work

    Before I used ModSecurity to block bad bots I had rewrite rules defined, but with rewrite rules and a large number of bots it is also expensive. ModSecurity is much better because with CSF and ModSecurity block rule bots will be blocked by IP, but I understand that ModSecurity defeat the speed...
  9. serpent_driver

    About license and service worker

    -> 1. Worker means ~ device|server|IP|host. If you you have only 1 host Site Owner Plus is okay -> 2. If your new server has 16GB Ram, Site Owner Plus is okay, if you don't have more than 5 domains.
  10. serpent_driver

    [solved] Bug or Feature: If page is cached ModSecurity can't work

    The title of this topic already describes what this issue is about, but will give more details. I am using LSWS with LScache (non LiteSpeed plugin) and ModSecurity. For ModSecurity I use LiteSpeed Comodo rule set with custom rule set to block bad bots (userdata_bl_agents). It works perfect, but...
  11. serpent_driver

    Recently Installed LiteSpeed

    If you use a supported control panel like cPanel, Plesk or other there is nothing to configure in WebAdmin Console. Most of settings are for native LSWS installation if you don't have a control panel.
  12. serpent_driver

    Why is Litespeed not listed on Drupal Web Server requirements page?

    The answer is there is no reason to ask for. ;)
  13. serpent_driver

    Why is Litespeed not listed on Drupal Web Server requirements page?

    For your information only, LiteSpeed plugin isn't used for the LiteSpeed webserver. It's for to use Drupal with LiteSpeed cache engine and it is not a webserver plugin for Drupal. Drupal is a CMS, not more, not less and there is no reason why not to use Drupal with LiteSpeed webserver. If...
  14. serpent_driver

    cache-control: no-cache but x-litespeed-cache: hit

    @dogan285 These headers are browser cache related and not LiteSpeed cache. If you want to not caching your pages you have to disable cache in plugin settings.
  15. serpent_driver

    [solved] Bug or Feature: LSWS doesn't accept more than 1 response header with the same name

    I've just tested it and can confirm that it works: 2 pages, 1 has private cache, the other one public with cache tag. Cache of both pages will be purged. header("X-LiteSpeed-Purge: example_tag"); header("X-LiteSpeed-Purge: private, *", false);
  16. serpent_driver

    Permission denied when uploading or creating file or folder with FTP client (AWS EC2 Litespeed Wordpress instance)

    Some control panels doesn't allow to change permissions with local FTP application. If so, change permission with control panel file explorer or use console instead . That will work.
  17. serpent_driver

    [solved] Bug or Feature: LSWS doesn't accept more than 1 response header with the same name

    You mean that would work? header (test: test1"); header (test: test2,false");
  18. serpent_driver

    Just Installed Litespeed Server - Questions

    Maybe trial release has some restrictions. Check this: https://docs.litespeedtech.com/lscache/litemage/troubleshoot/ If you didn't get response from ticket support, be patient, we have still Corona....
Top