ulovliglogning.dk/htaccess
2018-11-19 19:20:25 +01:00

67 lines
2.7 KiB
Plaintext

+---
+layout: null
+permalink: .htaccess
+---
# Kickass regexian redirects enabled
RewriteEngine on
# template for static redirects (never uncomment and use this line as is!)
#Redirect / /assets/files/
# 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
RewriteRule "^st[aeæÆ]{1,2}vning\.{0,1}$" "/assets/docs/staevning.pdf" [NC]
RewriteRule "^st[aeæÆ]{1,2}vning.pdf$" "/assets/docs/staevning.pdf" [NC]
# Stævningsbilag
RewriteRule "^bilag(?:\.pdf|\.zip)*$" "/assets/docs/bilag.zip" [NC]
# 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]
RewriteRule "^PapeTilRetsudvalget$" "/assets/files/PapeLyver.pdf" [NC]
# Mobile Pay 40456-knap
RewriteRule "^40456\.{0,1}$" "/assets/img/donerOrangeTwcard40456.png"
RewriteRule "^mobilepayknap\.{0,1}$" "/assets/img/donerOrangeTwcard40456.png"
# Max Planck-undersøgelse
RewriteRule "^maxplanck" "https://www.mpicc.de/de/forschung/forschungsarbeit/kriminologie/vorratsdatenspeicherung.html" [NC]
# Krudttøndeangreb
RewriteRule "^krudtt[øoe]+nden*$" "/assets/files/EvalueringKrudttonde.pdf" [NC]
# Elmåler-kronik
RewriteRule "^elm[åa]+ler*$" "/assets/files/powermeter.pdf" [NC]
# Svarskrift
RewriteRule "^svarskrift(?:\.pdf|\.zip)*" "/assets/docs/svarskrift.pdf" [NC]
# Udsættelser
RewriteRule "^uds[æae]+ttelse1(?:\.pdf|\.zip)*" "/assets/docs/delay1.pdf" [NC]
RewriteRule "^uds[æae]+ttelse2(?:\.pdf|\.zip)*" "/assets/docs/delay2.pdf" [NC]
# Vores rykker om udeblivelsesdom og henvisning til landsret
RewriteRule "^rykker(?:\.pdf|\.zip)*" "/assets/docs/rykker.pdf" [NC]
# Aktindsigt om møder på EU-plan
RewriteRule "^aktindsigt-eu-møder" "/assets/docs/2018-0940-0502-eu-arbejde.pdf" [NC]
# Aktindsigt om underkendte indsigter
RewriteRule "^aktindsigt-underkendte-indsigter" "/assets/docs/2018-0940-0355-underkendte-teleindsigter.pdf"
# Folketingsspørgsmål
RewriteRule "^REU624" "/assets/docs/2017-18-REU-624-dommerkendelser.pdf"
RewriteRule "^REU627" "/assets/docs/2017-18-REU-627-statistik.pdf"