<?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>Technical stuff &#187; Apache</title>
	<atom:link href="http://www.tekkie.ro/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tekkie.ro</link>
	<description>Requirements are like water. They&#039;re easier to build on when they&#039;re frozen.</description>
	<lastBuildDate>Fri, 11 Jun 2010 11:33:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to enable mod_rewrite for Apache in Ubuntu</title>
		<link>http://www.tekkie.ro/computer-setup/how-to-enable-mod_rewrite-for-apache-in-ubuntu/</link>
		<comments>http://www.tekkie.ro/computer-setup/how-to-enable-mod_rewrite-for-apache-in-ubuntu/#comments</comments>
		<pubDate>Thu, 21 May 2009 12:59:23 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Computer setup]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=157</guid>
		<description><![CDATA[It&#8217;s already installed, but not enabled. The easiest way to enable it is to follos these steps:

run this command (a2enmod == apache2 enable module):
a2enmod rewrite

edit this file /etc/apache2/sites-enabled/000-default; you can use the following command:
sudo gedit /etc/apache2/sites-enabled/000-default

make sure you have there AllowOverride All directive for the default directory (this will make all the subdirectories inherit this [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s already installed, but not enabled. The easiest way to enable it is to follos these steps:</p>
<ol>
<li>run this command (a2enmod == <strong>a</strong>pache<strong>2</strong> <strong>en</strong>able <strong>mod</strong>ule):
<pre class="brush: html">a2enmod rewrite</pre>
</li>
<li>edit this file /etc/apache2/sites-enabled/000-default; you can use the following command:
<pre class="brush: html">sudo gedit /etc/apache2/sites-enabled/000-default</pre>
</li>
<li>make sure you have there AllowOverride All directive for the default directory (this will make all the subdirectories inherit this behaviour):
<pre class="brush: html">
DocumentRoot /var/www
	&lt;Directory /&gt;
		Options FollowSymLinks
		AllowOverride All
	&lt;/Directory&gt;
	&lt;Directory /var/www/&gt;
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		Order allow,deny
		allow from all
	&lt;/Directory&gt;
</pre>
</li>
<li>restart apache and enjoy!
<pre class="brush: html">sudo /etc/init.d/apache2 restart</pre>
</li>
</ol>
<p>Note: I use gedit because it&#8217;s my home desktop computer. On a server where you have no graphical interface at your disposal (and no gedit for that matter), you can safely use you favorite editor (nano, pico, vi) so all you have to do is replace
<pre class="brush: html">sudo gedit</pre>
<p> with
<pre class="brush: html">sudo nano</pre>
<p> if your favorite is nano.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/computer-setup/how-to-enable-mod_rewrite-for-apache-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
