<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Rough Book &#187; apache</title>
	<atom:link href="http://vivin.net/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://vivin.net</link>
	<description>random musings of just another computer nerd</description>
	<lastBuildDate>Tue, 17 Jan 2012 23:32:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Apache2 and .htaccess with mod_rewrite on Ubuntu 8.04 (Hardy Heron)</title>
		<link>http://vivin.net/2009/03/26/apache2-and-htaccess-with-modrewrite-on-ubuntu-804-hardy-heron/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vivin.net/2009/03/26/apache2-and-htaccess-with-modrewrite-on-ubuntu-804-hardy-heron/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 18:50:29 +0000</pubDate>
		<dc:creator>vivin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://vivin.net/?p=405</guid>
		<description><![CDATA[Apparently the default settings for .htaccess files and URL rewrites in Ubuntu (8.04 anyway) is kinda jacked. Apache wasn&#8217;t seeing my .htaccess files, and even after setting up the configuration correctly, I was getting Internal Server (500) errors from .htaccess files. The default setting for Apache2 on Ubuntu for .htaccess is &#8220;ignore it&#8221;. You need [...]]]></description>
			<content:encoded><![CDATA[<p>Apparently the default settings for .htaccess files and URL rewrites in Ubuntu (8.04 anyway) is kinda jacked. Apache wasn&#8217;t seeing my .htaccess files, and even after setting up the configuration correctly, I was getting Internal Server (500) errors from .htaccess files. </p>
<p>The default setting for Apache2 on Ubuntu for .htaccess is &#8220;ignore it&#8221;. You need to enable it by going to <span style = "font-family:courier new">/etc/apache2/sites-available/default</span> and changing the <span style = "font-family:courier new">AllowOverride</span> directive, which you can find inside the <span style = "font-family:courier new">&#60;Directory&#62; &#8230; &#60;/Directory&#62;</span> tags:</p>
<pre class="brush: php">
AllowOverride ALL
</pre>
<p>If you want to enable URL rewrites, you need to enable the <span style = "font-family:courier new">mod_rewrite</span> module as it is not enabled by default:</p>
<pre class="brush: php">
[11:31:14] vivin@dauntless ~/Projects/www/skyblue
$ sudo a2enmod rewrite
Module rewrite installed; run /etc/init.d/apache2 force-reload to enable.

[11:31:20] vivin@dauntless ~/Projects/www/skyblue
$ sudo /etc/init.d/apache2 force-reload
 * Reloading web server config apache2
</pre>
<br /><a href="http://vivin.net/?p=405#comments" title="Comments on &quot;Apache2 and .htaccess with mod_rewrite on Ubuntu 8.04 (Hardy Heron)&quot;"><img src="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?405" alt="Comments" /></a><img src="http://vivin.net/?ak_action=api_record_view&#38;id=405&#38;type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://vivin.net/2009/03/26/apache2-and-htaccess-with-modrewrite-on-ubuntu-804-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:thumbnail url="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?405" />
		<media:content url="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?405" medium="image">
			<media:title type="html">Comments</media:title>
		</media:content>
		<media:content url="http://vivin.net/?ak_action=api_record_view&#38;id=405&#38;type=feed" medium="image" />
	</item>
	</channel>
</rss>

