Re: реврайт не проходит

Александр Усов ooshro на ooshro.org
Сб Мар 5 08:37:19 MSK 2011


Или так:
            location /forum/index.php {
                if ($arg_app = "portal") {
                         rewrite ^(.*)$ http://test.test.org/portal? last;
                }
            }

5 марта 2011 г. 10:13 пользователь Александр Усов <ooshro на ooshro.org>написал:

> if ($arg_app = "portal") { rewrite /forum/index\.php
> http://test.test.org/portal last; }
>
> 5 марта 2011 г. 6:31 пользователь ZLOFENIX <nginx-forum на nginx.us> написал:
>
> Всем ку.
>> По какой волшебной причине
>> rewrite  ^/forum/index\.php\?app=portal  http://test.test.org/portal?
>> last;
>> не проходит ?
>>
>> Posted at Nginx Forum:
>> http://forum.nginx.org/read.php?21,180560,180560#msg-180560
>>
>>
>> _______________________________________________
>> nginx-ru mailing list
>> nginx-ru на nginx.org
>> http://nginx.org/mailman/listinfo/nginx-ru
>>
>
>
>
> --
> Александр
>
> ooshro на ooshro.org
>
>


-- 
Александр

ooshro на ooshro.org
----------- следущая часть -----------
Вложение в формате HTML было извлечено&hellip;
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20110305/fca011c1/attachment-0001.html>


Подробная информация о списке рассылки nginx-ru