rewrites_ssl:
- comment: 'rewrite to 2016-17'
rewrite_cond:
+ # Piwik
- '%%{ich-trickse}{REQUEST_URI} !^/piwik/.*'
+ # Jahreszahlen
- '%%{ich-trickse}{REQUEST_URI} !^/20\d{2}/'
- '%%{ich-trickse}{REQUEST_URI} !^/20\d{2}\-\d{2}/'
- - '%%{ich-trickse}{REQUEST_URI} !^/20\d{2}\-\d{2}/'
+ # Typo3
- '%%{ich-trickse}{REQUEST_URI} !^/typo3temp/'
- '%%{ich-trickse}{REQUEST_URI} !^/typo3conf/'
- '%%{ich-trickse}{REQUEST_URI} !^/fileadmin/'
- '%%{ich-trickse}{REQUEST_URI} !^/uploads/'
- '%%{ich-trickse}{REQUEST_URI} !^/typo3/'
+ # Server status/info
+ - '%%{ich-trickse}{REQUEST_URI} !^/server-status'
+ - '%%{ich-trickse}{REQUEST_URI} !^/server-info'
rewrite_rule:
- '^(.*)$ https://%%{ich-trickse}{HTTP_HOST}/2016-17$1 [R=302]'
ssl_proxyengine: true