From a51b958cb94eb2784b7e9460f2fccb095d795f05 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Wed, 20 Apr 2011 15:21:52 +0200 Subject: [PATCH] update rack configuration --- config.ru | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.ru b/config.ru index 7591c9e6d..36745305f 100644 --- a/config.ru +++ b/config.ru @@ -33,7 +33,7 @@ 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' - r302 %r{/YPassword(.*)}, '/Scratch/en/softwares/ypassword/iphoneweb' + r302 %r{/YPassword(.*)}, '/n3blog/en/softwares/ypassword/iphoneweb' r302 %r{/(Bastien.*)}, 'http://web.me.com/yann.esposito/$1' end @@ -42,7 +42,7 @@ use Rack::TryStatic, :urls => %w[/], # match all requests :try => ['.html', 'index.html', '/index.html'] # try these postfixes sequentially -errorFile='output/Scratch/en/error/404-not_found/index.html' +errorFile='output/n3blog/en/error/404-not_found/index.html' run lambda { [404, { "Last-Modified" => File.mtime(errorFile).httpdate, "Content-Type" => "text/html",