<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Calazan.com &#187; Apache</title>
	<atom:link href="http://www.calazan.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.calazan.com</link>
	<description>Share the Knowledge</description>
	<lastBuildDate>Sun, 05 Sep 2010 00:59:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apache: Redirecting http to https using a .htaccess file</title>
		<link>http://www.calazan.com/apache-redirecting-http-to-https-using-a-htaccess-file/</link>
		<comments>http://www.calazan.com/apache-redirecting-http-to-https-using-a-htaccess-file/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 02:12:04 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[open source software]]></category>

		<guid isPermaLink="false">http://www.calazan.com/apache-redirecting-http-to-https-using-an-htaccess-file/</guid>
		<description><![CDATA[To redirect http traffic to https in Apache, create a .htaccess file with the following content:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Place the .htaccess file in your website directory and that should be it.
NOTE:  The rewrite module in Apache must be enabled for this to work.  To check whether it is enabled, open your [...]]]></description>
			<content:encoded><![CDATA[<p>To redirect <strong>http</strong> traffic to <strong>https</strong> in Apache, create a <strong>.htaccess</strong> file with the following content:</p>
<p><em>RewriteEngine On<br />
RewriteCond %{HTTPS} off<br />
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}</em></p>
<p>Place the .htaccess file in your website directory and that should be it.</p>
<p><strong>NOTE:  </strong>The<strong> rewrite module</strong> in Apache must be enabled for this to work.  To check whether it is enabled, open your <strong>httpd.conf</strong> and make sure the line below is not commented:</p>
<p><em>LoadModule rewrite_module modules/mod_rewrite.so</em></p>
<p>If you&#8217;re running Apache on Windows, you won&#8217;t be able to create a file with a filename that starts with &#8220;.&#8221; so you will have to tell Apache to look for another file.  To do so, simply open your <strong>httpd.conf</strong> and change the line:</p>
<p><em>AccessFileName .htaccess</em></p>
<p>to</p>
<p><em>AccessFileName ht.acl .htaccess</em></p>
<p>Instead of naming the file <strong>.htaccess</strong>, name it <strong>ht.acl</strong>.  Restart Apache and it should work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.calazan.com/apache-redirecting-http-to-https-using-a-htaccess-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
