Did you do a full &quot;reload&quot; of the nginx conf? Or just restart? Also, what&#39;s the resulting url that it takes you too?<br><br><div class="gmail_quote">On Sun, Mar 9, 2008 at 5:51 PM, Per Hans Hansen &lt;<a href="mailto:pehaha@gmail.com">pehaha@gmail.com</a>&gt; 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 class="Ih2E3d">On Sun, Mar 9, 2008 at 8:24 PM, Tieg Zaharia &lt;<a href="mailto:tieg.zaharia@gmail.com" target="_blank">tieg.zaharia@gmail.com</a>&gt; 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;">
I think the first problem is that you&#39;re redirecting to wiki.php instead of to the &quot;/WIKIPAGE&quot; url. As I found out last week, replacing query strings in nginx can be tricky. Does this work? (it won&#39;t work with more query string params)<br>


<br>server {<br>&nbsp; if ($query_string ~ ^wiki=(.*)$) {<br>&nbsp;&nbsp;&nbsp; rewrite ^(.*)$ /$1 break;<br>&nbsp; }<br>}<font color="#888888"><br></font></blockquote></div><br></div>Hi, thanks for your response. I tried your proposed config change, but it still does not work. And there&#39;s only one query string.<br>
<font color="#888888">
<br>Per<br>
</font></blockquote></div><br>