NginxHttpRewriteModule compiled sequence

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 http://wiki.nginx.org/NginxHttpRewriteModule#return 403;
}
if http://wiki.nginx.org/NginxHttpRewriteModule#if ($slow) {
limit_rate http://wiki.nginx.org/NginxHttpCoreModule#limit_rate
10k;
}
rewrite http://wiki.nginx.org/NginxHttpRewriteModule#rewrite
^/(download/.)/media/(.)…*$ /$1/mp3/$2.mp3 break
http://wiki.nginx.org/NginxHttpRewriteModule#break;}

will be compiled into this sequence:

variable $forbidden
checking to zero
recovery 403
completion of entire code
variable $slow
checking to zero
checkings of regular expression
copying “/”
copying $1
copying “/mp3/”
copying $2
copying “.mp3”
completion of regular expression
completion of entire sequence

Thanks,
Ajay K

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 D.
http://nginx.org/

Thanks Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs