ulovliglogning.dk/htaccess
Rasmus Malver f628d6f332
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Revert "opdateret htaccess lose-lose"
This reverts commit 2655d2e393.
2021-06-28 22:51:39 +02:00

137 lines
5.8 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/files/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]
# Engelsksproget side
RewriteRule "^en(?:glish)?$" "/en" [NC]
# Vedtægter
Redirect "vedtaegter.pdf" "/assets/docs/vedtaegter.pdf"
RewriteRule "^vedt[æÆae]{1,2}gter$" "/assets/docs/vedtaegter.pdf" [NC]
# Indsamlingstilladelse
RewriteRule "^indsamlingstilladelse2018?$" "/assets/docs/indsamlingstilladelse2018.pdf" [NC]
RewriteRule "^indsamlingstilladelse(?:2019)?$" "/assets/docs/indsamlingstilladelse2019.pdf" [NC]
RewriteRule "^indsamlingstilladelse(?:2020)?$" "/assets/docs/indsamlingstilladelse2020.pdf" [NC]
### Processkrifter ###
# Stævning
RewriteRule "^st[aeæÆ]{1,2}vning\.{0,1}$" "/assets/docs/2018-06-01-staevning.pdf" [NC]
RewriteRule "^st[aeæÆ]{1,2}vning.pdf$" "/assets/docs/2018-06-01-staevning.pdf" [NC]
# Stævningsbilag
RewriteRule "^bilag(?:\.pdf|\.zip)*$" "/assets/docs/bilag.zip" [NC]
# Udsættelse af deadline for svarskrift
RewriteRule "^uds[æae]+ttelse1(?:\.pdf|\.zip)*" "/assets/docs/2018-07-02-KA-delay1.pdf" [NC]
RewriteRule "^uds[æae]+ttelse2(?:\.pdf|\.zip)*" "/assets/docs/2018-08-30-KA-delay2.pdf" [NC]
# Svarskrift
RewriteRule "^svarskrift(?:\.pdf|\.zip)*" "/assets/docs/2018-09-24-svarskrift.pdf" [NC]
# Replik
RewriteRule "^replik(?:\.pdf|\.zip)*" "/assets/docs/2021-01-07-replik.pdf" [NC]
# Duplik
RewriteRule "^duplik(?:\.pdf|\.zip)*" "/assets/docs/2021-02-25-duplik.pdf" [NC]
# Ekstrakt
RewriteRule "^ekstrakt(?:\.pdf|\.zip)*" "/assets/docs/2021-04-28-ekstrakt.pdf" [NC]
# Vores rykker om udeblivelsesdom og henvisning til landsret
RewriteRule "^rykker(?:\.pdf|\.zip)*" "/assets/docs/2018-09-27-rykker.pdf" [NC]
# Udsættelse pga. EU-sag - Anmodning
RewriteRule "^uds[æae]+ttelse3$" "/assets/docs/2018-12-05-KA-delay3.pdf" [NC]
# Udsættelse pga. EU-sag - Vores svar
RewriteRule "^uds[æae]+ttelse3-svar$" "/assets/docs/2018-12-10-FIUL-svar.pdf" [NC]
# Udsættelse pga. EU-sag - Deres svar
RewriteRule "^uds[æae]+ttelse3-replik$" "/assets/docs/2019-01-29-KA-svar.pdf" [NC]
# Udsættelse pga. EU-sag - Kendelse
RewriteRule "^uds[æae]+ttelse3-kendelse$" "/assets/docs/2019-02-26-kendelse.pdf" [NC]
# Udsættelse pga. EU-sag - Vores ansøgning til Procesbevillingsnævnet
RewriteRule "^uds[æae]+ttelse3-pbn$" "/assets/docs/2019-03-12-FIUL-PBN.pdf" [NC]
# Udsættelse pga. EU-sag - Kammeradvokatens svar
RewriteRule "^uds[æae]+ttelse3-pbn-svar$" "/assets/docs/2019-04-25-KA-PBN.pdf" [NC]
# Udsættelse pga. EU-sag - Vores replik
RewriteRule "^uds[æae]+ttelse3-pbn-svar$" "/assets/docs/2019-05-10-FIUL-svar.pdf" [NC]
# Udsættelse pga. EU-sag - Procesbevillingsnævnets afgørelse
RewriteRule "^uds[æae]+ttelse3-pbn-svar$" "/assets/docs/2019-05-23-PBN-afg.pdf" [NC]
# Genoptagelse 1. september
RewriteRule "^genoptagelse(?:\.pdf)*" "/assets/docs/2019-08-30-FIUL-genoptagelse.pdf" [NC]
# Gen-udsættelse pga. EU-sag
RewriteRule "^uds[æae]+ttelse4$" "/assets/docs/2019-08-30-KA-delay4.pdf" [NC]
# Gen-udsættelse pga. EU-sag - Vores svar
RewriteRule "^uds[æae]+ttelse4-svar$" "/assets/docs/2019-09-11-FIUL-svar.pdf" [NC]
# Gen-udsættelse pga. EU-sag - Kendelse
RewriteRule "^uds[æae]+ttelse4-kendelse$" "/assets/docs/2019-09-30-Kendelse.pdf" [NC]
RewriteRule "^materialesamling(?:\.pdf)?$" "/assets/docs/2021-05-06-materialesamling.pdf" [NC]
### Andre ting end processkrifter ###
# 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 telebranchen
RewriteRule "^papesbrev(?:\.pdf)?$" "/assets/docs/2017-03-16-PapesBrev.pdf" [NC]
RewriteRule "^nicksbrev(?:\.pdf)?$" "/assets/docs/2020-10-30-NicksBrev.pdf" [NC]
# Brev til Retsudvalget 2018
RewriteRule "^PapeLyver.pdf$" "/assets/docs/2018-01-11-PapeTilREU.pdf" [NC]
RewriteRule "^PapeTilRetsudvalget$" "/assets/docs/2018-01-11-PapeTilREU.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/docs/2015-05-04-EvalueringKrudttonde.pdf" [NC]
# Elmåler-kronik
RewriteRule "^elm[åa]+ler*$" "/assets/docs/powermeter.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"
# Folketingsnotat om lovmæssigheden
RewriteRule "^REU186" "/assets/docs/2017-01-13-REU-186-EU-notat.pdf"
# Gif af Rasmus der råber terror!
RewriteRule "^terror(?:frygt)?(?:\.gif)?$" "/assets/img/terrorfrygt.gif"
# GF2019 site
Redirect /gf2019 /gf2019.html
# Generalforsamlingsreferat 2021
RewriteRule "^gf2021referat" "/assets/docs/2021-03-30-Referat-generalforsamling.pdf"
# Logningshåndbog
RewriteRule "^h[åa]+ndbog(?:\.pdf)*" "/assets/docs/Logningshaandbog.pdf" [NC]
# 2020-10-06 Pressemeddelelse om EU-dom
RewriteRule "^2020-10-06-eudom" "/assets/docs/2020-10-06-pm-eu-dom.html" [NC]