Re: Check if the file exists.

2014-02-20 Thread Francis Daly
On Thu, Feb 20, 2014 at 02:01:22PM -0800, Felix Quintana wrote: Hi there, > >What http request do you make? > > https://localhost/web/app.php/asd/fgh > > >What file on your filesystem do you want to check the existence of? > >What file on your filesystem do you want to tell the fastcgi server t

Re: Check if the file exists.

2014-02-20 Thread Felix Quintana
>What http request do you make? https://localhost/web/app.php/asd/fgh >What file on your filesystem do you want to check the existence of? >What file on your filesystem do you want to tell the fastcgi server to process? d:\symfony\web\app.php >What nginx variables hold the names of the files you

Re: Check if the file exists.

2014-02-20 Thread Francis Daly
On Thu, Feb 20, 2014 at 01:34:10PM -0800, Felix Quintana wrote: Hi there, > I'm trying to check if the file exists before passing it to fastcgi but I > have not found as. > I've tried try_files but not find a way. > The file is of the form: > /web/app.php/asd/fgh?ert

Check if the file exists.

2014-02-20 Thread Felix Quintana
I'm trying to check if the file exists before passing it to fastcgi but I have not found as. This is what I'm doing:             #if (!-f $document_root$fastcgi_script_name)             if (!-f $request_filename)                         {             return 404;             }