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.

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

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


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

<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”"

AddDefaultCharset utf-8

<IfModule mod_mime.c>
AddCharset utf-8 .atom

<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

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

&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" \


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

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

Has anything changed?