Welcome! Log In Create A New Profile

Advanced

rewrite не хочет работать!!! почему?

Posted by rahc 
rewrite не хочет работать!!! почему?
January 27, 2012 07:53AM
location ~ ^/zoomlevel {
rewrite ^/images/map/tiles/zoomlevelx=(.*)&y=(.*)&z=(.*)$ /tiles/zoomlevel$3/y$2/$1x$2.png;
}
отказывается работать и отдает 404
получаю в логе /images/map/tiles/zoomlevelx=157&y=92&z=8 (404)
нужно преобразовать в /tiles/zoomlevel$3/y$2/$1x$2.png;
Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 64
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