Thanks for that lead. These rules ARE in a 'Directory' block so this is the 
case. It looks like I can resolve this by placing a 'catch-all' after the first 
'xyz-static-content' rewrite:

RewriteRule ^xyz-static-content_[A-Z0-9a-z._-]+/(.*)$ xyz-static-content/$1
RewriteRule ^xyz-static-content - [L]

Do you see any more straight-forward or efficient way to handle this?

Thanks,
-Kimmel

Date: Fri, 3 Oct 2014 13:35:03 -0400
From: cove...@gmail.com
To: users@httpd.apache.org
Subject: Re: [users@httpd] Odd? mod_rewrite behavior


On Fri, Oct 3, 2014 at 1:31 PM, Lesley Kimmel <ljkimme...@hotmail.com> wrote:
It seems that even the 'xyz-static-content' requests are falling through to, 
and matching, the proxy statement despite the 'L|Last' flag. Can anyone explain 
this behavior? I'm trying to use the second set of rules to avoid having to 
rewrite the situation where the user requests just '/xyz' to '/xyz/'.
​The manual has cautions about the L flag and per-directory (htaccess) 
rewrites.  When you make a substitution in htaccess, the whole thing starts 
over.


                                          

Reply via email to