httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boysenberry Payne <boysenbe...@humaniteque.com>
Subject Re: [users@httpd] mod_rewrite-question
Date Fri, 15 Sep 2006 22:02:33 GMT
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


Mime
View raw message