header setifempty
unsupported?
What the headline says – in a .htaccess file setting (e.g.) header setifempty Content-Security-Policy "…"
returns an error page.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Apache error log
[Tue Apr 18 02:01:12.276455 2023] [core:alert] [pid 15067:tid 140543837316864] [client xxxx] /home/phiw-a/apps/lab/.htaccess: first argument must be 'add', 'set', 'append', 'merge', 'unset', 'echo', 'edit', or 'edit*'., referer: https://dev.l-c-n.com/