title: Directing all AJAX requests to https
body: <p>I have included the following in my .htaccess file so that all page requests are redirected to https:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTPS} off
  RewriteRule (.*) https://%{HTTP_HOST}:443%{REQUEST_URI}
  </code></pre>
  
  <p>Now if I make an AJAX call using a relative address without specifying the full address, will the AJAX request get redirected to https as well, when https is not specified? As the address is not shown in the address bar of the browser, I have no way to check whether http or https is used.</p>