实现http://www.example.com/?p123重定向到http://www.example.com/p/123.html
pcs = capture_re($request_uri, '^/\?p(\d+)') sec = get(pcs, 1) if sec { dst = concat('/p/', sec, '.html') rewrite(dst, 'break') }
https://help.aliyun.com/zh/cdn/developer-reference/edgescript-built-in-variables