以下规则适用于http但不适用于https.
RewriteCond %{QUERY_STRING} "page=" [NC] RewriteRule (.*) /$1? [L] RewriteRule ^/path/file.html$ https://www.domain.tld/path/file/ [R=301,L]
为什么query_string部分在https中不起作用?