title: joomla BASE HREF uses HTTP instead of HTTPS
body: <p>I wanted to change my site from <code>http</code> to <code>https</code>. Always.</p>
  
  <p>So I configured my apache accordingly. Now when I enter the URL of my site (<a href="https://steamnet.de" rel="nofollow noreferrer">https://steamnet.de</a>) it loads the index site fine but none of the referenced elements (CSS, images etc.)</p>
  
  <p>It seems to me that it does so because the <code>base href</code> is set to <code>http://steamnet.de/</code> and thous does not use <code>https</code> there. I have configured my firefox that it should not load mixed content.</p>
  
  <p>So how can I tell Joomla to set the <code>base href</code> to <code>https://steamnet.de</code> (or otherwise make the site fully <code>ssl</code>?)</p>
  
  <p>I tried to set the global ssl enforce element of joomla configuration ("SSL erzwingen" in german, <code>$force_ssl</code> in <code>configuration.php</code>) to "everything" but then the site breaks with infinite <code>303</code> error redirecting to itself.  (As an afterthought: I was surprised to find a <code>303</code> instead of <code>301</code> here. If someone could explain that I would be grateful)</p>
  
  <p>(<a href="https://stackoverflow.com/users/356375/laoneo">Laoneo</a> suggested some solutions, that did not work out, for completeness here is the list)</p>
  
  <ol>
  <li>configure <code>$live_site</code> to the <code>https</code> url.</li>
  <li>probe if changing <code>$sef</code> and <code>$sef_rewrite</code> helps.</li>
  </ol>
  
  <p>The apache logs:
  <code>access.log</code></p>
  
  <pre><code>91.42.221.000 - - [03/Nov/2013:12:41:25 +0100] "GET / HTTP/1.1" 303 4854 "-" "Mozilla/5.0 (Gecko) Firefox/64"
  91.42.221.000 - - [03/Nov/2013:12:41:25 +0100] "GET / HTTP/1.1" 303 516 "-" "Mozilla/5.0 (Gecko) Firefox/64"
  91.42.221.000 - - [03/Nov/2013:12:41:25 +0100] "GET / HTTP/1.1" 303 516 "-" "Mozilla/5.0 (Gecko) Firefox/64"
  </code></pre>
  
  <p><code>error.log</code> contains nothing on access, but the following lines on <code>reload</code></p>
  
  <pre><code>[Sun Nov 03 12:41:16 2013] [notice] Graceful restart requested, doing restart
  [Sun Nov 03 12:41:16 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
  [Sun Nov 03 12:41:17 2013] [warn] RSA server certificate CommonName (CN) `Angelo Neuschitzer' does NOT match server name!?
  [Sun Nov 03 12:41:17 2013] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze17 with Suhosin-Patch proxy_html/3.0.1 mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
  </code></pre>