Closed TimidRobot closed 11 months ago
Index Apache2 config (states/apache2/files/index.conf) CC Legal Tools section is missing the language-redirects include:
states/apache2/files/index.conf
language-redirects
https://github.com/creativecommons/sre-salt-prime/blob/17657b8cc0b9a8d9c4f41512a7eeb364f6af140a/states/apache2/files/index.conf#L18-L44
language-redirects include: creativecommons/cc-legal-tools-data: config/language-redirects
creativecommons/cc-legal-tools-data
config/language-redirects
Go to a legacy URL (ex. https://creativecommons.org/licenses/by/4.0/legalcode.zh)
For example, /licenses/by/4.0/legalcode.zh should redirect to /licenses/by/4.0/legalcode.zh-hans.
/licenses/by/4.0/legalcode.zh
/licenses/by/4.0/legalcode.zh-hans
Description
Index Apache2 config (
states/apache2/files/index.conf
) CC Legal Tools section is missing thelanguage-redirects
include:https://github.com/creativecommons/sre-salt-prime/blob/17657b8cc0b9a8d9c4f41512a7eeb364f6af140a/states/apache2/files/index.conf#L18-L44
language-redirects
include:creativecommons/cc-legal-tools-data
:config/language-redirects
Reproduction
Go to a legacy URL (ex. https://creativecommons.org/licenses/by/4.0/legalcode.zh)
Expectation
For example,
/licenses/by/4.0/legalcode.zh
should redirect to/licenses/by/4.0/legalcode.zh-hans
.Resolution