Did you do a full "reload" of the nginx conf? Or just restart? Also, what'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 <<a href="mailto:pehaha@gmail.com">pehaha@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 class="Ih2E3d">On Sun, Mar 9, 2008 at 8:24 PM, Tieg Zaharia <<a href="mailto:tieg.zaharia@gmail.com" target="_blank">tieg.zaharia@gmail.com</a>> 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're redirecting to wiki.php instead of to the "/WIKIPAGE" url. As I found out last week, replacing query strings in nginx can be tricky. Does this work? (it won't work with more query string params)<br>
<br>server {<br> if ($query_string ~ ^wiki=(.*)$) {<br> rewrite ^(.*)$ /$1 break;<br> }<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's only one query string.<br>
<font color="#888888">
<br>Per<br>
</font></blockquote></div><br>