Thankyou Igor the solution worked<br><br><div class="gmail_quote">2009/9/16 Igor Sysoev <span dir="ltr">&lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Tue, Sep 15, 2009 at 11:23:22PM +0500, Ziyad Saeed wrote:<br>
<br>
&gt; The url is <a href="http://dev.flow3.local/flow3/welcome" target="_blank">http://dev.flow3.local/flow3/welcome</a><br>
&gt; Here is the error<br>
&gt; CreateFile() &quot;C:\nginx/htmlindex.php/flow3/welcome&quot; failed (3: The system<br>
&gt; cannot find the path specified)<br>
<br>
</div>The redirected request is handled again by &quot;location /&quot;, because<br>
it is not matched by &quot;location ~ \.php$&quot;. The right configuration is<br>
below. I also inlcude fastcgi_split_path_info to get right<br>
$fastcgi_script_name for SCRIPT_FILENAME.<br>
<br>
It also strange, that the path is<br>
&quot;C:\nginx/htmlindex.php/flow3/welcome&quot;, but not<br>
&quot;C:\nginx/html/flow/Webindex.php/flow3/welcome&quot;.<br>
<div class="im"><br>
&gt; This is horribly wrong. I&#39;m using try_files for a very simple rewrite rule.<br>
&gt; my server code is<br>
&gt; server {<br>
&gt;         listen  80;<br>
&gt;         server_name  dev.flow3.local;<br>
&gt;<br>
&gt;         location / {<br>
&gt;             root   html/flow3/Web;<br>
&gt;             index index.php;<br>
&gt;             try_files $uri $uri/ index.php$uri;<br>
<br>
</div>-             try_files $uri $uri/ index.php$uri;<br>
+             try_files $uri $uri/ /index.php$uri;<br>
<div class="im"><br>
&gt;         }<br>
&gt;         error_page   500 502 503 504  /50x.html;<br>
&gt;<br>
&gt;        # pass the PHP scripts to FastCGI server listening on <a href="http://127.0.0.1:9000" target="_blank">127.0.0.1:9000</a><br>
&gt;         location ~ \.php$ {<br>
<br>
</div>-         location ~ \.php$ {<br>
+         location ~ \.php($|/) {<br>
<br>
+             fastcgi_split_path_info         ^(.+\.php)(.*)$;<br>
<div><div></div><div class="h5"><br>
&gt;             root   html/flow3/Web;<br>
&gt;             fastcgi_connect_timeout 120;<br>
&gt;             fastcgi_send_timeout 180;<br>
&gt;             fastcgi_read_timeout 180;<br>
&gt;             fastcgi_pass   <a href="http://127.0.0.1:9000" target="_blank">127.0.0.1:9000</a>;<br>
&gt;             fastcgi_index  index.php;<br>
&gt;             fastcgi_param  SCRIPT_FILENAME<br>
&gt; $document_root$fastcgi_script_name;<br>
&gt;             include        fastcgi_params;<br>
&gt;<br>
&gt;         }<br>
&gt;<br>
&gt;         location ~ /\.ht {<br>
&gt;             deny  all;<br>
&gt;         }<br>
&gt;     }<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</font></blockquote></div><br>