<?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>Shami's Blog &#187; clean urls</title>
	<atom:link href="http://blog.al-shami.net/index.php/tag/clean-urls/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.al-shami.net</link>
	<description>A Mushroom A Day Keeps The Koopas Away</description>
	<lastBuildDate>Thu, 13 May 2010 06:15:17 +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>Lighttpd, Joomla, and clean URLs</title>
		<link>http://blog.al-shami.net/index.php/lighttpd-joomla-and-clean-urls/</link>
		<comments>http://blog.al-shami.net/index.php/lighttpd-joomla-and-clean-urls/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 11:48:26 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[clean]]></category>
		<category><![CDATA[clean url]]></category>
		<category><![CDATA[clean urls]]></category>
		<category><![CDATA[cleanurls]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[lighty]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[urls]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=115</guid>
		<description><![CDATA[So I&#8217;m working on a new web server but I don&#8217;t want to use Apache since it&#8217;s a virtual machine. Had some trouble with the rewirte rules but I think I got them
From this forum post

$HTTP["url"] !~ "\.(gif&#124;png&#124;css&#124;jpg&#124;jpeg&#124;js)$" {
   server.error-handler-404 = "/index.php"
}

But I thought of a different approach and it seems to work [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m working on a new web server but I don&#8217;t want to use Apache since it&#8217;s a virtual machine. Had some trouble with the rewirte rules but I think I got them</p>
<p>From <a href="http://forum.joomla.org/viewtopic.php?f=433&#038;p=1390643">this forum post</a></p>
<pre><code>
$HTTP["url"] !~ "\.(gif|png|css|jpg|jpeg|js)$" {
   server.error-handler-404 = "/index.php"
}
</code></pre>
<p>But I thought of a different approach and it seems to work so far, and maybe causes less error messages in the logs:</p>
<pre><code>
url.rewrite-once = ("^/(.*\.html)$" => "/index.php?page=$1", "^/(.*\.html\?.*)" => "/index.php?page=$1", "^/(.*/\?.*)" => "/index.php?page=$1")
</code></pre>
<p>Have a good one</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/lighttpd-joomla-and-clean-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
