From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DNS_FROM_OPENWHOIS, RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to; bh=YM5jDNxJ5eAk/UFoU0rQEzfOHfl+qwVHFut67+TzM/Y=; b=Vh0dBVTNOV9HfTelHVbTqnX/9aTkwBQGFuI/9/RMUAGp5COzgembiWumm/V4kxABHc HPop448E4hTBH3u7NM1GopjNcB46sNzznLZkENtL6lmsNJKpHEjJyvRMdhbplAGDjEVu mERjeGq4z3z6suneJTjqU8X0kVGxJojlrn/OI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=g+rzdDMSQWY0yrND50wNLD0oduIzkMebiJeI/60tesP/IDPUqe/6lHKqysog0oYAJU aBmweidEZxF1ia/dgcf6RzApp4V+SI67jQ/lrUO0Pgak502gb9tXULYzEtivaiPKeCNA Pa8Dp5y+ffLAztYUUzMtYY/Cu2QTzQoSN1JmQ= Sender: Denis Smirnov Date: Wed, 26 Jan 2011 06:07:36 +0300 From: "=?koi8-r?B?5MXOydMg883J0s7P1w==?=" To: ALT Linux sysadmins' discussion Message-ID: <20110126030736.GA22547@mw.mithraen.ru> References: <4D3ED0E0.7080309@tangramltd.com> <20110125155242.GA19530@mw.mithraen.ru> <20110125164057.GB1989@mw.mithraen.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: Subject: Re: [Sysadmins] =?koi8-r?b?8M/Nz8fJ1MUg0yBuZ2lueCByZXdyaXRl?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmins' discussion List-Id: ALT Linux sysadmins' discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2011 03:07:48 -0000 Archived-At: List-Archive: --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 25, 2011 at 07:43:21PM +0300, Yuri Khachaturyan wrote: YK> =EB=CF=CE=C6=C9=C7 =DE=C5=C7=CF? =F7=D3=C5=C7=CF nginx =C9=CC=C9 =C4=CF= =D3=D4=C1=D4=CF=DE=CE=CF =D4=CF=CC=D8=CB=CF =D3=C5=CB=C3=C9=C9 server? YK> rewrite "^/media/(.*)/(.*)/t/([0-9]+)/(.*)\.([a-z0-9]{3})$ YK> /media/$1/$2/$4.$5?$3" break; =E4=CF=D3=D4=C1=D4=CF=DE=CE=CF =DC=D4=CF=CA =D3=D4=D2=CF=DE=CB=C9, =D7 =CB= =CF=D4=CF=D2=CF=CA =C2=D2=C5=C4 :) =F0=CF=D4=CF=CD=D5 =DE=D4=CF =D7=CD=C5=D3=D4=CF =D2=C5=C7=C5=CB=D3=C1 ^/media/(.*)/(.*)/t/([0-9]+)/(.*)\.([a-z0-9]{3})$ =D3 =DA=C1=CD=C5=CE=CF=CA= =CE=C1 /media/$1/$2/$4.$5?$3 =D1 =D7=C9=D6=D5 =D2=C5=C7=C5=CB=D3=D0 "^/media/(.*)/(.*)/t/([0-9]+)/(.*)\.([a-z0-9]{3})$ /media/$1/$2/$4.$5?$3" =D3 =DA=C1=CD=C5=CE=CF=CA =CE=C1 "break"; =F7 =CB=C1=D7=D9=DE=CB=C1=C8 =C4=CF=CC=D6=C5=CE =C2=D9=D4=D8 =D2=C5=C7=C5= =CB=D3=D0, =C1 =CE=C5 regexp =D7=CD=C5=D3=D4=C5 =D3 =D4=C5=CD =CE=C1 =DE=D4= =CF =DA=C1=CD=C5=CE=D1=C5=CD. --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E4=C5=CE=C9=D3 http://mithraen.ru/ ---------------------------------------------------------------------------- --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk0/j/cACgkQPuR8c4jhFKI+SQCghcLptqUx3Dypp62l0oNN094i ZUkAnRyphf5zSc+3kWZT8vSa97I92KuX =47+y -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--