| 650:3e4f9cdd70b8 | 651:ed74879c7041 |
|---|---|
| 57 * Rewrite to this url | 57 * Rewrite to this url |
| 58 */ | 58 */ |
| 59 StringTemplate *url; | 59 StringTemplate *url; |
| 60 } RewriteRule; | 60 } RewriteRule; |
| 61 | 61 |
| 62 RewriteRule* rewrite_rule_create(const CxAllocator *a, cxmutstr regex, cxmutstr url); | 62 RewriteRule* rewrite_rule_create(ServerConfiguration *cfg, cxmutstr regex, cxmutstr url); |
| 63 | 63 |
| 64 int rewrite_url( | 64 int rewrite_url( |
| 65 RewriteRule *rule, | 65 RewriteRule *rule, |
| 66 regmatch_t *match, | 66 regmatch_t *match, |
| 67 int nmatch, | 67 int nmatch, |