Thank you for taking the time to open a detailed bug report. As I understand
The most likely path to getting your issue resolved is to report it upstream
https://issues.apache.org/bugzilla/ .
** Changed in: apache2 (Ubuntu)
Importance: Undecided = Wishlist
** Changed in: apache2 (Ubuntu)
I think you were only missing RewriteOptions inherit. Without that,
only the last set of RewriteRules are executed, and Location comes
after .htaccess. Can you try that?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in
Adding RewriteOptions inherit doesn't seem to have any effect, whether
in the Location section or the .htaccess file.
Besides, looking at the documentation... inherit - This forces the
current configuration to inherit the configuration of the parent. In
per-virtual-server context, this means that