Nginx for Symfony

Aleksandar Lazic al-nginx at none.at
Tue May 27 10:59:07 MSD 2008


On Son 25.05.2008 22:13, John Huong wrote:
>>John wrote:
>>> 2008/05/25 00:46:08 [error] 4421#0: *5 open() 
>>> "/usr/share/php/data/symfony/web/sf/myproject/sf/sf_default/images/icons/ok48.png" 
>>> failed (2: No such file or directory), client: 192.168.11.86, server: 
>>> localhost, request: "GET /myproject/sf/sf_default/images/icons/ok48.png 
>>> HTTP/1.1", host: "10.1.1.88:9891", referrer: 
>>> "http://10.1.1.88:9891/myproject/index.php"


> myproject is a folder under /var/www/nginx-default

[snipp]

a guess:

-        location /myproject/sf_default {
+       location /myproject/sf_default {
-          root /usr/share/php/data/symfony/web/sf/;
+          root /usr/share/php/data/symfony/web;

please take a look which is the correct path for the default symfony
installation.

Aleks





More information about the nginx mailing list