Пропишите root в server.<br>&gt; fastcgi_param  SCRIPT_FILENAME  /home/alex/www/<a href="http://server.com/" target="_blank">server.com</a>$<div style="font-family: &#39;DejaVu Sans&#39;; font-size: 9pt; font-weight: 400; font-style: normal;">
fastcgi_script_name;<br></div>Замените на fastcgi_param  SCRIPT_FILENAME  /home/alex/www/<a href="http://server.com/" target="_blank">server.com</a>/путь/до/скрипта/который/обслуживает.php;<br>

<br><br><div class="gmail_quote">12 июня 2009 г. 19:33 пользователь Alexander <span dir="ltr">&lt;<a href="mailto:alexweb@gmail.com">alexweb@gmail.com</a>&gt;</span> написал:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="font-family: &#39;DejaVu Sans&#39;; font-size: 9pt; font-weight: 400; font-style: normal;">Добрый вечер всем.<br>
<p style="margin: 0px; text-indent: 0px;"><br></p>Итак, я снова возвращаюсь к вопросу настройки nginx и magento<br>
Пока что у меня работает нормально главная страница. При попытке обратиться у урлу любого товара вылетает ошибка No input file specified.<br>
<p style="margin: 0px; text-indent: 0px;"><br></p>В логах при этом следующее <br>
2009/06/12 18:14:32 [error] 19531#0: *1 open() &quot;/usr/local/nginx/html/Урл_Товара&quot; failed (2: No such file or directory), client: 127.0.0.12, server: <a href="http://server.com" target="_blank">server.com</a>, request: &quot;GET /Урл_Товара HTTP/1.1&quot;, host: &quot;<a href="http://server.com" target="_blank">server.com</a>&quot;, referrer: &quot;<a href="http://server.com/" target="_blank">http://server.com/</a>&quot;<br>

<p style="margin: 0px; text-indent: 0px;"><br></p>Почему-то nginx ищет в дефолтной папке, а должен делать редирект на index.php<br>
<p style="margin: 0px; text-indent: 0px;"><br></p>Вот мой конфиг<br>
<p style="margin: 0px; text-indent: 0px;"><br></p>server {<br>
    listen <a href="http://127.0.0.12:80" target="_blank">127.0.0.12:80</a>;<br>
    server_name <a href="http://server.com" target="_blank">server.com</a>;<br>
<p style="margin: 0px; text-indent: 0px;"><br></p>    error_log /tmp/nginx.log debug;<br>
<p style="margin: 0px; text-indent: 0px;"><br></p>    location / {<br>
        index index.php;<br>
        error_page 404 = @magento;<br>
    }<br>
<p style="margin: 0px; text-indent: 0px;"><br></p>    location @magento {<br>
          include /etc/nginx/fastcgi_params;<br>
          root  /home/alex/www/<a href="http://server.com/" target="_blank">server.com/</a>;<br>
          fastcgi_pass   <a href="http://127.0.0.12:8888" target="_blank">127.0.0.12:8888</a>;<br>
          fastcgi_index  index.php;<br>
          fastcgi_param  SCRIPT_FILENAME  /home/alex/www/<a href="http://server.com" target="_blank">server.com</a>$fastcgi_script_name;<br>
    }<br>
<p style="margin: 0px; text-indent: 0px;"><br></p>    location ~* \.(jpg|gif|png|css)$ {<br>
        root /home/alex/www/<a href="http://server.com/" target="_blank">server.com/</a>;<br>
        access_log   off;<br>
        expires      7d;<br>
    }<br>
    <br>
    location ~* print.css$ {<br>
        root /home/alex/www/<a href="http://server.com/" target="_blank">server.com/</a>;<br>
        access_log off;<br>
        gzip             on;<br>
        gzip_min_length  500;<br>
        gzip_proxied     expired no-cache no-store private auth;<br>
        gzip_types       text/plain application/xml text/css;<br>
        expires                7d;            <br>
    }<br>
    <br>
}<br>
<p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;"><br></p></div></blockquote></div><br>