AF wrote:
> Help! If anybody is around, I need an answer soon. (Stupid time crunch!)
>
> I have a URL that I need to parse: 
> http://example.com/page.aspx?Parameter1=foo&Parameter2=bar
>
> When I create the following rule, it works:
>
> <moved-permanently regexp="^/special/page\.asp" target="my_target"/>
>
> But when I actually try to parse even one of the parameters like this, 
> the rule never triggers:
>
> <moved-permanently regexp="^/specials/page\.asp\?Parameter1=foo" 
> target="my_target"/>
>
> I know I must be doing something stupid, but how can I get it to match 
> when there are ? or & in the incoming URL?
You can try full-url-regexp="..."

The standard rewrite behavior ignores parameters and only matches on the 
main url.

-- Scott
>
> Thanks!
> ------------------------------------------------------------------------
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>   



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to