-f $request_filename

Tomasz Pajor nikon at puffy.pl
Mon Apr 19 21:57:54 MSD 2010


> A generic method:
>
> location / {
>      root /vhosts/default/test;
>      try_files $uri $uri/ @fallback;
> }
>
> location @fallback {
>      fastcgi_pass unix:/var/run/spawn-fcgi.sock;
>      ...
> }
>    
This seems to work, just one question.
The fastcgi application is Zend based, but i get an

403 forbiddened when try_files is:
$uri $uri/ @fallback

when i set it up to:
$uri @fallback

it seems to work, why is that?



More information about the nginx mailing list