Welcome! Log In Create A New Profile

Advanced

Re: convert rule apache to nginx

Михаил Монашёв
February 17, 2013 06:36AM
Здравствуйте, Виталий.

> RewriteCond %{REQUEST_URI} /(.+?)/pagina-(.+?)/ [NC]
> RewriteRule (.*) /%1/?page=%2 [L,QSA,NC]

А зачем менять uri? Запрос куда дальше пойдёт? Выглядит так, как будто
потом он будет проксироваться к какому-то бэкенду.

Вы бы описали всю задачу, тогда Вам было бы проще помощь.
--
С уважением,
Михаил mailto:postmaster@softsearch.ru

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

convert rule apache to nginx

senty February 17, 2013 02:56AM

Re: convert rule apache to nginx

Михаил Монашёв February 17, 2013 06:36AM

Re: convert rule apache to nginx

senty February 17, 2013 08:39AM

Re[2]: convert rule apache to nginx

Михаил Монашёв February 17, 2013 09:52AM

Re: convert rule apache to nginx

Anton Yuzhaninov February 18, 2013 06:04AM

Re: convert rule apache to nginx

VovansystemS February 18, 2013 06:30AM

Re: convert rule apache to nginx

VovansystemS February 18, 2013 07:36AM

Re[2]: convert rule apache to nginx

Михаил Монашёв February 18, 2013 09:52AM

Re: Re[2]: convert rule apache to nginx

VovansystemS February 18, 2013 10:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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