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>
22 lines
649 B
ApacheConf
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).
|