<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Redirect HTTP to HTTPS</title>
	<atom:link href="http://www.karkomaonline.com/index.php/2005/08/redirect-http-to-https/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.karkomaonline.com/index.php/2005/08/redirect-http-to-https/</link>
	<description>a Blog for SysAdmins and Unix stuff in general</description>
	<lastBuildDate>Sat, 20 Mar 2010 13:23:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: anonymous</title>
		<link>http://www.karkomaonline.com/index.php/2005/08/redirect-http-to-https/comment-page-1/#comment-72</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Sat, 19 Nov 2005 16:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.karkoma.info/index.php/2005/08/06/redirect-http-to-https/#comment-72</guid>
		<description>&lt;p&gt;This was the best advice on this topic I found.&lt;/p&gt;
&lt;p&gt;Just a note:&lt;/p&gt;



&lt;blockquote&gt;Remember, if you put these rules in the main server conf file (usually httpd.conf) rather than an .htaccess file, you&#039;ll need to use ^/... ... instead of ^... ... at the beginning of the RewriteRule line, in other words, add a slash.&lt;/blockquote&gt;


&lt;p&gt;... and the opposite is as well truth.&lt;/p&gt;
&lt;p&gt;Took me almost an hour to get my redirection working, until I deleted the slash at the beginning of the rewrite rule to:&lt;/p&gt;


&lt;blockquote&gt;RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [L,R]&lt;/blockquote&gt;


&lt;p&gt;Hope this helps someone.&lt;/p&gt;
&lt;p&gt;ccho.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>This was the best advice on this topic I found.</p>
<p>Just a note:</p>
<blockquote><p>Remember, if you put these rules in the main server conf file (usually httpd.conf) rather than an .htaccess file, you&#8217;ll need to use ^/&#8230; &#8230; instead of ^&#8230; &#8230; at the beginning of the RewriteRule line, in other words, add a slash.</p></blockquote>
<p>&#8230; and the opposite is as well truth.</p>
<p>Took me almost an hour to get my redirection working, until I deleted the slash at the beginning of the rewrite rule to:</p>
<blockquote><p>RewriteRule ^(.*) <a href="https://%" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/?referer=');">https://%</a>{SERVER_NAME}/$1 [L,R]</p></blockquote>
<p>Hope this helps someone.</p>
<p>ccho.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
