<?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: Using FilesMatch and Files in htaccess</title>
	<atom:link href="http://www.askapache.com/htaccess/using-filesmatch-and-files-in-htaccess.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com/htaccess/using-filesmatch-and-files-in-htaccess.html</link>
	<description>Advanced Web Development</description>
	<lastBuildDate>Wed, 18 Nov 2009 23:28:48 -0500</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nizam</title>
		<link>http://www.askapache.com/htaccess/using-filesmatch-and-files-in-htaccess.html#comment-86208</link>
		<dc:creator>Nizam</dc:creator>
		<pubDate>Mon, 06 Jul 2009 04:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/htaccess/using-filesmatch-and-files-in-htaccess.html#comment-86208</guid>
		<description>I am looking for one smart guy to answer this question.

PURPOSE:
I am trying to set the referrer as a cookie on every page but except 404 error page. Then, I can truly capture the real referrer at the time of a missing image, because when an image missing, error.php shows the its own page where it was missing, but I like to know the previous page where users came from. I hope you got my point. Thank you all.


&lt;pre&gt;Options All -Indexes
&#160;
RewriteEngine On
&#160;
 # is this correct? what is the negation?
Header set Set-Cookie &quot;my_referer=%{HTTP_REFERER}e; domain=.site.com&quot;
&#160;
ErrorDocument 404 /error.php&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>I am looking for one smart guy to answer this question.</p>
<p>PURPOSE:<br />
I am trying to set the referrer as a cookie on every page but except 404 error page. Then, I can truly capture the real referrer at the time of a missing image, because when an image missing, error.php shows the its own page where it was missing, but I like to know the previous page where users came from. I hope you got my point. Thank you all.</p>
<pre>Options All -Indexes
&nbsp;
RewriteEngine On
&nbsp;
 # is this correct? what is the negation?
Header set Set-Cookie "my_referer=%{HTTP_REFERER}e; domain=.site.com"
&nbsp;
ErrorDocument 404 /error.php</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
