Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: . Yii


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: . Yii
  • From: - <i.am.corpix@xxxxxxxxx>
  • Date: Thu, 13 Aug 2009 02:29:44 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Gq+64IBNh+9T+FGpIVK+MYwLd4OkTFo6xF86Zs/L1Oc=; b=brqKejEke/jzoUIHcAQ1GQA08cfkKKnSVXZxtZmOAjHiV9t1lqYtuXdAxvNKWQtrht wYGPRLIMkGIhwttcS/+U1v5+hD9L7YM3O9ju2U4kX6qDAe1yw2gAq/o1P679lSUW3f8L bGl79+Y15v8QDMlNG+VXhTYzNLyWqa/hZG3BU=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tF9IkGyy4QZS3+IGACPkmUpQQ6sHjaqegquEzbSWz7GwAS2ZCHB41hh5kJuQ4oEn16 2iZO4ew3BcxX8aUSLzrNTZa14sFIn9+z4gz44hRZksJXJs831UJcgJleRdUG+xUZDfnl 5D0IUWP6IuEU2uBlAcLQUCui5DMBIGQ/Krp60=
  • In-reply-to: <20090812173453.GA25850@xxxxxxxxxxxxx>
  • References: <b3ed39870908120913i6db4569fl1e14b7b8c3535b02@xxxxxxxxxxxxxx> <20090812173453.GA25850@xxxxxxxxxxxxx>

GET . , ,
if (!-e $request_filename){
rewrite (.*) /index.php/$1 last;
}


location ~ "\.(js|ico|gif|jpg|png|css)$" {
root /www/corpix.ru/pub/;
}


ݣ - GET .



12 2009 . 21:34 Igor Sysoev <is@xxxxxxxxxxxxx> :
On Wed, Aug 12, 2009 at 08:13:23PM +0400, - wrote:

> . Yii(http://yiiframework.com)
> livejournal .
> ... ...
>
> ...
> servername corpix.ru *.corpix.ru
> # index.php
> if (!-e $request_filename){
> rewrite (.*) /index.php/$1 last;
> }
>
> if ($host ~* "^(([a-z0-9_\-]+)\.corpix.ru)$") {
> set $uid $2;
> rewrite ^(.*)$ /$1?blogName=$uid last;
> }
>
> blogName . , -
> ,
> ... .
> .

- ?

aaa.corpix.ru/bbb
aaa.corpix.ru/.jpg

?


--

http://sysoev.ru




 




Copyright © Lexa Software, 1996-2009.