<?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: Apache redirect non-www to www while keeping http and https intact</title>
	<atom:link href="http://www.erica.biz/2007/apache-redirect-non-www-to-www-while-keeping-http-and-https-intact/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.erica.biz/2007/apache-redirect-non-www-to-www-while-keeping-http-and-https-intact/</link>
	<description>Erica Douglass, &#34;temporarily retired&#34; after selling a successful business at age 26, writes thought-provoking blog entries challenging you to change your life and daring you to become more successful.</description>
	<lastBuildDate>Sun, 12 Feb 2012 01:40:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ram</title>
		<link>http://www.erica.biz/2007/apache-redirect-non-www-to-www-while-keeping-http-and-https-intact/#comment-801</link>
		<dc:creator>ram</dc:creator>
		<pubDate>Sat, 08 Nov 2008 11:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashchick.com/?p=209#comment-801</guid>
		<description>Hi,

My site is www.pinkuin.com. without www it is not working how to redirect it this is in .htm &amp; .htaccess file seem like hidden in ftp.

Please help me</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>My site is <a href="http://www.pinkuin.com" rel="nofollow">http://www.pinkuin.com</a>. without www it is not working how to redirect it this is in .htm &amp; .htaccess file seem like hidden in ftp.</p>
<p>Please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malte</title>
		<link>http://www.erica.biz/2007/apache-redirect-non-www-to-www-while-keeping-http-and-https-intact/#comment-800</link>
		<dc:creator>Malte</dc:creator>
		<pubDate>Sun, 19 Aug 2007 14:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashchick.com/?p=209#comment-800</guid>
		<description>There&#039;s a simpler ruleset which worked for me once upon a time (I actually used it to strip off the www but the needed changes should be obvious):

RewriteRule ^                  -                   [E=via:http]
RewriteCond %{HTTPS}           =on
RewriteRule ^                  -                   [E=via:https]
RewriteCond %{HTTP_HOST}       =www.(msquadrat.de) [NC]
RewriteRule ^(.*)$             %{ENV:via}://%1/$1  [R=301]</description>
		<content:encoded><![CDATA[<p>There&#8217;s a simpler ruleset which worked for me once upon a time (I actually used it to strip off the www but the needed changes should be obvious):</p>
<p>RewriteRule ^                  &#8211;                   [E=via:http]<br />
RewriteCond %{HTTPS}           =on<br />
RewriteRule ^                  &#8211;                   [E=via:https]<br />
RewriteCond %{HTTP_HOST}       =www.(msquadrat.de) [NC]<br />
RewriteRule ^(.*)$             %{ENV:via}://%1/$1  [R=301]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.erica.biz/2007/apache-redirect-non-www-to-www-while-keeping-http-and-https-intact/#comment-799</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 18 Aug 2007 10:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashchick.com/?p=209#comment-799</guid>
		<description>Slightly OT: There&#039;s just something incredibly sexy about a geek chick.</description>
		<content:encoded><![CDATA[<p>Slightly OT: There&#8217;s just something incredibly sexy about a geek chick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S</title>
		<link>http://www.erica.biz/2007/apache-redirect-non-www-to-www-while-keeping-http-and-https-intact/#comment-798</link>
		<dc:creator>S</dc:creator>
		<pubDate>Fri, 17 Aug 2007 04:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.slashchick.com/?p=209#comment-798</guid>
		<description>The trick is to have two separate vhosts with a different rewrite rule in each as follows:

1) for simpli.biz / *.simpli.biz port 80
   - rewrite to https://www.simpli.biz/$1

2) for simpli.biz port 443
   - rewrite to https://www.simpli.biz/$1

That&#039;s it.</description>
		<content:encoded><![CDATA[<p>The trick is to have two separate vhosts with a different rewrite rule in each as follows:</p>
<p>1) for simpli.biz / *.simpli.biz port 80<br />
   &#8211; rewrite to <a href="https://www.simpli.biz/$1" rel="nofollow">https://www.simpli.biz/$1</a></p>
<p>2) for simpli.biz port 443<br />
   &#8211; rewrite to <a href="https://www.simpli.biz/$1" rel="nofollow">https://www.simpli.biz/$1</a></p>
<p>That&#8217;s it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

