<?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>Web Surf Shack &#187; mod_rewrite</title>
	<atom:link href="http://www.websurfshack.net/tag/mod_rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.websurfshack.net</link>
	<description>Waxing your internet surf board</description>
	<lastBuildDate>Wed, 21 Apr 2010 07:58:19 +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>ModRewrite: File existance check</title>
		<link>http://www.websurfshack.net/2009/07/modrewrite-file-existance-check/</link>
		<comments>http://www.websurfshack.net/2009/07/modrewrite-file-existance-check/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 14:35:24 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Useful tidbits]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[rewritecond]]></category>
		<category><![CDATA[rewriterule]]></category>

		<guid isPermaLink="false">http://www.websurfshack.net/?p=314</guid>
		<description><![CDATA[We have written about mod_rewrite before, but did you know that you can check if a file (or directory) exists before you attempt to redirect to it? Here&#8217;s how:
RewriteCond %{DOCUMENT_ROOT}/files/%{REQUEST_URI} -f
RewriteRule ^/([^/]*)$ /files/$1 [PT]
The RewriteCond checks for the existance of a file in the specified path, this is done with the special mod_rewrite rule -f. [...]]]></description>
		<wfw:commentRss>http://www.websurfshack.net/2009/07/modrewrite-file-existance-check/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
