On Thu, Jun 18, 2009 at 11:06 PM, Edho P Arief <span dir="ltr">&lt;<a href="mailto:edhoprima@gmail.com">edhoprima@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Jun 19, 2009 at 12:18 PM, Kevin<br>
<div class="im">Castiglione&lt;<a href="mailto:kevincastiglione@gmail.com">kevincastiglione@gmail.com</a>&gt; wrote:<br>
&gt; On Thu, Jun 18, 2009 at 8:55 PM, Edho P Arief &lt;<a href="mailto:edhoprima@gmail.com">edhoprima@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Jun 19, 2009 at 7:26 AM, Kevin<br>
&gt;&gt; Castiglione&lt;<a href="mailto:kevincastiglione@gmail.com">kevincastiglione@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;             fastcgi_pass backend_flock;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;              - fastcgi_param SCRIPT_FILENAME /$host$fastcgi_script_name;<br>
&gt;&gt; + fastcgi_param SCRIPT_FILENAME /$host/$host$fastcgi_script_name;<br>
&gt;<br>
&gt; Edho<br>
&gt; This also produces the same result. the mapping does not work as expected.<br>
&gt; thank you!<br>
&gt;<br>
&gt;<br>
you may want to check which variables used by your program and adjust<br></div>
them accordingly.<br>
<br>
For example, in (at least) php these are the variables related to document path<br>
<br>
SCRIPT_FILENAME<br>
SCRIPT_NAME<br>
REQUEST_URI<br>
DOCUMENT_URI<br>
DOCUMENT_ROOT<br>
<br>
You may need to adjust one or more of these variables (or maybe other<br>
variables) to make your program works<br>
</blockquote><div>i tried all of these and still no result. my web app is written in python and uses flup fastcgi middleware.<br>thank you! <br></div></div><br>