In Apache2::Controller the dispatch mechanism gets the URI into a variable, then removes $r->location from the start of it to get the remaining parts of the path, to determine which controller method to invoke.
This works for <Location> conf but not <LocationMatch>, because $r->location reports the string from the config block instead of the part of the path that matched it. If that is a weird pattern, then it is not found in the literal URI. Is there a way to get at what part of the URI matched the <Location> or <LocationMatch> directive? Thanks. Mark