I can provide more help if needed, just let me know.
It’s not clear what are you trying to report, but above regexps
won’t work as nginx only supports $1…$9 enumerated captures. And
most likely they’ll cause segfault in 0.7.*. Segfault should be
fixed in 0.8.25+.
Use non-capturing groups (i.e. “(?:…)”, see man pcresyntax for
details) to avoid extra numbering (and save some trees) and/or use
named captures as available in 0.8.*.
Or, even better, stop using this ugly rewrites and parse urls in
php code.
Maxim D.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.