web log : more apache config improvements
authorBill Erickson <berick@esilibrary.com>
Thu, 12 Dec 2013 14:24:11 +0000 (09:24 -0500)
committerBill Erickson <berick@esilibrary.com>
Thu, 12 Dec 2013 14:24:11 +0000 (09:24 -0500)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
web-staff-log.txt

index 343cddc..567b0b6 100644 (file)
@@ -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]
 -----------------------------------------------------------------------------
 <LocationMatch /eg/staff/>
     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]
 </LocationMatch>
 -----------------------------------------------------------------------------