Help: My rewriting does not work.

MagicBear magicbearmo at gmail.com
Mon Sep 26 00:16:03 UTC 2011


you may need to using ^/人体穴位蛙.html /w/新页面 permanent;

note: You need save the file at ASCII mode for match GBK charset. But
I am not share may it work for this.

2011/9/25 ohjyops <nginx-forum at nginx.us>:
> I want to rewrite an old page to a new location, I use this code:
>
> rewrite ^/%C8%CB%CC%E5%D1%A8%CE%BB%CD%BC.html /w/新页面 permanent;
>
> But it does not work. I still can open the old page from
> http://mysite.com/%C8%CB%CC%E5%D1%A8%CE%BB%CD%BC.html, not being
> redirected to the new location.
>
> Can you help me correct my rewriting code? Thanks.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,215776,215776#msg-215776
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



-- 
MagicBear



More information about the nginx mailing list