@LuigiMdg
Why do you expect any error? To proof if your rule works you only have to set different request accept header. The one with Accept/webp and the other one without. But indepently from this, LSWS is very tolerant related to wrong .htaccess rules.
Depending on your HTML code turn the...