I think I'm close but this isn't working. I want take an address like this:
http://www.homepage.com/widget-start/homea
and rewrite it to this:
http://www.homepage.com/navigation.do?m ... e=WIDGET_A
In this example pulling "widget" and "a" from the original URL, setting them to uppercase and dropping them into the rewritten URL. In all cases "home" will appear in the request URL with either a,b,c appended to it; and the first element in the path will have the format of "[a-z]-[a-z]."
Here's the mapping I'm trying
RewriteEngine On
RewriteOptions Inherit
RewriteMap upper2lower int:tolower
RewriteMap lower2upper int:toupper
^/([a-z+])\-([a-z+])/home([abc])$ http://www.homepage.com/oo/navigation.d ... dingPage=${lower2upper:$1}_${lower2upper:$3} [R=301,L]d
Any input would be greatly appreciated.