Re: ? в url

Denis F. Latypoff latypoff at yandex.ru
Thu Apr 5 15:23:05 MSD 2007


Hello alex,

Thursday, April 5, 2007, 3:51:04 PM, you wrote:

> Добрый день.

> Потребовалось перенаправить запрос с
> $uri='/?' на '/'
> И не пойму как.
> nginx сам убирает ? из $uri если после него
> пусто?

$host$uri?$query_string

> P.S. знаю что смысла никакого в этой
> операции, просто интересно стало


> alex946



> __________ NOD32 2168 (20070404) Information __________

> This message was checked by NOD32 antivirus system.
>   part000.txt - is OK

> http://www.eset.com




-- 
Best regards,
 Denis Latypoff                          mailto:latypoff at yandex.ru






More information about the nginx-ru mailing list