<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://gwiki3.thatlinuxbox.com/index.php?action=history&amp;feed=atom&amp;title=Settings_for_https</id>
		<title>Settings for https - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://gwiki3.thatlinuxbox.com/index.php?action=history&amp;feed=atom&amp;title=Settings_for_https"/>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=Settings_for_https&amp;action=history"/>
		<updated>2026-04-06T10:06:28Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.5</generator>

	<entry>
		<id>http://gwiki3.thatlinuxbox.com/index.php?title=Settings_for_https&amp;diff=6362&amp;oldid=prev</id>
		<title>Dirk: Documented settings to make geeklog.net work over https</title>
		<link rel="alternate" type="text/html" href="http://gwiki3.thatlinuxbox.com/index.php?title=Settings_for_https&amp;diff=6362&amp;oldid=prev"/>
				<updated>2014-01-02T22:38:11Z</updated>
		
		<summary type="html">&lt;p&gt;Documented settings to make geeklog.net work over https&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Settings for using https on geeklog.net =&lt;br /&gt;
&lt;br /&gt;
== In Geeklog ==&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
* Configuration &amp;gt; Geeklog Configuration &amp;gt; Site &amp;gt; Site: Make sure both &amp;quot;Site URL&amp;quot; and &amp;quot;Admin URL&amp;quot; use an URL starting with &amp;quot;https&amp;quot;&lt;br /&gt;
* Configuration &amp;gt; Geeklog Configuration &amp;gt; Miscellaneous &amp;gt; Cookies: Set &amp;quot;Cookie Secure&amp;quot; to &amp;quot;True&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Templates, CSS, etc. ===&lt;br /&gt;
&lt;br /&gt;
Make sure all images are references using https: URLs. Otherwise, browsers will warn their users about a mix of secure and insecure content on the page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== On the Server ==&lt;br /&gt;
&lt;br /&gt;
In .htaccess, have this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RewriteEngine On&lt;br /&gt;
&lt;br /&gt;
RewriteCond %{HTTPS} off&lt;br /&gt;
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the [L] is not strictly necessary for https to work, but will prevent issues with other rewrite rules, e.g. those that make sure geeklog.net always redirects to www.geeklog.net&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other Considerations ==&lt;br /&gt;
&lt;br /&gt;
The above rewrite rule ensures that all links using http: will automatically redirect to their https: counterpart. Since this will cause another HTTP request, it's desirable to update old links - at least those in the geeklog.net database. The &amp;quot;Migrate&amp;quot; option in the install script should be able to do that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Internals]]&lt;/div&gt;</summary>
		<author><name>Dirk</name></author>	</entry>

	</feed>