title: Apache manipulating query string on https
body: <p>the following rules works on http but don't on https.</p>
  
  <pre><code>RewriteCond %{QUERY_STRING}    "page=" [NC]
  RewriteRule (.*)  /$1? [L]
  RewriteRule ^/path/file.html$ https://www.domain.tld/path/file/ [R=301,L]
  </code></pre>
  
  <p>Why the query_string part doesn't work in https? </p>