Hi all,
Openlitespeed does not support auto_prepend_file via htaccess, at least as best I understand it - as such, the only way to get the optimised Wordfence waf working is to add the below on the OLS webadmin for each client under General->php.ini Override:
php_value auto_prepend_file "/var/www/<site-id>/public_html/wordfence-waf.php"
...the problem of course is that any time OLS or Enhance has an update, these entries are lost and I have to go back in and manually re-add them.
I was wondering if anyone in the community has a way to either persist these override settings, or indeed some way to have auto_prepend_file work within each host via htaccess or similar
thanks