The base website is installed in the “main” directory and “Resource” changes frequently.
My question:
What is the RewriteMatch code required to force all incoming requests to “http://www.example.org/main/” while allowing all “/Resource” URI nodes to remain within the request string after the last slash in the above-mentioned “main” URL?
As I understand your question, it can’t be done. mod_alias (the Redirect series of directives) is limited to a simple regex match while it looks like you need to test that main is not present in the URI before redirecting (a task mod_rewrite is excellent with).
Thanks a bunch, Dave. I think your insight fixed the problem I was up against. I know this approach is probably frowned upon by most professionals out there, but this particular situation dealt with Drupal and a special Domain Access module that did some crazy things with incoming requests. I think your idea fixed it, too, so I’m happy (at least, right now).