- alias:
comment: 'Alle Aliase auf Servername'
rewrite_cond:
- - '%%{ich-trickse}{HTTP_HOST} !^www\.bundeshaushalt-info\.de$ [NC]'
- - '%%{ich-trickse}{REMOTE_ADDR} !^77\.74\.239\.51$'
+ - '%%{ich-trickse}{HTTP_HOST} !^www\.bundeshaushalt\.de$ [NC]'
+# - '%%{ich-trickse}{REMOTE_ADDR} !^77\.74\.239\.51$'
- '%%{ich-trickse}{REQUEST_URI} !^/logs'
- '%%{ich-trickse}{REQUEST_URI} !^/status'
- '%%{ich-trickse}{REQUEST_URI} !^/server-status'
rewrite_rule:
- - '^(.*)$ https://www.bundeshaushalt-info.de$1 [L,R=301]'
+ - '^(.*)$ https://www.bundeshaushalt.de$1 [L,R=301]'
- alias1:
comment: 'Alle Aliase auf Servername'
rewrite_cond:
- '%%{ich-trickse}{HTTP:HTTPS} !=on'
- '%%{ich-trickse}{REQUEST_URI} !^/logs'
rewrite_rule:
- - '^(.*)$ https://www.bundeshaushalt-info.de$1 [L,R=301]'
+ - '^(.*)$ https://www.bundeshaushalt.de$1 [L,R=301]'
aliases:
alias: '/logs'
path: '/var/log/httpd'