Redirect Softwares and Perso to me.com

This commit is contained in:
Yann Esposito (Yogsototh) 2010-09-03 14:35:24 +02:00
parent 74e3136a96
commit 6896c1a738

View file

@ -29,6 +29,11 @@ module ::Rack
end
end
use Rack::Rewrite do
r302 %r{/(Softwares.*)}, 'http://web.me.com/yann.esposito/$1'
r302 %r{/(Perso.*)}, 'http://web.me.com/yann.esposito/$1'
end
use Rack::TryStatic,
:root => "output", # static files root dir
:urls => %w[/], # match all requests