ok, a quick update after having glanced through the source - you&#39;ll need to set BOTH &#39;modern_browser&#39;, and &#39;ancient_browser&#39; (otherwise, u&#39;ll just hit into major frustration - like i did). The &#39;modern_browser&#39; format is as per the examples, and the doc, while &#39;ancient_browser&#39; has to follow the format as given in &#39;Examples&#39;.<br>
<br>-jf<br><br><br clear="all">--<br>&quot;Every nonfree program has a lord, a master --<br>and if you use the program, he is your master.&quot;<br>    --Richard Stallman<br><br>&quot;It&#39;s so hard to write a graphics driver that open-sourcing it would not help.&quot;<br>
    -- Andrew Fear, Software Product Manager, NVIDIA Corporation<br><a href="http://kerneltrap.org/node/7228">http://kerneltrap.org/node/7228</a><br>
<br><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 3:33 PM, Jeffrey &#39;jf&#39; Lim <span dir="ltr">&lt;<a href="mailto:jfs.world@gmail.com">jfs.world@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
as per subject, I&#39;m playing around with the http browser module right now, and I just can&#39;t seem to get it to work.<br><br><a href="http://wiki.nginx.org/HttpBrowserModule" target="_blank">http://wiki.nginx.org/HttpBrowserModule</a> itself seems confused as well. In the first part (&quot;Selection of the index file&quot;), it uses the format &#39;modern_browser msie 5.5&#39; - while in Examples, this format is pointed out as broken.<br>

<br>Either way - I&#39;m expecting for the value of $ancient_browser to only be set when nginx actually detects an ancient browser as set up by the &#39;ancient_browser ...&#39; lines. However, it seems that even without specifying any ancient_browser lines, the $ancient_browser value is set?<br>

<br><br>to show a snippet of my nginx.conf:<br>========<br>location / {<br>    if ($ancient_browser) {<br>        redirect .* /${ancient_browser}.html redirect;<br>    }<br>    proxy_pass <a href="http://127.0.0.1:1000" target="_blank">http://127.0.0.1:1000</a>;<br>

}<br>========<br><br>This triggers the redirect no matter what - FF3, MSIE 7, MSIE 8, ...<br><br>Am i doing anything wrong here? I&#39;m using nginx 0.8.54, compiled from <a href="http://nginx.org" target="_blank">nginx.org</a> (and I havent disabled the http browser module)<br>

<br>thanks,<br>-jf<br><font color="#888888"><br clear="all">--<br>&quot;Every nonfree program has a lord, a master --<br>and if you use the program, he is your master.&quot;<br>    --Richard Stallman<br><br>&quot;It&#39;s so hard to write a graphics driver that open-sourcing it would not help.&quot;<br>

    -- Andrew Fear, Software Product Manager, NVIDIA Corporation<br><a href="http://kerneltrap.org/node/7228" target="_blank">http://kerneltrap.org/node/7228</a><br>
</font></blockquote></div><br>