我想为所有参数化 URL 添加一个非参数规范链接。我尝试通过以下方式做到这一点:
<IfModule mod_rewrite.c>
### Catching all URLs with non-empty parameter ###
RewriteCond %{QUERY_STRING} .
### Adding to all parametrized URLs an environment variable ###
RewriteRule .* : [E=MY_HEAD:1]
</IfModule>
<IfModule mod_headers.c>
### Setting a non-parametrized URL as canonical to all URLs with an environment variable
Header set Link '%{HTTP_HOST}%{REQUEST_URI}e; rel="canonical"' env=MY_HEAD
</IfModule>
我的问题是:寻找我发现有和没有e
after的结果的例子{REQUEST_URI}
。在这种情况下,这意味着什么e
?