fix directory links in RT (not picking up index.html as a default), RT#9665, fallout...
authorivan <ivan>
Wed, 18 Aug 2010 00:14:10 +0000 (00:14 +0000)
committerivan <ivan>
Wed, 18 Aug 2010 00:14:10 +0000 (00:14 +0000)
htetc/freeside-rt.conf
rt/FREESIDE_MODIFIED
rt/share/html/Elements/Dashboards

index d9007e0..c89d2d5 100644 (file)
@@ -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
index 813cb39..50b44ec 100644 (file)
@@ -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
index 1a9c052..3653aa5 100644 (file)
@@ -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,