Some htaccess rules doesn't work anymore

#1
Hello,

I'm with cPanel and Litespeed 6.0.8 (build 1)

I commonly use as a guide the : h5bp server config apache
Bu today i've noticed that some rules that were ok before do not work anymore.

For example :
Code:
Header always set X-Frame-Options "DENY" "expr=%{CONTENT_TYPE} =~ m#text/html#i"
Was ok before
But now Litespeed tells this : unknown server variable while parsing: %{CONTENT_TYPE}

Same for
Code:
Header always set Referrer-Policy "strict-origin-when-cross-origin" "expr=%{CONTENT_TYPE} =~ m#text\/(css|html|javascript)|application\/pdf|xml#i"
And all rules that contain {CONTENT_TYPE}

Same bug with Litspeed V6.0.7
It works OK with V5.4.12

Thanks to consider
 
Last edited:
Top