you can use http://nginx.org/en/docs/http/ngx_http_map_module.html Ex: map $http_user_agent $mobile { ~* msn-bot 'http://devnull'; default 'http://productionrupal'; } Thanks, Ajay K On Fri, Feb 21, 2014 at 10:16 PM, rge3 <nginx-forum@nginx.us> wrote: > Maxim Dounin Wrote: > ------------------------------------------------------- > > Hello! > > > &gby ajay - Nginx Mailing List - English
Thanks Maxim Dounin On Thu, Feb 6, 2014 at 5:51 PM, Maxim Dounin <mdounin@mdounin.ru> wrote: > Hello! > > On Thu, Feb 06, 2014 at 01:48:36PM +0530, Ajay k wrote: > > > Is there a way to print all the compiled sequences of a rewrite module as > > documented in > > > > http://wiki.nginx.org/NginxHttpRewriteModule > > No. > > -- > Maxim Douby ajay - Nginx Mailing List - English
Hi , Is there a way to print all the compiled sequences of a rewrite module as documented in http://wiki.nginx.org/NginxHttpRewriteModule This interpreter is a simple stack virtual machine. For example, the directive: location <http://wiki.nginx.org/NginxHttpCoreModule#location> /download/ { if <http://wiki.nginx.org/NginxHttpRewriteModule#if> ($forbidden) { return <httpby ajay - Nginx Mailing List - English