Skip to content

Commit bcf4a09

Browse files
committed
added cc0 rewrite rules. Fixes creativecommons/creativecommons.org#982
1 parent 3c5827c commit bcf4a09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

default

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
# -Aaa is for Chinese
5353
RewriteRule ^/publicdomain/(.*)/([0-9]\.[0-9])/legalcode\.([a-z][a-z](-[A-Z][a-z][a-z][a-z])?)$ /legalcode/$1_$2_$3.html [L]
5454
RewriteRule ^/publicdomain/(.*)/([0-9]\.[0-9])/legalcode\.txt$ /legalcode/$1_$2.txt [L]
55+
# 2019-06-07 Timid Robot: Fixes https://github.com/creativecommons/creativecommons.org/issues/982
56+
RewriteRule ^/publicdomain/(.*)/([0-9]\.[0-9])/(deed)?$ /legalcode/$1_$2.html [L]
57+
RewriteRule ^/publicdomain/(.*)/([0-9]\.[0-9])/deed\.([a-zA-Z_-]+)$ /legalcode/$1_$2_$3.html [L]
5558

5659
# License RDF rewrites
5760
# FIXME: eval whether we should use the LHS as the actual file structure so we don't need the rewrites

0 commit comments

Comments
 (0)