From: Bill Erickson Date: Thu, 12 Dec 2013 14:24:11 +0000 (-0500) Subject: web log : more apache config improvements X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=43031de47dd6cc783d3d05442f4998e34ccad7cc;p=working%2FEvergreen.git web log : more apache config improvements Signed-off-by: Bill Erickson --- 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] -----------------------------------------------------------------------------