32 messages in ru.sysoev.nginxRe: nginx rewrite help
FromSent OnAttachments
Kevin CastiglioneJun 17, 2009 9:22 pm 
Edho P AriefJun 17, 2009 9:41 pm 
Edho P AriefJun 17, 2009 9:45 pm 
Edho P AriefJun 17, 2009 9:49 pm 
Edho P AriefJun 17, 2009 10:08 pm 
Igor SysoevJun 18, 2009 12:42 am 
Kevin CastiglioneJun 18, 2009 6:37 am 
Kevin CastiglioneJun 18, 2009 6:38 am 
Igor SysoevJun 18, 2009 6:48 am 
Kevin CastiglioneJun 18, 2009 7:21 am 
Igor SysoevJun 18, 2009 7:22 am 
Kevin CastiglioneJun 18, 2009 7:44 am 
Igor SysoevJun 18, 2009 7:51 am 
Kevin CastiglioneJun 18, 2009 8:10 am 
Igor SysoevJun 18, 2009 8:15 am 
Edho P AriefJun 18, 2009 8:23 am 
Kevin CastiglioneJun 18, 2009 5:25 pm 
Kevin CastiglioneJun 18, 2009 5:25 pm 
Edho P AriefJun 18, 2009 8:54 pm 
Kevin CastiglioneJun 18, 2009 10:17 pm 
Edho P AriefJun 18, 2009 11:06 pm 
Igor SysoevJun 18, 2009 11:12 pm 
Kevin CastiglioneJun 19, 2009 5:53 am 
Kevin CastiglioneJun 19, 2009 5:53 am 
Igor SysoevJun 19, 2009 5:57 am 
Kevin CastiglioneJun 19, 2009 7:28 am 
Igor SysoevJun 19, 2009 7:42 am 
Edho P AriefJun 19, 2009 7:47 am 
Kevin CastiglioneJun 19, 2009 7:55 am 
Kevin CastiglioneJun 19, 2009 7:59 am 
Igor SysoevJun 19, 2009 8:13 am 
Kevin CastiglioneJun 19, 2009 6:02 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: nginx rewrite helpActions...
From:Kevin Castiglione (kevi@gmail.com)
Date:Jun 19, 2009 5:53:20 am
List:ru.sysoev.nginx

On Thu, Jun 18, 2009 at 11:06 PM, Edho P Arief <edho@gmail.com> wrote:

On Fri, Jun 19, 2009 at 12:18 PM, Kevin Castiglione<kevi@gmail.com> wrote:

On Thu, Jun 18, 2009 at 8:55 PM, Edho P Arief <edho@gmail.com>

wrote:

On Fri, Jun 19, 2009 at 7:26 AM, Kevin Castiglione<kevi@gmail.com> wrote:

fastcgi_pass backend_flock;

- fastcgi_param SCRIPT_FILENAME

/$host$fastcgi_script_name;

+ fastcgi_param SCRIPT_FILENAME /$host/$host$fastcgi_script_name;

Edho This also produces the same result. the mapping does not work as expected. 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 path

SCRIPT_FILENAME SCRIPT_NAME REQUEST_URI DOCUMENT_URI DOCUMENT_ROOT

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. thank you!