2018-04-22 08:58:14 +00:00
---
layout: null
permalink: .htaccess
---
2018-04-23 06:57:59 +00:00
# Kickass regexian redirects enabled
RewriteEngine on
2018-04-22 08:36:18 +00:00
2018-04-23 06:57:59 +00:00
# template for static redirects (never uncomment and use this line as is!)
2018-04-23 06:29:39 +00:00
#Redirect / /assets/files/
2018-04-23 06:57:59 +00:00
# template for regex redirects.
# The flag NC makes regex case-insensitive. See https://httpd.apache.org/docs/2.4/rewrite/flags.html#flag_NC
# Remember to consider adding opening "^" and closing "$" characters to avoid grabbing too much. Eg.: "^pape" will match "pape", but also "papelyver", "papeIsGod", "papeIsOurPappa" etc. "Pape$" will match "superPape", "wonderPape" etc. Solution is "^pape$".
#RewriteRule "regex" "path" [FLAGS]
# Vedtægter
Redirect /vedtaegter.pdf /assets/files/vedtaegter.pdf
RewriteRule "^vedt[æÆae]{1,2}gter$" "/assets/files/vedtaegter.pdf" [NC]
# Stævning
2018-04-24 07:52:17 +00:00
RewriteRule "^st[aeæÆ]{1,2}vning\.{0,1}$" "/assets/docs/staevning.pdf" [NC]
2018-04-24 07:48:21 +00:00
RewriteRule "^st[aeæÆ]{1,2}vning.pdf$" "/assets/docs/staevning.pdf" [NC]
2018-04-23 06:57:59 +00:00
2018-06-02 08:36:10 +00:00
# Stævningsbilag
RewriteRule "^bilag(?:\.pdf|\.zip)*$" "/assets/docs/bilag.zip" [NC]
2018-04-23 06:57:59 +00:00
# Video om at ingen har ændret deres logning:
RewriteRule "^papelyver$" "/assets/videos/pape.mp4" [NC]
RewriteRule "^l[øØoe]{1,2}gnerpape$" "/assets/videos/pape.mp4" [NC]
# Brev til Retsudvalget 2018
RewriteRule "^PapeLyver.pdf$" "/assets/files/PapeLyver.pdf" [NC]
2018-04-24 07:47:06 +00:00
RewriteRule "^PapeTilRetsudvalget$" "/assets/files/PapeLyver.pdf" [NC]
# Mobile Pay 40456-knap
2018-04-24 08:53:47 +00:00
RewriteRule "^40456\.{0,1}$" "/assets/img/donerOrangeTwcard40456.png"
2018-06-02 08:36:10 +00:00
RewriteRule "^mobilepayknap\.{0,1}$" "/assets/img/donerOrangeTwcard40456.png"