Skip to content

Commit b160c4a

Browse files
committed
updated to reflect live config (added Temporary Korean translation redirects and cc0 (lowercase) redirect
1 parent 892fae8 commit b160c4a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

config/livelicenses/000-default.conf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,16 @@
169169
# Satisfy Any
170170
</Directory>
171171

172+
173+
# Temporary Korean translation redirects
174+
RewriteRule ^/licenses/by/4.0/legalcode.ko https://creativecommons.org/licenses/by/4.0/legalcode [L,R=307]
175+
RewriteRule ^/licenses/by-sa/4.0/legalcode.ko https://creativecommons.org/licenses/by-sa/4.0/legalcode [L,R=307]
176+
RewriteRule ^/licenses/by-nd/4.0/legalcode.ko https://creativecommons.org/licenses/by-nd/4.0/legalcode [L,R=307]
177+
RewriteRule ^/licenses/by-nc/4.0/legalcode.ko https://creativecommons.org/licenses/by-nc/4.0/legalcode [L,R=307]
178+
RewriteRule ^/licenses/by-nc-sa/4.0/legalcode.ko https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode [L,R=307]
179+
RewriteRule ^/licenses/by-nc-nd/4.0/legalcode.ko https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode [L,R=307]
180+
181+
172182
# Redirect all /license to /choose before we go any deeper
173183
RewriteRule ^/choose$ http://creativecommons.org/choose/ [L,R=301]
174184
RewriteRule ^/license$ http://creativecommons.org/choose/ [L,R=301]
@@ -182,6 +192,7 @@
182192

183193
# Fixes this repercussions of this bug:
184194
# http://code.creativecommons.org/issues/issue898
195+
RewriteRule ^/licenses/cc0/1.0(.*)$ https://creativecommons.org/publicdomain/zero/1.0$1 [L,R=301]
185196
RewriteRule ^/licenses/CC0/1.0(.*)$ https://creativecommons.org/publicdomain/zero/1.0$1 [L,R=301]
186197
# And #694
187198
RewriteRule ^/licenses/zero/1.0/(.*)$ https://creativecommons.org/publicdomain/zero/1.0/$1 [L,R=301]

0 commit comments

Comments
 (0)