

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
16 messages in ru.sysoev.nginxRe: Nginx for Symfony| From | Sent On | Attachments |
|---|---|---|
| John Huong | May 24, 2008 5:50 am | |
| Aleksandar Lazic | May 24, 2008 7:17 am | |
| Denis F. Latypoff | May 24, 2008 7:43 am | |
| Aleksandar Lazic | May 24, 2008 8:26 am | |
| John Huong | May 24, 2008 8:54 am | |
| Aleksandar Lazic | May 24, 2008 9:14 am | |
| John Huong | May 24, 2008 9:23 am | |
| Aleksandar Lazic | May 24, 2008 9:41 am | |
| John Huong | May 24, 2008 9:47 am | |
| Aleksandar Lazic | May 24, 2008 2:41 pm | |
| John Huong | May 24, 2008 5:42 pm | |
| Aleksandar Lazic | May 24, 2008 11:53 pm | |
| John Huong | May 25, 2008 7:13 am | |
| Kiril Angov | May 26, 2008 12:41 am | |
| John Huong | May 26, 2008 1:18 am | |
| Aleksandar Lazic | May 26, 2008 11:58 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: Nginx for Symfony | Actions... |
|---|---|---|
| From: | Kiril Angov (kupo...@public.gmane.org) | |
| Date: | May 26, 2008 12:41:58 am | |
| List: | ru.sysoev.nginx | |
John, I suggest you run sumfony under apache to begin with as it seems you are trying two big things at the same time and you will just go in circles.
http://myhostname/myproject/mymodule/index.php
The above is not how the routing in Symfony works. Try http://myhostname/myproject/mymodule or http://myhostname/myproject/mymodule/index
Kupo
On Sun, May 25, 2008 at 10:13 AM, John Huong
<jahuong-Sm1MONCdCdLQT0dZR+Al...@public.gmane.org> wrote:
myproject is a folder under /var/www/nginx-default
server { listen 9891; server_name localhost myserver;
#charset koi8-r;
#access_log logs/host.access.log main;
location / { root /var/www/nginx-default; index index.html index.htm index.php; }
location /myproject/ { rewrite ^(.*) index.php last; }
location /myproject/sf/ { root /usr/share/php/data/symfony/web/sf/; } # location ~ \.php($|/) { # root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /var/www/nginx-default$fastcgi_script_name; include fastcgi_params; }
# deny access to .htaccess files, if Apache's document root # concurs with nginx's one # #location ~ /\.ht { # deny all; #} } Aleksandar Lazic wrote:
On Son 25.05.2008 08:43, John Huong wrote:
Ok here is one part:
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"
and now the conf.







