summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-08-18 00:14:10 +0000
committerivan <ivan>2010-08-18 00:14:10 +0000
commit4ccb0c66af7a6e5e3e4dc099078b08e1250226e5 (patch)
tree5f08daf193d45cc8f6ae927c371186e04d731183
parent9bdca2fe23584918219395b62effbb9ef0fc5f1c (diff)
fix directory links in RT (not picking up index.html as a default), RT#9665, fallout from RT#9412
-rw-r--r--htetc/freeside-rt.conf4
-rw-r--r--rt/FREESIDE_MODIFIED1
-rw-r--r--rt/share/html/Elements/Dashboards2
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 @@
+<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt>
+RedirectMatch permanent (.*)/$ $1/index.html
+</Directory>
+
<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/NoAuth>
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,