Something like the following for Apache2 should work.

RewriteRule ^stackforge/barbican/(.*)$ /openstack/barbican/$1 [R=301,NC,L]
RewriteRule ^openstack/oslo.test/(.*)$ /openstack/oslotest/$1 [R=301,NC,L]
RewriteRule ^openstack-dev/openstack-qa/(.*)$
/openstack-attic/openstack-qa/$1 [R=301,NC,L]
RewriteRule ^openstack/melange/(.*)$ /openstack-attic/melange/$1
[R=301,NC,L]
RewriteRule ^openstack/python-melangeclient/(.*)$
/openstack-attic/python-melangeclient/$1 [R=301,NC,L]
RewriteRule ^openstack/openstack-chef/(.*)$
/openstack-attic/openstack-chef/$1 [R=301,NC,L]
RewriteRule ^stackforge/climate/(.*)$ /stackforge/blazar/$1 [R=301,NC,L]
RewriteRule ^stackforge/climate-nova/(.*)$ /stackforge/blazar-nova/$1
[R=301,NC,L]
RewriteRule ^stackforge/python-climateclient/(.*)$
/stackforge/python-blazarclient/$1 [R=301,NC,L]
RewriteRule ^openstack/database-api/(.*)$ /openstack-attic/database-api/$1
[R=301,NC,L]
RewriteRule ^openstack/glance-specs/(.*)$ /openstack/image-specs/$1
[R=301,NC,L]
RewriteRule ^openstack/neutron-specs/(.*)$ /openstack/networking-specs/$1
[R=301,NC,L]
RewriteRule ^openstack/oslo-specs/(.*)$
/openstack/common-libraries-specs/$1 [R=301,NC,L]



On Wed, May 21, 2014 at 8:30 PM, Kevin Benton <[email protected]> wrote:

> Is it possible to use some simple rewrite rules in Apache/nginx/whatever
> to redirect requests to the new locations? It should be a pretty
> straightforward list of regexes.
> On May 21, 2014 2:49 PM, "James E. Blair" <[email protected]> wrote:
>
>> Tom Fifield <[email protected]> writes:
>>
>> > May I ask, will the old names have some kind of redirect to the new
>> names?
>>
>> Of course you may ask!  And it's a great question!  But sadly the answer
>> is "no".  Unfortunately, Gerrit's support for renaming projects is not
>> very good (which is why we need to take downtime to do it).
>>
>> I'm personally quite fond of stable URLs.  However, these started as an
>> "experiment" so we were bound to get some things wrong (and will
>> probably continue to do so) and it's better to try to fix them early.
>>
>> -Jim
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> [email protected]
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>


-- 
Kevin Benton
_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to