<?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>Parallelcoding.com &#187; Apache</title>
	<atom:link href="http://www.parallelcoding.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.parallelcoding.com</link>
	<description>Intelligent, Efficient, Parallel, and Sustainable Code</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:17:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Making public_html Work in Ubuntu 8.04 with Apache2</title>
		<link>http://www.parallelcoding.com/2009/01/20/making-public_html-work-in-ubuntu-804-with-apache2/</link>
		<comments>http://www.parallelcoding.com/2009/01/20/making-public_html-work-in-ubuntu-804-with-apache2/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 13:43:45 +0000</pubDate>
		<dc:creator>manatarms</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.parallelcoding.com/?p=252</guid>
		<description><![CDATA[<a href="http://www.parallelcoding.com/2009/01/20/making-public_html-work-in-ubuntu-804-with-apache2/" title="Making public_html Work in Ubuntu 8.04 with Apache2"></a>Ever wanted each user on your server to have their own web directory? I wanted users on my server to have access to the public_html directory in their home directory so that they could display content at http://www.mydomain.com/~USERNAME. How do &#8230;<p class="read-more"><a href="http://www.parallelcoding.com/2009/01/20/making-public_html-work-in-ubuntu-804-with-apache2/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.parallelcoding.com/2009/01/20/making-public_html-work-in-ubuntu-804-with-apache2/" title="Making public_html Work in Ubuntu 8.04 with Apache2"></a><p>Ever wanted each user on your server to have their own web directory? I wanted users on my server to have access to the public_html directory in their home directory so that they could display content at http://www.mydomain.com/~USERNAME. How do you do this?</p>
<ol>
<li>Edit /etc/apache2/apache2.conf</li>
<li>Find the section that looks like this:</li>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;">#UserDir is now a module
#UserDir public_html
#UserDir disabled root
&nbsp;
#&lt;Directory /home/*/public_html&gt;
#	AllowOverride FileInfo AuthConfig Limit
#   Options Indexes SymLinksIfOwnerMatch IncludesNoExec
#&lt;/Directory&gt;</pre></td></tr></table></div>

<li>Make it look like this:<em><em><br />
</em></em></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;">#UserDir is now a module
UserDir public_html
#UserDir disabled root
&nbsp;
&lt;Directory /home/*/public_html&gt;
	AllowOverride FileInfo AuthConfig Limit
	Options Indexes SymLinksIfOwnerMatch IncludesNoExec
&lt;/Directory&gt;</pre></td></tr></table></div>

<p><em><em></em></em></li>
<li>Sit back and relish in your own glory knowing that you have just accomplished something done today!</li>
</ol>
<p>How did I figure this out? Click <a title="Apache and public_html" href="http://ubuntuforums.org/showthread.php?t=17457" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.parallelcoding.com/2009/01/20/making-public_html-work-in-ubuntu-804-with-apache2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Protect a Directory in Apache 2</title>
		<link>http://www.parallelcoding.com/2008/12/29/password-protect-a-directory-in-apache-2/</link>
		<comments>http://www.parallelcoding.com/2008/12/29/password-protect-a-directory-in-apache-2/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 13:39:24 +0000</pubDate>
		<dc:creator>manatarms</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.parallelcoding.com/?p=230</guid>
		<description><![CDATA[<a href="http://www.parallelcoding.com/2008/12/29/password-protect-a-directory-in-apache-2/" title="Password Protect a Directory in Apache 2"></a>For anyone who wants to do this, the steps are as follows: Edit /etc/apach2/sites-available/default Look for the line "AllowOverride" in the section &#60;Directory /var/www&#62; Change the line from "AllowOverride None" to "AllowOverride All" Change to the directory you wish to &#8230;<p class="read-more"><a href="http://www.parallelcoding.com/2008/12/29/password-protect-a-directory-in-apache-2/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.parallelcoding.com/2008/12/29/password-protect-a-directory-in-apache-2/" title="Password Protect a Directory in Apache 2"></a><p>For anyone who wants to do this, the steps are as follows:</p>
<ul>
<li>Edit /etc/apach2/sites-available/default</li>
<li>Look for the line "AllowOverride" in the section &lt;Directory /var/www&gt;</li>
<li>Change the line from "AllowOverride None" to "AllowOverride All"</li>
<li>Change to the directory you wish to password protect</li>
<li>Create a .htaccess file. The contents of mine is shown below. The only truly important line is AuthUserFile. This parameter should contain the path to the file containing your usernames/passwords. You should be able to figure out what everything else is on your own.</li>
<li>Create the .htpasswd file in the directory of your choosing with the following command:</li>
</ul>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> htpasswd <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>.htpasswd username</pre></td></tr></table></div>

<p>My .htaccess file:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">AuthUserFile <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>site<span style="color: #000000; font-weight: bold;">/</span>.htpasswd
AuthName <span style="color: #ff0000;">&quot;Please Log In&quot;</span>
AuthGroupFile <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null
AuthType Basic
<span style="color: #000000; font-weight: bold;">&lt;</span>Limit GET POST PUT<span style="color: #000000; font-weight: bold;">&gt;</span>
    Require valid-user
<span style="color: #000000; font-weight: bold;">&lt;</span>Limit<span style="color: #000000; font-weight: bold;">&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.parallelcoding.com/2008/12/29/password-protect-a-directory-in-apache-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Compiler Error</title>
		<link>http://www.parallelcoding.com/2007/09/12/apache-compiler-error/</link>
		<comments>http://www.parallelcoding.com/2007/09/12/apache-compiler-error/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 17:13:00 +0000</pubDate>
		<dc:creator>manatarms</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dotanything.wordpress.com/2007/09/12/apache-compiler-error/</guid>
		<description><![CDATA[<a href="http://www.parallelcoding.com/2007/09/12/apache-compiler-error/" title="Apache Compiler Error"></a>While upgrading Apache on Mac OS X 10.4 I got the following error: Cannot use an external APR-util with the bundled APR The solution - Add this to configure options: --with-included-apr This issue is also addressed at the Apache Site]]></description>
			<content:encoded><![CDATA[<a href="http://www.parallelcoding.com/2007/09/12/apache-compiler-error/" title="Apache Compiler Error"></a><p>While upgrading Apache on Mac OS X 10.4 I got the following error:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Cannot use an external APR-util with the bundled APR</pre></div></div>

<p>The solution - Add this to configure options:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">--with-included-apr</span></pre></div></div>

<p>This issue is also addressed at <a href="http://httpd.apache.org/docs/current/install.html">the Apache Site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.parallelcoding.com/2007/09/12/apache-compiler-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

