nginx rewrite help
kevincastiglione at gmail.com
Fri Jun 19 16:53:43 MSD 2009
On Thu, Jun 18, 2009 at 11:06 PM, Edho P Arief <edhoprima at gmail.com> wrote:
> On Fri, Jun 19, 2009 at 12:18 PM, Kevin
> Castiglione<kevincastiglione at gmail.com> wrote:
> > On Thu, Jun 18, 2009 at 8:55 PM, Edho P Arief <edhoprima at gmail.com>
> >> On Fri, Jun 19, 2009 at 7:26 AM, Kevin
> >> Castiglione<kevincastiglione at gmail.com> wrote:
> >> > fastcgi_pass backend_flock;
> >> >
> >> > - fastcgi_param SCRIPT_FILENAME
> >> + fastcgi_param SCRIPT_FILENAME /$host/$host$fastcgi_script_name;
> > Edho
> > This also produces the same result. the mapping does not work as
> > thank you!
> you may want to check which variables used by your program and adjust
> them accordingly.
> For example, in (at least) php these are the variables related to document
> You may need to adjust one or more of these variables (or maybe other
> variables) to make your program works
i tried all of these and still no result. my web app is written in python
and uses flup fastcgi middleware.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx