Closed peterdesmet closed 8 years ago
I assume the redirect mechanism can handle paths after the permanent URL to be redirected as well?
E.g.
http://www.tdwg.org/standards/150
http://www.tdwg.org/standards/150/
http://www.tdwg.org/standards/150/usageInfo/
Are all redirected to https://github.com/tdwg/guid-as
It looks like there is a module already installed on our Typo3 called "RealURL" that allows us to configure the redirects. Stan is reading up on this and it requires Apache "Mod_rewrite"
Suggest that @sblum consult with @timrobertson100 and @mdoering on best approach to these redirects.
We also need to maintain rewrite rules for the rs.tdwg.org domain. These are more complex as they are also used to resolve term URIs, for example http://rs.tdwg.org/dwc/terms/organismName
I would propose we maintain a proper apache rewrite rule file for each domain in this project that we then can just use in the apache configs? I have uploaded the existing apache virtual host files from the current tdwg servers: https://github.com/tdwg/infrastructure/tree/master/vhosts
The rs.tdwg.org file in particular contains lots of rewrite rules already
www.tdwg.org redirects have been done for the standard urls: https://github.com/tdwg/infrastructure/blob/master/vhosts/www.tdwg.org.conf
The following cnames still need to be done:
Is any of those no longer needed?
Thanks @mdoering. 3 standard URLs are not yet forwarded (no repo yet), but http://ww1.tdwg.org/standards/449 (TAPIR) currently does not forward to https://github.com/tdwg/tapir
Don't know about the other cnames...
Didn't read this comment. Tapir link is now solved. For the other redirects, I will ping you once the repo's have been set up.
Regarding the other cnames: probably best to ask in a separate issue, so this one can be closed.
This file now contains all redirects for standards. Closing issue.
Created new issues for the remaining cnames:
tdwg/infrastructure#53 tdwg/infrastructure#59 tdwg/infrastructure#60 tdwg/infrastructure#16 tdwg/tapir#5
The list of URLs to be redirected can be found here. This list will only be complete once all standards have been moved.
See #3 on how to implement the redirects (
Apache mod_rewrite
).