I have a subversion server that is working fine; however, I bought a tool that requires that the project have a "branches" subdirectory an is case sensitive. The entire repository already has projects with a "Branches" folder so I'm trying to write in a rewrite to the httpd.conf file. I've got the LoadModule uncommented and turned the RewriteEngine on, Apache starts but I don't get my desired result.
RewriteRule ^/Root/(.+)/branches(.*) /Root/$1/Branches$2
If I use a RedirectMatch it works in the browser but still doesn't work in tool.
RedirectMatch ^/Root/(.+)/branches(.*) /Root/$1/Branches$2
I understand that Rewrite typically for rewriting to a file or physical location but I've seen some similar example when trying to solve mine. I am open to other approaches, I've looked into the < If > but it is beyond me.
RedirectMatch
working in the browser but not in the tool your tool probably handle redirects faulty, unless it access some other strange URL that is not matched. Do you have any log showing what URL the tool uses?RewriteRule
orRedirectMatch
using asymlink
instead?