<?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: Removing index.php for Codeigniter (Zeus Server)</title>
	<atom:link href="http://johnmc.co/llum/removing-indexphp-for-codeigniter-zeus-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnmc.co/llum/removing-indexphp-for-codeigniter-zeus-server/</link>
	<description>Muddling through since 1980</description>
	<lastBuildDate>Sat, 24 Sep 2011 22:50:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Oak</title>
		<link>http://johnmc.co/llum/removing-indexphp-for-codeigniter-zeus-server/comment-page-1/#comment-1739</link>
		<dc:creator>Oak</dc:creator>
		<pubDate>Sun, 15 Mar 2009 11:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://johnmccollum.co.uk/?p=75#comment-1739</guid>
		<description>Thanks for this script, I have had endless problems with Zeus Rewrite in the past.</description>
		<content:encoded><![CDATA[<p>Thanks for this script, I have had endless problems with Zeus Rewrite in the past.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://johnmc.co/llum/removing-indexphp-for-codeigniter-zeus-server/comment-page-1/#comment-701</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 10 Jan 2009 17:15:10 +0000</pubDate>
		<guid isPermaLink="false">http://johnmccollum.co.uk/?p=75#comment-701</guid>
		<description>Hi, thanks for your solution, wael. The only issue I had was that the customer&#039;s webmail was found at http://www.example.com/webmail - which then threw a not found error. I solved this by creating a subdomain pointing to webmail - this did the trick for me.

Thanks for your solution!</description>
		<content:encoded><![CDATA[<p>Hi, thanks for your solution, wael. The only issue I had was that the customer&#8217;s webmail was found at <a href="http://www.example.com/webmail" rel="nofollow">http://www.example.com/webmail</a> &#8211; which then threw a not found error. I solved this by creating a subdomain pointing to webmail &#8211; this did the trick for me.</p>
<p>Thanks for your solution!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wael</title>
		<link>http://johnmc.co/llum/removing-indexphp-for-codeigniter-zeus-server/comment-page-1/#comment-700</link>
		<dc:creator>wael</dc:creator>
		<pubDate>Sat, 10 Jan 2009 16:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://johnmccollum.co.uk/?p=75#comment-700</guid>
		<description>Thank you for your script it work fine on the site but once you login to the admin panel it doesnt work any more 
here is another script that work 100%

RULE_0_START:
# get the document root
map path into SCRATCH:DOCROOT from /
# initialize our variables
set SCRATCH:ORIG_URL = %{URL}
set SCRATCH:REQUEST_URI = %{URL}

# see if theres any queries in our URL
match URL into $ with ^(.*)\?(.*)$
if matched then
  set SCRATCH:REQUEST_URI = $1
  set SCRATCH:QUERY_STRING = $2
endif
RULE_0_END:

RULE_1_START:
# prepare to search for file, rewrite if its not found
set SCRATCH:REQUEST_FILENAME = %{SCRATCH:DOCROOT}
set SCRATCH:REQUEST_FILENAME . %{SCRATCH:REQUEST_URI}

# check to see if the file requested is an actual file or
# a directory with possibly an index.  don&#039;t rewrite if so
look for file at %{SCRATCH:REQUEST_FILENAME}
if not exists then
  look for dir at %{SCRATCH:REQUEST_FILENAME}
  if not exists then
    set URL = /index.php?q=%{SCRATCH:REQUEST_URI}
    goto QSA_RULE_START
  endif
endif

# if we made it here then its a file or dir and no rewrite
goto END
RULE_1_END:

QSA_RULE_START:
# append the query string if there was one originally
# the same as [QSA,L] for apache
match SCRATCH:ORIG_URL into % with \?(.*)$
if matched then
  set URL = %{URL}&amp;%{SCRATCH:QUERY_STRING}
endif
goto END
QSA_RULE_END:</description>
		<content:encoded><![CDATA[<p>Thank you for your script it work fine on the site but once you login to the admin panel it doesnt work any more<br />
here is another script that work 100%</p>
<p>RULE_0_START:<br />
# get the document root<br />
map path into SCRATCH:DOCROOT from /<br />
# initialize our variables<br />
set SCRATCH:ORIG_URL = %{URL}<br />
set SCRATCH:REQUEST_URI = %{URL}</p>
<p># see if theres any queries in our URL<br />
match URL into $ with ^(.*)\?(.*)$<br />
if matched then<br />
  set SCRATCH:REQUEST_URI = $1<br />
  set SCRATCH:QUERY_STRING = $2<br />
endif<br />
RULE_0_END:</p>
<p>RULE_1_START:<br />
# prepare to search for file, rewrite if its not found<br />
set SCRATCH:REQUEST_FILENAME = %{SCRATCH:DOCROOT}<br />
set SCRATCH:REQUEST_FILENAME . %{SCRATCH:REQUEST_URI}</p>
<p># check to see if the file requested is an actual file or<br />
# a directory with possibly an index.  don&#8217;t rewrite if so<br />
look for file at %{SCRATCH:REQUEST_FILENAME}<br />
if not exists then<br />
  look for dir at %{SCRATCH:REQUEST_FILENAME}<br />
  if not exists then<br />
    set URL = /index.php?q=%{SCRATCH:REQUEST_URI}<br />
    goto QSA_RULE_START<br />
  endif<br />
endif</p>
<p># if we made it here then its a file or dir and no rewrite<br />
goto END<br />
RULE_1_END:</p>
<p>QSA_RULE_START:<br />
# append the query string if there was one originally<br />
# the same as [QSA,L] for apache<br />
match SCRATCH:ORIG_URL into % with \?(.*)$<br />
if matched then<br />
  set URL = %{URL}&amp;%{SCRATCH:QUERY_STRING}<br />
endif<br />
goto END<br />
QSA_RULE_END:</p>
]]></content:encoded>
	</item>
</channel>
</rss>

