From 43031de47dd6cc783d3d05442f4998e34ccad7cc Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 12 Dec 2013 09:24:11 -0500 Subject: [PATCH] web log : more apache config improvements Signed-off-by: Bill Erickson --- web-staff-log.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/web-staff-log.txt b/web-staff-log.txt index 343cddc8c9..567b0b69e0 100644 --- a/web-staff-log.txt +++ b/web-staff-log.txt @@ -127,26 +127,22 @@ 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 +UPDATE: 2013-12-12 Apache Config Repaired +++++++++++++++++++++++++++++++++++++++++ I finally got around to fixing the Apache configuration. It now supports -arbitrary nesting: +arbitrary nesting via EGWeb.pm extension. [source,conf] ----------------------------------------------------------------------------- Options -MultiViews + PerlSetVar OILSWebStopAtIndex "true" # 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] ----------------------------------------------------------------------------- -- 2.11.0