I think I applied the patch correctly, ran patch &lt; patchfilename inside the src/http directory and looks like the files were patched.  I then modified the config file to have:<div><br></div><div><div>error_page = 301 <a href="http://www.myprimarydomain.com">http://www.myprimarydomain.com</a>$request_uri;</div>
<div><br></div><div>When starting nginx, I now get this error:</div><div><br></div><div><div>Starting nginx: [emerg]: invalid value &quot;=&quot; in /etc/nginx/nginx.conf:42</div></div><div><br></div><div> </div><div><br>
</div><br><div class="gmail_quote">2010/10/17 Igor Sysoev <span dir="ltr">&lt;<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Sun, Oct 17, 2010 at 08:42:56PM +0400, Igor Sysoev wrote:<br>
<br>
&gt; On Sun, Oct 17, 2010 at 08:33:36PM +0400, Igor Sysoev wrote:<br>
<div class="im">&gt;<br>
&gt; &gt; On Sun, Oct 17, 2010 at 12:29:14PM -0400, Ilan Berkner wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Thanks Igor, appreciate the information, is this something you expect to be<br>
&gt; &gt; &gt; done in coming versions?<br>
&gt; &gt;<br>
</div>&gt; &gt; The attached patch allows this.<br>
&gt; &gt; It will be included in the next 0.8.53.<br>
&gt;<br>
&gt; Sorry, this is wrong patch.<br>
<br>
The new patch.<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5">Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
</div></div><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br></blockquote></div><br></div>