O.K. I think the problem was I wasn't using the "set" command after the match... I was trying this:<br><br> if ($query_string ~ "..(..)..") {<br> rewrite ... ...$1...<br> }
<br><br>Thanks,<br>Fred<br><br><div><span class="gmail_quote">On 8/23/07, <b class="gmail_sendername">Igor Sysoev</b> <<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Aug 23, 2007 at 09:56:46AM -0500, Fred Palmer wrote:<br><br>> I need to be able to write a rewrite rule based on the query_string. Is<br>> there an example of parsing it anywhere? Can someone suggest a method for
<br>> doing that?<br><br> if ($query_string ~ "..(..)..") {<br> set $var $1;<br> rewrite ... ...$var...<br> }<br><br>--<br>Igor Sysoev<br><a href="http://sysoev.ru/en/">
http://sysoev.ru/en/</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Fred Palmer | Senior Software Engineer<br>615.653.7228 | <a href="http://www.studionow.com">www.studionow.com</a>