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: 105
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready