|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: помогите с rewrite
- To: nginx-ru@xxxxxxxxx
- Subject: Re: помогите с rewrite
- From: "Kirill A. Korinskiy" <catap@xxxxxxxx>
- Date: Wed, 26 Jan 2011 12:52:10 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Eqz7WMaca3p6KXpyd0/chSE3OB5Nw9EaJSLvdbmUpM8=; b=DzEOBe+wdvMIPTikdToZ/VpZAKoa6B/wzNMPGHSEE+HvjlAoH/zP+FFsDqox2MakY2 rYsQTwXQzBw5uCW7fuvZNMiboXRkNTBQe+9vKYJivA0sw0vfzTRM9XpQOZOgndxOnJw6 EKG+lsw3BjEpGfllhVy9njeFMAWzKx/auG9bI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=VkP2Pepp88Qvdrk13x9DRilGQjbt3ZlN76RHFMhP+/+kKKmCkncl0hsDDqnQBeZ59k T+Zhf2K2uiCzRKmzJ5rWBl5mXSNcqHH+OoIDCYBcnqlZKGlvk86e4PhgLFfp+GnyoNz9 hob8X2tE6hJjWoUuB7GsVX5PSAHvhsl0iEJ54=
- In-reply-to: <789541296034328@xxxxxxxxxxxxxxx>
- References: <789541296034328@xxxxxxxxxxxxxxx>
2011/1/26 Хордов Роман <rkhordov@xxxxxxxxx>
Здравствуйте.
При переходе с nginx/0.7.65 на 0.8.53 вот такой error.log:
[notice] 7631#0: *1 "\.(js|ico|gif|jpg|jpeg|png|css|swf|html|xml|ppt|mov|txt|xls|cur|htc)$" does not match "/var/www/site/", client: _, server: _, request: "GET / HTTP/1.1", host: "_"
does not match переводится на русский "не соответствует"
Правило, на которое ссылается лог:
if ($request_filename !~ \.(js|ico|gif|jpg|jpeg|png|css|swf|html|xml|ppt|mov|txt|xls|cur|htc)$) {
rewrite ^(.*)$ /index.php;
}
При этом индекс на отображается. Пустая белая страница.
Спасибо.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
--
wbr, Kirill
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|
|
|