<?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>Unlikely Teacher &#187; mod_rewrite</title>
	<atom:link href="http://unlikelyteacher.com/tag/mod_rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://unlikelyteacher.com</link>
	<description>1. Share Everything* [Programming Gotchas, Technology News, Insights on Living and Everything in Between]</description>
	<lastBuildDate>Fri, 10 Sep 2010 02:59:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Apache 2.2 and mod_rewrite</title>
		<link>http://unlikelyteacher.com/2008/07/10/apache-22-and-mod_rewrite/</link>
		<comments>http://unlikelyteacher.com/2008/07/10/apache-22-and-mod_rewrite/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 09:17:35 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Apache 2.2]]></category>
		<category><![CDATA[mod_rewrite]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=123</guid>
		<description><![CDATA[This is a super short (and very rough) post on how to enable mod_rewrite in Apache 2.2. I have seen numerous posts on how to create &#8220;rewrite&#8221; scripts but found very little information on how to enable this feature in Apache 2.2. Step 1: Uncomment the line with &#8220;mod_rewrite.so&#8221; from httpd.conf LoadModule rewrite_module modules/mod_rewrite.so Step [...]]]></description>
			<content:encoded><![CDATA[<p>This is a super short (and very rough) post on how to enable mod_rewrite in Apache 2.2.</p>
<p>I have seen numerous posts on how to create &#8220;rewrite&#8221; scripts but found very little information on how to enable this feature in Apache 2.2.</p>
<p>Step 1: Uncomment the line with &#8220;mod_rewrite.so&#8221; from httpd.conf</p>
<blockquote><p>LoadModule rewrite_module modules/mod_rewrite.so</p></blockquote>
<p>Step 2: Search for the keyword &#8220;.htaccess&#8221; and change the AllowOverride value</p>
<blockquote><p>AllowOverride All</p></blockquote>
<p>Step 3: Restart Apache and check if module has been loaded (LoadedModule section in phpinfo())</p>
<p>Step 4: Create a test .htaccess in your root directory</p>
<blockquote><p>Options +Indexes<br />
Options +FollowSymlinks<br />
RewriteEngine on<br />
RewriteBase /<br />
RewriteRule ^success\.html$ index.php [L]</p></blockquote>
<p>Step 5: Type http://localhost/success.html in your browser (change port info based on your setup)</p>
<p>You should be able to see your index.php load up.</p>
<p>Recommended book:</p>
<p><a href="http://www.amazon.com/gp/product/1590595610/104-2616196-5897505?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1590595610"><img src="http://rcm-images.amazon.com/images/I/51oEkibQT2L._SL75_.jpg" border="0" alt="1590595610" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/07/10/apache-22-and-mod_rewrite/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
