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

Борис Долгов boris at dolgov.name
Thu Dec 18 18:39:55 MSK 2008


2008/12/18 Anton Bogdanovitch <poison.box at gmail.com>

> Подскажите, пожалуйста, где ошибка?
>
> 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 {
+ 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;
> }
>
> }
>
>
>


-- 
С уважением, Борис Долгов.
icq 77556665
e-mail boris at dolgov.name
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20081218/bb2bcaf0/attachment.html>


More information about the nginx-ru mailing list