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: URL


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: URL
  • From: Sergey Shepelev <temotor@xxxxxxxxx>
  • Date: Fri, 3 Dec 2010 00:15:27 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=AyH/cuHFwxWkOP0w1kEvQH/tBw+Yjmw9pTHO2l/6bW4=; b=x12hcO+JawW8+uX14eXisNBmvx5w3Mydsqe+ovwAEEN3XogbWBk3Io3DaqFWYHcQ46 ogvxjPhWNGLyRMaaYTvFMNW/x/CgZkQ+7XG+qkhkYyTQwI5MlB0KTtEb56uBzv1XdjNa 0axtFtLcKtRqq9U2/wPNUYm5LcS92P4yK+X4I=
  • 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:content-transfer-encoding; b=ktf24bjUsFIXIaNGzoGnqJKt19+w476+4i8xQO+S9ckDU9O6cIRbM+eCx13CiCkN8O Wt3KvbW77DYirdjb3VZajJ4aC7uQ7FbcyBwi9s+P+9aepWRslaET7YQabeCN+Tl8v0S4 UpCnfUEi5nk7k9KpirFv9cLVN3lZKvIps9BYg=
  • In-reply-to: <4CF80A2A.4030401@xxxxxxx>
  • References: <4CF80A2A.4030401@xxxxxxx>

2010/12/3 Vladislav V. Prodan <universite@xxxxxxx>:
>
>    nginx?
>

location ~ (.+)/$ {
  rewrite ^ $1 permanent;
}

 ,   Σ 301 . 
        .

>   :
>    location / {
>        index index.php;
-        if (!-e $request_filename) {
-            rewrite ^(.*)$ /index.php$1 last;
-        }
+                try_files $uri /index.php$uri;
>    }

  ,      .

>
>
>
>         URL   ?
>

 ,  .      .
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

  • Follow-Ups:
    • Re: URL
      • From: Vladislav V. Prodan
  • References:
    • U RL
      • From: Vladislav V. Prodan

 




Copyright © Lexa Software, 1996-2009.