Хордов Роман
January 26, 2011 04:34AM
Здравствуйте.
При переходе с 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: "_"

Правило, на которое ссылается лог:

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@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

помогите с rewrite

Хордов Роман January 26, 2011 04:34AM

Re: помогите с rewrite

Kirill A. Korinskiy January 26, 2011 04:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready