Apache Internal Server Error ifmodule not allowed here

My self-hosted now quit and shows errors I’m too stupid to understand. Ninja is in usr/share and had been setup as an alias on Ubuntu14/Apache24. It’s whatever version was new 2 months ago. Other v-hosts running phpmyadmin, wordpress, drupal and aliases have no problems.
http://myhost/ninja

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.


LOG:
[core:alert] [pid 5563] [client 192.168.88.2:51108] /var/www/ninja/.htaccess: <IfModule not allowed here


.htaccess:


<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule “^.env” - [F,L]
</IfModule>

<IfModule mod_headers.c>
Header set P3P “policyref=”/w3c/p3p.xml", CP=“IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT”"
</IfModule>

AddDefaultCharset utf-8

<IfModule mod_mime.c>
AddCharset utf-8 .atom
.bbaw
.css
.geojson
.js
.json
.jsonld
.manifest
.rdf
.rss
.topojson
.vtt
.webapp
.webmanifest
.xloc
.xml
</IfModule>

<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding “gzip,deflate” env=HAVE_Accept-Encoding
</IfModule>
</IfModule>

&lt;IfModule mod_mime.c&gt;
    AddEncoding gzip              svgz
&lt;/IfModule&gt;

&lt;IfModule mod_filter.c&gt;
    AddOutputFilterByType DEFLATE "application/atom+xml" \
                                  "application/javascript" \
                                  "application/json" \
                                  "application/ld+json" \
                                  "application/manifest+json" \
                                  "application/rdf+xml" \
                                  "application/rss+xml" \
                                  "application/schema+json" \
                                  "application/vnd.geo+json" \
                                  "application/vnd.ms-fontobject" \
                                  "application/x-font-ttf" \
                                  "application/x-web-app-manifest+json" \
                                  "application/xhtml+xml" \
                                  "application/xml" \
                                  "font/opentype" \
                                  "image/svg+xml" \
                                  "image/x-icon" \
                                  "text/cache-manifest" \
                                  "text/css" \
                                  "text/html" \
                                  "text/javascript" \
                                  "text/plain" \
                                  "text/vtt" \
                                  "text/x-component" \
                                  "text/xml"
&lt;/IfModule&gt;

</IfModule>


Alias /public /usr/share/_ninja/public/

<Directory “/usr/share/_ninja/public/”>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>

Has anything changed?