{{Extend "layout"}} {{Block "title"}}{{Stored.title}}{{/Block}} {{Block "breadcrumb"}} {{Super}}
rewrite / {path} /index.php{uri}
rewrite 默认为“/”"|T}}" title="basepath">[basepath] { regexp 支持正则表达式。对于高负载的网站应该尽量避免使用正则表达式"|T}}" title="pattern">pattern ext 带前缀“!”则表示排除,如果设为“/”则表示没有扩展名"|T}}" title="extensions...">extensions... if a cond b if_op [and|or] to 可以是一个或多个以空格隔开的路径;支持占位符;支持正则捕获编号(比如:{1},{2}等)服务器将依次检查目标路径的文件或文件夹(如果以/结尾则认为是文件夹)是否存在,一旦找到存在的目标则向其转向,如果所有的目标路径都不存在,则默认使用最后一个;"|T}}" title="destinations...">destinations... }
redir [code] { if a cond b if_op [and|or] ... from to [code] }