I whould like this simple rewrite rule:
to be redirected to:
I looked for some solutions and none actually worked..
rewrite ^/somefolder/mypage.aspx?myid=(.*)&tab=overview$ /folder/$1/overview permanent;
rewrite ^/somefolder/mypage\.aspx\?myid=(.*)&tab=overview$ /folder/$1/overview permanent;
What am I doing wrong? I'm getting 404
(simpler rules works just fine..)