W3TC (W3 Total Cache) Minify 403 Forbidden Error

A quick fix when encountering the 403 forbidden error while updating minify settings with W3 Total Cache is to disable Apache’s ModSecurity, as it conflicts with W3TC when updating the minify settings. ModSecurity/Apache will throw an error like the one below: ModSecurity: Warning. Match of “rx ://%{SERVER_NAME}/” against “ARGS:minify__cache__files” required. [file “/etc/apache2/modsecurity.d/rules/tortix/modsec/50_plesk_basic_asl_rules.conf“] [line “386”] [id…