<?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>Connecting the dots... &#187; indexes</title>
	<atom:link href="http://blog.rajatpandit.com/tag/indexes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rajatpandit.com</link>
	<description>Thoughts on Web Development, Infrastructure and Application Scalability</description>
	<lastBuildDate>Thu, 29 Dec 2011 13:21:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How to enable apache mod_rewrite on ubuntu</title>
		<link>http://blog.rajatpandit.com/2009/02/12/how-to-enable-mod_rewrite-on-ubuntu/</link>
		<comments>http://blog.rajatpandit.com/2009/02/12/how-to-enable-mod_rewrite-on-ubuntu/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 23:40:03 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache 2]]></category>
		<category><![CDATA[configuration files]]></category>
		<category><![CDATA[directory permissions]]></category>
		<category><![CDATA[followsymlinks multiviews]]></category>
		<category><![CDATA[htaccess file]]></category>
		<category><![CDATA[hth]]></category>
		<category><![CDATA[indexes]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[struggle]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=208</guid>
		<description><![CDATA[I have been moving my development to Linux lately and had the first real struggle getting the rewrite stuff working on Apache. Problem wasn&#8217;t that I didn&#8217;t know how to...]]></description>
			<content:encoded><![CDATA[<p>I have been moving my development to Linux lately and had the first real struggle getting the rewrite stuff working on Apache. Problem wasn&#8217;t that I didn&#8217;t know how to do it, (BTW usually i would prefer to have a self compiled version of Apache as I would know what&#8217;s in it) but that the configuration files were all so different from what I am used on Leopard and BSD etc.. Anyway so here&#8217;s what I did.</p>
<pre class="brush: php; title: ; notranslate">
# sudo a2enmod rewrite
# sudo /etc/init.d/apache2 restart
</pre>
<p>To disable an Apache 2 module, you can run:</p>
<pre class="brush: php; title: ; notranslate">
# sudo a2dismod rewrite
# sudo /etc/init.d/apache2 restart
</pre>
<p>That does the reverse.</p>
<p>With mod_rewrite enabled, you can use the .htaccess file.By the way in your directory permissions, you must set AllowOverride to “all” like this:</p>
<p>[config]<br />
<Directory /home/projects/whatever><br />
  Options Indexes FollowSymLinks MultiViews<br />
  AllowOverride all<br />
  Order allow,deny<br />
  allow from all<br />
</Directory><br />
[/config]</p>
<p>HTH</p>
<div id="in_post_ad_bottom_1" style="clear:both;margin:0;padding:0;"><div class="brp-bp-234">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-4254382394977039";
/* brp-234x60-bp */
google_ad_slot = "7787511801";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<div class="brp-bp-234">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-4254382394977039";
/* brp-234x60-BP-1 */
google_ad_slot = "9111022353";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/02/12/how-to-enable-mod_rewrite-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

