Skip to content

Commit

Permalink
Merge pull request #150 from creativecommons/apche-config-fix
Browse files Browse the repository at this point in the history
Data: fix context of lowercase rewrite
  • Loading branch information
TimidRobot authored Oct 10, 2023
2 parents 0de64cd + ba6d395 commit f8fe7b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/language-redirects
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#
# Must be set within virtual host context:
RewriteMap lowercase int:tolower
RewriteCond %{REQUEST_URI} ^/(licenses|publicdomain)
RewriteCond $1 [A-Z]
RewriteRule ^/?(.*)$ /${lowercase:$1} [R=301,L]

Expand Down

0 comments on commit f8fe7b3

Please sign in to comment.