<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Maybe something like:</div><div><br></div><div>fastcgi_param SCRIPT_FILENAME /www/$http_host/www/root$fastcgi_script_name;</div><div><br class="webkit-block-placeholder"></div><div>?</div><div><br class="webkit-block-placeholder"></div><div><div>On 19 Mar 2008, at 13:26, Yordan Georgiev wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">My full path is dynamic.<br><br><a href="http://test.tld1/text.txt">http://test.tld1/text.txt</a> -> /www/test.tld1/www/root/text.txt<br><a href="http://testa.tld1/text.txt">http://testa.tld1/text.txt</a> -> /www/testa.tld1/www/root/text.txt<br> But i don't use php. Result is: No input file specified.<br><br><div class="gmail_quote">On Wed, Mar 19, 2008 at 3:08 PM, bianbian <<a href="mailto:bianbian.org@gmail.com">bianbian.org@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div>use full path? </div> <div>fastcgi_param SCRIPT_FILENAME /full/path$fastcgi_script_name;<br> </div> <div><span class="gmail_quote">2008/3/19, Yordan Georgiev <<a href="mailto:y.georgiev@gmail.com" target="_blank">y.georgiev@gmail.com</a>>:</span><div><div></div><div class="Wj3C7c"> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Hello,<br><br>My nginx.conf is:<br>user web;<br>worker_processes 1;<br><br>#error_log logs/error.log;<br> #error_log logs/error.log notice;<br>#error_log logs/error.log info;<br><br>#pid logs/nginx.pid;<br><br><br>events {<br> worker_connections 1024;<br>}<br><br><br>http {<br> include /etc/nginx/mime.types;<br> default_type application/octet-stream;<br><br> #log_format main '$remote_addr - $remote_user [$time_local] $request '<br> # '"$status" $body_bytes_sent "$http_referer" '<br> # '"$http_user_agent" "$http_x_forwarded_for"';<br><br> #access_log logs/access.log main;<br><br> sendfile on;<br> #tcp_nopush on;<br><br> #keepalive_timeout 0;<br> keepalive_timeout 65;<br><br> #gzip on;<br><br> server {<br> listen 80;<br> server_name <a href="http://80.80.150.21/" target="_blank">80.80.150.21</a>;<br> if ($host ~* "([^\/]+)\.([^\.\/]+\.[^\.\/]+)" ) {<br> set $prefix /$2/$1/root;<br> rewrite (.*) $prefix$1;<br><br> }<br><br> location / {<br> root /www;<br> index index.php index.html index.htm;<br> }<br><br> error_page 500 502 503 504 /50x.html;<br> location = /50x.html {<br> root html;<br> }<br><br> location ~ \.php$ {<br> # fastcgi_pass <a href="http://127.0.0.1:9000/" target="_blank">127.0.0.1:9000</a>;<br> fastcgi_pass unix:/tmp/cgi.sock;<br> fastcgi_index index.php;<br> fastcgi_param SCRIPT_FILENAME $document_root$prefix$fastcgi_script_name;<br> include /etc/nginx/fast-cgi;<br> }<br><br> }<br>}<br clear="all"><br>This configuration is wrong. I don't use valid SCRIPT_FILENAME. How to change this options?<br> <span>-- <br>Please excuse my bad english...<br><br>С уважение,<br>Й. Георгиев.<br><br>WEB: <a href="http://gigavolt-bg.net/" target="_blank">http://gigavolt-bg.net/</a><br> Blog: <a href="http://live.gigavolt-bg.net/" target="_blank">http://live.gigavolt-bg.net/</a> </span></blockquote></div></div></div><font color="#888888"><br><br clear="all"><br>-- <br>bianbian coding life:<br> <a href="http://bianbian.org" target="_blank">http://bianbian.org</a> </font></blockquote></div><br><br clear="all"><br>-- <br>Please excuse my bad english...<br><br>С уважение,<br>Й. Георгиев.<br><br>WEB: <a href="http://gigavolt-bg.net/">http://gigavolt-bg.net/</a><br>Blog: <a href="http://live.gigavolt-bg.net/">http://live.gigavolt-bg.net/</a></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Igor Clark // POKE // 10 Redchurch Street // E2 7DD // +44 (0)20 7749 5355 // <a href="http://www.pokelondon.com">www.pokelondon.com</a></div><div><br></div></div></div></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>