Welcome! Log In Create A New Profile

Advanced

how can i rewrite this?

June 10, 2012 04:56AM
i want to rewrite:

http://a.com/abcde.jpg
to
http://a.com/ab/cde.jpg

here is my nginx config:
rewrite "^/([a-z]{2})([a-z]{3})\.jpg$" /$1/$2.jpg last;

but it not works
Subject Author Posted

how can i rewrite this?

andytse June 10, 2012 04:56AM

Re: how can i rewrite this?

locojohn June 10, 2012 06:57AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 55
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready