ПРОЕКТЫ 


  АРХИВ 


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: ошибка с директиво й rewrite



On Mon, 20 Feb 2006, Igor Sysoev wrote:

On Mon, 20 Feb 2006, Kovrigin Roman wrote:

Кусок конфига:
#75                location  /genres/ {
#76 rewrite ^/genres/([0-9]{1,2})/$ /genres_images.php?id=$1 break;
#77                }

[root@xxxxxxxxxx:~]# nginx -t
2006/02/20 12:02:06 [emerg] 1438#0: directive "rewrite" in /usr/local/etc/nginx/nginx.conf:76 is not terminated by ";" 2006/02/20 12:02:06 [emerg] 1438#0: the configuration file /usr/local/etc/nginx/nginx.conf test failed

Подскажите, плиз, в чем ошибка?

-    rewrite         ^/genres/([0-9]{1,2})/$
+    rewrite        "^/genres/([0-9]{1,2})/$"


Игорь Сысоев
http://sysoev.ru



 




Copyright © Lexa Software, 1996-2009.