RewriteEngine on
RewriteRule /SingleSignOn/SingleSignOn?r=/dom(.*) /SingleSignOn/SingleSignOn?r=/dom
I think this ought to work. Without having a more accurate example I might be wrong, but I think this will do it...
Thanks, Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com
On Sep 15, 2006, at 3:36 PM, Gregor Schneider wrote: Hi guys,
I've just walked through the docs of mod_rewrite and I got overwhelmed by the complexity of it :(
Actually I just want to do quite a simple thing:
If my URI contains
/SingleSignOn/SingleSignOn?r=/dom[plus_some_other_stuff_here]
change it to
/SingleSignOn/SingleSignOn?r=/dom
If I got the docs correctly, I can't use a regex in RewriteCondition, however, somehow I'm lost setting up a RewriteRule which fullfills my requirement.
Could anybody give me a starter?
TIA
Gregor -- what's puzzlin' you, is the nature of my game
|