LuminaWebsite/.htaccess
Maaxxs 3c72d0ed7e Force UTF-8 output and switch the palette to neutral gray
Explicitly set the Content-Type charset (PHP's default_charset can be
overridden by the host, which breaks oe/ae/ue even though the meta
tag says UTF-8) and add matching .htaccess/schema collation. Verified
end-to-end that umlauts round-trip correctly through the DB and render
correctly in the browser. Also replaced the dark blue-tinted palette
with true neutral grays; the gold accent stays.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 06:58:53 +02:00

22 lines
649 B
ApacheConf

Options -Indexes
DirectoryIndex index.php index.html
AddDefaultCharset UTF-8
<IfModule mod_headers.c>
Header set X-Content-Type-Options "nosniff"
Header set X-Frame-Options "SAMEORIGIN"
</IfModule>
# Sensible Dateien/Ordner dürfen niemals ausgeliefert werden,
# auch wenn sie hier im Webroot liegen.
<FilesMatch "^config(\.example)?\.php$">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>
</FilesMatch>
# includes/ und sql/ haben jeweils eine eigene .htaccess, die den Zugriff
# darauf sperrt (siehe includes/.htaccess und sql/.htaccess).