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=-1.5 required=5.0 tests=BAYES_00, DNS_FROM_OPENWHOIS, SPF_PASS autolearn=no version=3.2.5 Date: Tue, 25 Jan 2011 21:39:15 +0300 From: Afanasov Dmitry To: sysadmins@lists.altlinux.org Message-ID: <20110125183914.GB9535@utvuk.ender.rk> Mail-Followup-To: sysadmins@lists.altlinux.org References: <4D3ED0E0.7080309@tangramltd.com> <20110125155242.GA19530@mw.mithraen.ru> <20110125164057.GB1989@mw.mithraen.ru> <20110125181728.GA9535@utvuk.ender.rk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: Tue, 25 Jan 2011 18:39:23 -0000 Archived-At: List-Archive: --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 25, 2011 at 09:21:15PM +0300, Yuri Khachaturyan wrote: > 25 =D1=CE=D7=C1=D2=D1 2011=9A=C7. 21:17 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC= =D8 Afanasov Dmitry > =CE=C1=D0=C9=D3=C1=CC: > >> =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? > >> > >> =9A =9A =9A =9A =9A =9A =9A rewrite "^/media/(.*)/(.*)/t/([0-9]+)/(.*)= \.([a-z0-9]{3})$ /media/$1/$2/$4.$5?$3" break; > > =CB=C1=CB=C1=D1 =D0=D2=C5=CC=C5=D3=D4=D8. rewrite "..." "..." break > > > > =C1 =D1 =C2 =D7=CF=CF=C2=DD=C5 =D0=C5=D2=C5=D0=C9=D3=C1=CC =CB=C1=CB > > rewrite "^(/media/.*/t/)(\d+)/(\d+\.\w{3})$ /$1/$3?$2" break; > > > =EE=C5 =D0=CF=CD=CF=C7=CC=CF: =C2=D2=D2, =D3=C1=CD =D3=CB=C1=DA=C1=CC =D0=D2=CF =D0=D2=C5=CC=C5=D3=D4=D8 = =C9 =D3=C1=CD =D6=C5 =D0=CF=D7=D4=CF=D2=C9=CC. =D3=CD=CF=D4=D2=C9=D4=C5 =DA= =C1 =CB=C1=D7=D9=DE=CB=C1=CD=C9: rewrite "^(/media/.*/t/)(\d+)/(\d+\.\w{3})$" "$1$3?$2"; =D3=D0=C5=C3=C9=C1=CC=D8=CE=CF =D0=D2=CF=D7=C5=D2=C9=CC: *1 "^(/media/.*/t/)(\d+)/(\d+\.\w{3})$" matches "/media/video/air_subjects/= 2010-01/01/t/123123/82.flv" *1 rewritten data: "/media/video/air_subjects/2010-01/01/t//82.flv", args: = "123123" --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD =E1=C6=C1=CE=C1=D3=CF=D7 =E4=CD=C9=D4=D2=C9=CA --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk0/GNIACgkQ72GKvac0IyyRXgCfQ8zBChWLDQX8kgAaYoj/NREw xi4AnjJeXrvsg+O6PLxKX5XgU3Q/uAAD =M//Z -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR--