tdwg / infrastructure

TDWG infrastructure
5 stars 1 forks source link

Redirect URLs #4

Closed peterdesmet closed 8 years ago

peterdesmet commented 9 years ago

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).

peterdesmet commented 9 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

CynthiaParr-USDA commented 9 years ago

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"

CynthiaParr-USDA commented 9 years ago

Suggest that @sblum consult with @timrobertson100 and @mdoering on best approach to these redirects.

mdoering commented 9 years ago

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

mdoering commented 9 years ago

www.tdwg.org redirects have been done for the standard urls: https://github.com/tdwg/infrastructure/blob/master/vhosts/www.tdwg.org.conf

mdoering commented 9 years ago

The following cnames still need to be done:

Is any of those no longer needed?

peterdesmet commented 9 years ago

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...

peterdesmet commented 9 years ago

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.

peterdesmet commented 8 years ago

This file now contains all redirects for standards. Closing issue.

mdoering commented 8 years ago

Created new issues for the remaining cnames:

tdwg/infrastructure#53 tdwg/infrastructure#59 tdwg/infrastructure#60 tdwg/infrastructure#16 tdwg/tapir#5