From 99ed51a470b49e30ff2e5515edd191e82b632423 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 11 Dec 2013 11:36:58 -0500 Subject: [PATCH] web staff : log update for apache config Signed-off-by: Bill Erickson --- web-staff-log.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 ------------------------------------- -- 2.11.0