Welcome! Log In Create A New Profile

Advanced

Re: Помогите с rewrite

Vladimir Getmanshchuk
July 07, 2019 04:22AM
Не уверен, но мне кажется вот так:
return http://somesite.com/directory/$arg_arg1/$arg_arg2 301;

http://nginx.org/en/docs/http/ngx_http_core_module.html#variables

On Sat, Jul 6, 2019 at 5:43 PM Dmytro Lavryk <nginx-forum@forum.nginx.org>
wrote:

> Чего-то видимо туплю. Подскажите как такое организовать:
> есть урл вида http://somesite.com/directory/?arg1=SOME-ARG1&arg2=SOME-ARG2
> нужно получить редирект на
> http://somesite.com/directory/SOME-ARG1/SOME-ARG2
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?21,284765,284765#msg-284765
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru



--
Yours sincerely,
Vladimir Getmanshchuk
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Помогите с rewrite

excentro April 29, 2010 05:53AM

Re: Помогите с rewrite

Slava Kokorin April 29, 2010 06:38AM

Re: Помогите с rewrite

excentro April 29, 2010 09:38AM

Re: Помогите с rewrite

excentro April 29, 2010 09:46AM

Re: Помогите с rewrite

Slava Kokorin April 29, 2010 10:18AM

Re: Помогите с rewrite

excentro April 29, 2010 10:25AM

Re: Помогите с rewrite

Slava Kokorin April 29, 2010 10:34AM

Re: Помогите с rewrite

excentro April 29, 2010 10:51AM

Re: Помогите с rewrite

Alexander Petrovsky August 31, 2011 07:52AM

Re: Помогите с rewrite

Vladimir Getmanshchuk July 07, 2019 04:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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