Welcome! Log In Create A New Profile

Advanced

Re: Help: My rewriting does not work.

September 25, 2011 08:18PM
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@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



--
MagicBear

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Help: My rewriting does not work.

ohjyops September 25, 2011 01:03AM

Re: Help: My rewriting does not work.

magicbear September 25, 2011 08:18PM

Re: Help: My rewriting does not work.

ohjyops September 26, 2011 12:19AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 166
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready