#php_value default_charset ?UTF-8?
#php_value mbstring.language UTF-8
#php_value mbstring.internal_encoding UTF-8
#php_value mbstring.http_output UTF-8
#php_value mbstring.http_output UTF-8
#Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.+)$ /$1.php
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Editor-, Versions- und Konfigurationsdateien nie ausliefern.
# Anlass: .vscode/ war oeffentlich abrufbar und enthielt FTP-Zugangsdaten.
RedirectMatch 404 (?i)/\.(git|vscode|svn|hg|idea|env)(/|$)
Require all denied
Order allow,deny
Deny from all