From: Bill Erickson Date: Wed, 11 Dec 2013 16:36:58 +0000 (-0500) Subject: web staff : log update for apache config X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=99ed51a470b49e30ff2e5515edd191e82b632423;p=working%2FEvergreen.git web staff : log update for apache config Signed-off-by: Bill Erickson --- diff --git a/web-staff-log.txt b/web-staff-log.txt index 62fa8dc02b..343cddc8c9 100644 --- a/web-staff-log.txt +++ b/web-staff-log.txt @@ -127,6 +127,29 @@ dynamic configuration that can map elemenents of arbitrarily-nested paths (or possibly a small set with predefined path depths) to the correct index file would be ideal. +UPDATE: 2013-12-11 Apache Config Repaired ++++++++++++++++++++++++++++++++++++++++++ + +I finally got around to fixing the Apache configuration. It now supports +arbitrary nesting: + +[source,conf] +----------------------------------------------------------------------------- + + Options -MultiViews + + # map /eg/staff to /eg/staff/index + RewriteEngine On + RewriteCond %{PATH_INFO} =/staff/ + RewriteRule (.*) /eg/staff/index [L,DPI] + + # map /eg/staff/foo/bar to /eg/staff/foo/index + RewriteEngine On + RewriteCond %{PATH_INFO} !.*/(index|css|t_*) + RewriteRule (.*)/[^\/]+$ $1/index [L,DPI] + +----------------------------------------------------------------------------- + 2013-11-21 Angular $scope inheritance -------------------------------------