mp::filter::HttpRewrite::spair_vec vec_res;
vec_res.push_back(std::make_pair(
"(?<proto>http\\:\\/\\/s?)(?<host>[^\\/?#]+)\\/(?<path>[^ >]+)",
- "http://${pxhost}/${pxpath}/${host}/${path}"
+ "THAT WAS MATCHED"
));
fhr.configure(vec_req, vec_res);
" <response>\n"
" <rewrite from='"
"(?<proto>http\\:\\/\\/s?)(?<host>[^\\/?#]+)\\/(?<path>[^ >]+)'\n"
- " to='http://${pxhost}/${pxpath}/${host}/${path}' />\n"
+ " to='THAT WAS MATCHED' />\n"
" </response>\n"
"</filter>\n"
;