<?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: Htaccess SetEnvIf and SetEnvIfNoCase Examples</title>
	<atom:link href="http://www.askapache.com/htaccess/setenvif.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com/htaccess/setenvif.html</link>
	<description>Advanced Web Development</description>
	<lastBuildDate>Thu, 15 Jul 2010 07:12:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Marcello</title>
		<link>http://www.askapache.com/htaccess/setenvif.html#comment-103483</link>
		<dc:creator>Marcello</dc:creator>
		<pubDate>Mon, 14 Sep 2009 09:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/htaccess/setenvif.html#comment-103483</guid>
		<description>&lt;p&gt;I don&#8217;t understand this&lt;/p&gt;
&lt;pre&gt;
SetEnvIfNoCase ^If-Modified-Since$ &quot;(.+)&quot; HTTP_IF_MODIFIED_SINCE=$1
&lt;/pre&gt;&lt;p&gt;shouldn&#8217;t there be a variable in place of &lt;code&gt;^If-Modified-Since$&lt;/code&gt; ? otherwise it will always match..&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand this</p>
<pre>
SetEnvIfNoCase ^If-Modified-Since$ "(.+)" HTTP_IF_MODIFIED_SINCE=$1
</pre><p>shouldn&#8217;t there be a variable in place of <code>^If-Modified-Since$</code> ? otherwise it will always match..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Average Joe</title>
		<link>http://www.askapache.com/htaccess/setenvif.html#comment-69474</link>
		<dc:creator>Average Joe</dc:creator>
		<pubDate>Wed, 25 Mar 2009 23:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/htaccess/setenvif.html#comment-69474</guid>
		<description>&lt;p&gt;Your article and site is helpful, but the music is rude, annoying, poor design and dis-tasteful. Everyone likes their own music, and usually respect one another&#8217;s tastes. Please respect your visitors and let us listen to our own music, not yours. DJ&#8217;ing should be left for radio hosts and party&#8217;s. Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Your article and site is helpful, but the music is rude, annoying, poor design and dis-tasteful. Everyone likes their own music, and usually respect one another&#8217;s tastes. Please respect your visitors and let us listen to our own music, not yours. DJ&#8217;ing should be left for radio hosts and party&#8217;s. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emmanuel Mwangi</title>
		<link>http://www.askapache.com/htaccess/setenvif.html#comment-51013</link>
		<dc:creator>Emmanuel Mwangi</dc:creator>
		<pubDate>Mon, 29 Dec 2008 00:52:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/htaccess/setenvif.html#comment-51013</guid>
		<description>&lt;p&gt;I would like to be able to make .htaccess directives on a number of sites I have version control systems.  I have a copy of the site on my computer hosted on my local apache set to hostname.dev while that site is live on the net as hostname.com or .org.&lt;/p&gt;
&lt;p&gt;Right now, I can&#8217;t keep the .htaccess file in version control because it differs greatly from my host&#8217;s setup (the &lt;em&gt;excellent&lt;/em&gt; &lt;strong&gt;Dreamhost&lt;/strong&gt;) with my own setup (Apache2+PHP5 on OSX Leopard on a MBP).  I had thought of trying to duplicate Dreamhosts&#8217; environment (just for fun) but, that&#8217;s more trouble than it is worth in both fun and profit.&lt;/p&gt;
&lt;p&gt;So, I was looking for a way to have environment variables trigger various rules in .htaccess.  I found this site (&lt;em&gt;great btw&lt;/em&gt;) and I was looking for solution.  I was thinking that there would be some way to trigger blocks of commands with directives from server variables.  Something along these lines:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
  DEVELOPMENT (MACBOOK APACHE SETUP) RULES...&lt;br /&gt;
  ...&lt;br /&gt;
  PRODUCTION (DREAMHOST) RULES...&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I would like to be able to make .htaccess directives on a number of sites I have version control systems.  I have a copy of the site on my computer hosted on my local apache set to hostname.dev while that site is live on the net as hostname.com or .org.</p>
<p>Right now, I can&#8217;t keep the .htaccess file in version control because it differs greatly from my host&#8217;s setup (the <em>excellent</em> <strong>Dreamhost</strong>) with my own setup (Apache2+PHP5 on OSX Leopard on a MBP).  I had thought of trying to duplicate Dreamhosts&#8217; environment (just for fun) but, that&#8217;s more trouble than it is worth in both fun and profit.</p>
<p>So, I was looking for a way to have environment variables trigger various rules in .htaccess.  I found this site (<em>great btw</em>) and I was looking for solution.  I was thinking that there would be some way to trigger blocks of commands with directives from server variables.  Something along these lines:</p>
<p><code><br />
  DEVELOPMENT (MACBOOK APACHE SETUP) RULES...<br />
  ...<br />
  PRODUCTION (DREAMHOST) RULES...<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bay islands</title>
		<link>http://www.askapache.com/htaccess/setenvif.html#comment-45465</link>
		<dc:creator>bay islands</dc:creator>
		<pubDate>Fri, 19 Sep 2008 08:42:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/htaccess/setenvif.html#comment-45465</guid>
		<description>&lt;p&gt;I think Baidu spider is now legit. I saw a thread at &lt;a href=&quot;http://www.webmasterworld.com&quot; rel=&quot;nofollow&quot;&gt;webmasterworld&lt;/a&gt; where the baidu techs came and went through why they were ok.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think Baidu spider is now legit. I saw a thread at <a href="http://www.webmasterworld.com" rel="nofollow">webmasterworld</a> where the baidu techs came and went through why they were ok.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
