Files
praxis-creutzburg-web/.htaccess
T

26 lines
531 B
ApacheConf

#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
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>