<?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>John McCollum &#187; Codeigniter</title>
	<atom:link href="http://johnmc.co/llum/tag/codeigniter/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnmc.co/llum</link>
	<description>Muddling through since 1980</description>
	<lastBuildDate>Sat, 11 Sep 2010 11:59:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Removing index.php for Codeigniter (Zeus Server)</title>
		<link>http://johnmc.co/llum/removing-indexphp-for-codeigniter-zeus-server/</link>
		<comments>http://johnmc.co/llum/removing-indexphp-for-codeigniter-zeus-server/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 18:21:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[mod rewrite]]></category>

		<guid isPermaLink="false">http://johnmccollum.co.uk/?p=75</guid>
		<description><![CDATA[Just a quick post &#8211; spent a few hours the other night trying to get Zeus Rewrite to play ball so that this: http://www.example.com/index.php/controller turned into this: http://www.example.com/controller There&#8217;s a distinct lack of examples for Zeus rewrite, but here&#8217;s what worked for me: map path into SCRATCH:DOCROOT from / set SCRATCH:REQUEST_URI = %{URL} look for [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjohnmc.co%2Fllum%2Fremoving-indexphp-for-codeigniter-zeus-server%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjohnmc.co%2Fllum%2Fremoving-indexphp-for-codeigniter-zeus-server%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Just a quick post &#8211; spent a few hours the other night trying to get Zeus Rewrite to play ball so that this:<br />
<pre>http://www.example.com/index.php/controller</pre><br />
turned into this:<br />
<pre>http://www.example.com/controller</pre><br />
There&#8217;s a distinct lack of examples for Zeus rewrite, but here&#8217;s what worked for me:<br />
<pre><pre>map path into SCRATCH:DOCROOT from /

set SCRATCH:REQUEST_URI = %{URL}

look for file at %{SCRATCH:DOCROOT}%{SCRATCH:REQUEST_URI}
if not exists then look for dir at %{SCRATCH:REQUEST_URI}%{SCRATCH:REQUEST_URI}
if not exists then set URL = /index.php%{SCRATCH:REQUEST_URI}</pre></pre><br />
Your mileage may vary; some tweaking may be required for your particular set up. Hopefully this post saves someone some work!</p>
]]></content:encoded>
			<wfw:commentRss>http://johnmc.co/llum/removing-indexphp-for-codeigniter-zeus-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

