ПРОЕКТЫ 


  АРХИВ 


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]

nginx/0.6.31 could not find named location "@drupal"



Подскажите, пожалуйста, где ошибка?

server {

listen       80;
server_name  .domain.com;
        
access_log      /usr/local/www/domain.com/log/access;
error_log       /usr/local/www/domain.com/log/error;
                
root   /usr/local/www/domain.com/data;
index  index.html index.htm index.php;

location / {
        log_not_found  off;
        error_page     404 = @drupal;
}

                

location = @drupal {
        fastcgi_pass   unix:/tmp/php-fcgi.sock;
        fastcgi_index  index.php;

        fastcgi_param  SCRIPT_FILENAME  $document_root/index.php;
        fastcgi_param  QUERY_STRING     q=$request_uri;
}

location ~ \.(class|inc)$ {
        deny  all;
}
                
location ~ \.php$ {

        fastcgi_pass   unix:/tmp/php-fcgi.sock;
        fastcgi_index  index.php;
                        
        include /usr/local/etc/nginx/fastcgi.conf;
}

}




 




Copyright © Lexa Software, 1996-2009.