<br><div class="gmail_quote">2009/6/24 Maxim Dounin <span dir="ltr">&lt;<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>&gt;</span><br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">
-         if ($host ~^(.*?)\.%%USER%%\.foo\.com$) {<br>
+         if ($host ~ ^(.*?)\.%%USER%%\.foo\.com$) {<br>
</div></blockquote><div><br>That at least passes but it still doesn&#39;t work.</div><div><br></div><div>fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name the $document_root piece is not being filled in from the &quot;root&quot; capture. It probably should... that&#39;d be a bug if it was up to me.</div>
<div><br></div><div>For the moment I&#39;ve been able to make a crappy hack:</div><div><br></div><div>rewrite ^/$ /index.php last;</div><div><br></div><div><br></div></div>