Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: сохранение в логи кукисов, как параметры fastcgi
- To: nginx-ru@xxxxxxxxx
- Subject: Re: сохранение в логи кукисов, как параметры fastcgi
- From: "Alexey Polyakov" <alexey.polyakov@xxxxxxxxx>
- Date: Wed, 7 Mar 2007 00:30:48 +0300
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J3dQdIQSNrqxHiBDu//v5zUUxuD67qEg52JQSd67flm66iCLg+mPSmDFVQZLuiuRdn4pVFLOGkNo35hkp/FSc5kiccfbqoCQgsv/A9bSDEFwS3q9oswiW9l5+uryBQqLZRuOTEPPjERN4FFzZAfh1fNBKZ54SKRN4Lk5b+gcwZQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ivaAcWp4NcPvoWtqI3fZSQ+kSYOt5JpYwHGpDINUFxgI5OUfXU0ycEa3jy1F4wtOpZqbOUweZE89icHMD/kxjhe/ove9C1I/3yPYIc0Tux+cKfbNE7+R/ufIiqsPO7D0eWrWVNHXa8FVPWcWraPHD9BSdNG8cKdw5VXEw/Zt3Ok=
- In-reply-to: <20070306211127.GT62779@xxxxxxxxxxxxx>
- References: <de20cc7b0702270825j780eff5ar67bb623b3c2233b@xxxxxxxxxxxxxx> <20070306211127.GT62779@xxxxxxxxxxxxx>
On 3/7/07, Igor Sysoev <is@xxxxxxxxxxxxx> wrote:
set $somename "";
if ($http_cookie ~ "somename=([^;]+)(?:;|$)") {
set $somename $1;
}
Наверное ~ "\bsomename=([^;]+)" будет корректней.
--
Alexey Polyakov
|