Files
Dialyse-Webseite/.htaccess
T
2026-08-13 12:46:56 +02:00

23 lines
625 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