<?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>Jephens Tech. &#187; lamp</title>
	<atom:link href="http://www.jephens.com/tag/lamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jephens.com</link>
	<description>Keeping Computers Happy Since 1997</description>
	<lastBuildDate>Tue, 22 Nov 2011 04:33:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Virtual Appliances&#8217; LAMP, WordPress and mod_rewrite</title>
		<link>http://www.jephens.com/2008/08/10/virtual-appliances-lamp-wordpress-and-mod_rewrite/</link>
		<comments>http://www.jephens.com/2008/08/10/virtual-appliances-lamp-wordpress-and-mod_rewrite/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 14:31:10 +0000</pubDate>
		<dc:creator>Jeff Knapp</dc:creator>
				<category><![CDATA[Management]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.jephens.com/?p=45</guid>
		<description><![CDATA[I've been a big fan of VirtualAppliances' virtual machines for awhile now and have used its LAMP appliance for a variety of low-power applications, but I've wondered why it doesn't ship with mod_rewrite enabled, and why there's always a step missing from turning it on. First up, we need to symbolically link the module from [...]]]></description>
			<content:encoded><![CDATA[<p>I've been a big fan of <a href="http://www.virtualappliances.net" target="_blank">VirtualAppliances</a>' virtual machines for awhile now and have used its LAMP appliance for a variety of low-power applications, but I've wondered why it doesn't ship with mod_rewrite enabled, and why there's always a step missing from turning it on.</p>
<p>First up, we need to symbolically link the module from /etc/apache2/mods-available to /etc/apache2/mods-enabled:</p>
<p><code>sudo ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled</code></p>
<p>That's usually what all the online guides mention, but there's still one more step -- one I always forget... we need to edit the default site to allow .htaccess to control the mod_rewrite rules...</p>
<p>So, go into /etc/apache2/sites-available</p>
<p>Edit the default site definition, and make sure you change the AllowOverride to ALL in the /var/www/html section:<code><br />
 &lt;Directory /var/www/html&gt;<br />
 Options Indexes FollowSymLinks MultiViews<br />
 AllowOverride All<br />
 Order allow,deny<br />
 allow from all<br />
 &lt;/Directory&gt;<br />
</code><br />
... and now your WordPress permanent links will work. <img src='http://www.jephens.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jephens.com/2008/08/10/virtual-appliances-lamp-wordpress-and-mod_rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

