Welcome! Log In Create A New Profile

Advanced

Re: nginx rewrite url

San
September 01, 2012 06:38PM
02.09.2012 1:10, Виталий Сентяков пишет:
> Доброго времени суток всем!
>
> [...]
>
> Сейчас же надо сделать так:
> rewrite ^/index.php?id=28$ /faq/jurist/ permanent;
>
> и не работает.
>
location = /index.php {

if ($arg_id = "28") {
rewrite ^ /faq/jurist/ permanent;
}

}

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

nginx rewrite url

senty September 01, 2012 06:12PM

Re: nginx rewrite url

San September 01, 2012 06:38PM

Re: nginx rewrite url

VBart September 01, 2012 08:10PM

Re: nginx rewrite url

senty September 02, 2012 01:44PM

Re: nginx rewrite url

VBart September 02, 2012 01:56PM

Re: nginx rewrite url

senty September 02, 2012 04:48PM

Re: nginx rewrite url

senty September 03, 2012 05:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 93
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready