Files
2026-08-12 14:06:49 +02:00

22 lines
618 B
ApacheConf

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.dialyse-berlin\.net [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www\.dialyse-berlin\.net [NC]
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{QUERY_STRING} ([a-zA-Z0-9-_.=&+%]*)
RewriteRule ^([0-9a-zA-Z\-]+).html$ index.php?action=$1&%1 [L]
RewriteRule ^captcha.png$ captcha.php [L]
<Files .htaccess>
order allow,deny
deny from all
</Files>
# Allow Robots.txt to pass through muss noch eingebunden werden