HttpRewriteModule and use more than 10 variables

Yoann QUERET yoann at queret.net
Tue Jan 31 10:16:37 UTC 2012


Hi,

In a rewrite, is it possible to use more than 9 variables ?

How i can use $10, $11, ... ?

rewrite 
"^/img/([0-9a-zA-Z]{1})([0-9a-zA-Z]{7})([0-9a-zA-Z]{1})([0-9a-zA-Z]{7})/([0-9]{4})([0-9]{2})([0-9]{2})/([0-9a-fA-F]{8})([0-9a-fA-F]{4})([0-9a-fA-F]{4})([0-9a-fA-F]{4})([0-9a-fA-F]{12}).*$" 
/$1/$2/$3/$4/$5/$6/$7/$8/$9/$10/$11/$12.image;

Thk



More information about the nginx mailing list