From 4ccb0c66af7a6e5e3e4dc099078b08e1250226e5 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 18 Aug 2010 00:14:10 +0000 Subject: [PATCH] fix directory links in RT (not picking up index.html as a default), RT#9665, fallout from RT#9412 --- htetc/freeside-rt.conf | 4 ++++ rt/FREESIDE_MODIFIED | 1 - rt/share/html/Elements/Dashboards | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/htetc/freeside-rt.conf b/htetc/freeside-rt.conf index d9007e020..c89d2d5c1 100644 --- a/htetc/freeside-rt.conf +++ b/htetc/freeside-rt.conf @@ -1,3 +1,7 @@ + +RedirectMatch permanent (.*)/$ $1/index.html + + SetHandler perl-script PerlHandler HTML::Mason diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index 813cb395e..50b44ec70 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -20,7 +20,6 @@ lib/RT/URI/freeside/Internal.pm lib/RT/URI/freeside/XMLRPC.pm share/html/Admin/Users/Modify.html share/html/Elements/CollectionList - share/html/Elements/Dashboards #adding index.html to edit link share/html/Elements/EditCustomFieldDate #customfield date patch (NEW) share/html/Elements/Header share/html/Elements/PageLayout diff --git a/rt/share/html/Elements/Dashboards b/rt/share/html/Elements/Dashboards index 1a9c05299..3653aa5b8 100644 --- a/rt/share/html/Elements/Dashboards +++ b/rt/share/html/Elements/Dashboards @@ -51,7 +51,7 @@ title_href => RT->Config->Get('WebPath').'/Dashboards/index.html', bodyclass => "", titleright => loc("Edit"), - titleright_href => RT->Config->Get('WebPath').'/Dashboards/index.html', + titleright_href => RT->Config->Get('WebPath').'/Dashboards/', &> <& /Dashboards/Elements/ShowDashboards:table, -- 2.11.0