<font color="#000000"><font size="2"><font face="trebuchet ms,sans-serif">Hi Guys,<br clear="all"></font></font></font><div><font face="'trebuchet ms', sans-serif"><br></font><font face="'trebuchet ms', sans-serif">Has anyone experienced any issues with the map module using the new 1.1.0 compile of nginx? I am mapping user agents and under 1.0.5 everything worked great, with the new version the exact same config doesnt seem to be working. I've tried two different maps based on previous comments and neither seem to work. Anyone else?<br>
</font></div><div><br></div><div><br></div><div>http {</div><div>....</div><div><div><span style="white-space:pre-wrap"> </span>map $http_user_agent $searchengine {</div><div><span style="white-space:pre-wrap"> </span>default 0;</div>
<div><span style="white-space:pre-wrap"> </span>~(?i)mozilla 1;</div><div><span style="white-space:pre-wrap"> </span>~*mozilla 1;</div><div><span style="white-space:pre-wrap"> </span>}</div>
<div><span style="white-space:pre-wrap"> </span></div></div><div>...</div><div> location / {</div><div>....</div><div><div><span style="white-space:pre-wrap"> </span> <span style="white-space:pre-wrap"> </span> if ($searchengine){</div>
<div> <span style="white-space:pre-wrap"> </span>#return 418;</div><div> <span style="white-space:pre-wrap"> </span> rewrite ^ /testing/ redirect;</div><div> <span style="white-space:pre-wrap"> </span>}</div>
</div><div>...</div><div><br></div><div>-- <br><font face="'trebuchet ms', sans-serif">Cheers,</font><div><font face="'trebuchet ms', sans-serif">Rami</font></div><br>
</div>