<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Techblog</title>
	<atom:link href="http://joycetipping.com/techblog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://joycetipping.com/techblog</link>
	<description>Programming, web-design, and other technology related adventures</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:25:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>Comment on How to Install Apache on Ubuntu by joycetipping</title>
		<link>http://joycetipping.com/techblog/2010/08/install-apache-on-ubuntu/#comment-6655</link>
		<dc:creator>joycetipping</dc:creator>
		<pubDate>Thu, 02 Feb 2012 20:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://joycetipping.com/techblog/?p=64#comment-6655</guid>
		<description>Hi don,

Sorry, but without more information, I&#039;m not quite sure what you&#039;re running up against. You may have to play with sudo-ing or chmod-ing a few things. Also, it&#039;s been almost a year since I left Ubuntu (am now running Arch), so they may have changed things up. Good luck!</description>
		<content:encoded><![CDATA[<p>Hi don,</p>
<p>Sorry, but without more information, I&#8217;m not quite sure what you&#8217;re running up against. You may have to play with sudo-ing or chmod-ing a few things. Also, it&#8217;s been almost a year since I left Ubuntu (am now running Arch), so they may have changed things up. Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Apache on Ubuntu by don is very green</title>
		<link>http://joycetipping.com/techblog/2010/08/install-apache-on-ubuntu/#comment-6577</link>
		<dc:creator>don is very green</dc:creator>
		<pubDate>Mon, 30 Jan 2012 21:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://joycetipping.com/techblog/?p=64#comment-6577</guid>
		<description>PS. localhost is working fine but localhost/my-web-content produces a 404.</description>
		<content:encoded><![CDATA[<p>PS. localhost is working fine but localhost/my-web-content produces a 404.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Apache on Ubuntu by don is very green</title>
		<link>http://joycetipping.com/techblog/2010/08/install-apache-on-ubuntu/#comment-6576</link>
		<dc:creator>don is very green</dc:creator>
		<pubDate>Mon, 30 Jan 2012 21:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://joycetipping.com/techblog/?p=64#comment-6576</guid>
		<description>Hi, I get as far as typing in the symbolic link and get 
&quot;ln: creating symbolic link `./my-web-content&#039;: Permission denied&quot;. I have set all the permissions detailed above.
Help please</description>
		<content:encoded><![CDATA[<p>Hi, I get as far as typing in the symbolic link and get<br />
&#8220;ln: creating symbolic link `./my-web-content&#8217;: Permission denied&#8221;. I have set all the permissions detailed above.<br />
Help please</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Apache on Ubuntu by joycetipping</title>
		<link>http://joycetipping.com/techblog/2010/08/install-apache-on-ubuntu/#comment-177</link>
		<dc:creator>joycetipping</dc:creator>
		<pubDate>Tue, 21 Sep 2010 01:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://joycetipping.com/techblog/?p=64#comment-177</guid>
		<description>Thank you! I&#039;m glad you enjoyed it.

My &lt;code&gt;public_html&lt;/code&gt; setup was really simple:

&lt;pre&gt;
$ cd ~
$ mkdir public_html
$ cd /var/www/
$ sudo ln -s ~/public_html ./
&lt;/pre&gt;

At this point, I can access any files in &lt;code&gt;~/public_html&lt;/code&gt; at the browser address &lt;code&gt;http://localhost/public_html/my-file.html&lt;/code&gt;. Here are the relevant permissions:

&lt;pre&gt;
$ ls -ld /var/www/
drwxr-xr-x 3 root root ... ... /var/www/
$ ls -ld ~/public_html/
drwxr-xr-x 2 joycetipping joycetipping ... ... /home/joycetipping/public_html/
$ ls -ld ~/public_html/my-file.html
-rw-r--r-- 1 joycetipping joycetipping ... ... /home/joycetipping/public_html/my-file.html
&lt;/pre&gt;

Unfortunately, I have no idea what could be causing your 403 error; I&#039;ve not run into it myself. It sounds like you know a good deal more than me: My attempt to set up Virtual Hosts (a long time ago) ended with me learning to purge Apache (thus that section in my post, lol). Good luck with that!</description>
		<content:encoded><![CDATA[<p>Thank you! I&#8217;m glad you enjoyed it.</p>
<p>My <code>public_html</code> setup was really simple:</p>
<pre>
$ cd ~
$ mkdir public_html
$ cd /var/www/
$ sudo ln -s ~/public_html ./
</pre>
<p>At this point, I can access any files in <code>~/public_html</code> at the browser address <code><a href="http://localhost/public_html/my-file.html" rel="nofollow">http://localhost/public_html/my-file.html</a></code>. Here are the relevant permissions:</p>
<pre>
$ ls -ld /var/www/
drwxr-xr-x 3 root root ... ... /var/www/
$ ls -ld ~/public_html/
drwxr-xr-x 2 joycetipping joycetipping ... ... /home/joycetipping/public_html/
$ ls -ld ~/public_html/my-file.html
-rw-r--r-- 1 joycetipping joycetipping ... ... /home/joycetipping/public_html/my-file.html
</pre>
<p>Unfortunately, I have no idea what could be causing your 403 error; I&#8217;ve not run into it myself. It sounds like you know a good deal more than me: My attempt to set up Virtual Hosts (a long time ago) ended with me learning to purge Apache (thus that section in my post, lol). Good luck with that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Apache on Ubuntu by Myer Nore</title>
		<link>http://joycetipping.com/techblog/2010/08/install-apache-on-ubuntu/#comment-172</link>
		<dc:creator>Myer Nore</dc:creator>
		<pubDate>Mon, 20 Sep 2010 01:33:36 +0000</pubDate>
		<guid isPermaLink="false">http://joycetipping.com/techblog/?p=64#comment-172</guid>
		<description>... wait, that&#039;s 
&lt;code&gt;$ gnome-open http://localhost/&lt;/code&gt;
not 
&lt;code&gt;$ gnome-open /var/www/index.html&lt;/code&gt;...</description>
		<content:encoded><![CDATA[<p>&#8230; wait, that&#8217;s<br />
<code>$ gnome-open <a href="http://localhost/" rel="nofollow">http://localhost/</a></code><br />
not<br />
<code>$ gnome-open /var/www/index.html</code>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Install Apache on Ubuntu by Myer Nore</title>
		<link>http://joycetipping.com/techblog/2010/08/install-apache-on-ubuntu/#comment-171</link>
		<dc:creator>Myer Nore</dc:creator>
		<pubDate>Mon, 20 Sep 2010 01:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://joycetipping.com/techblog/?p=64#comment-171</guid>
		<description>Great post - clear and thorough! I love your blog. This is actually the first time I&#039;ve seen that httpd.conf has been deprecated; I suspected it since it was blank when I installed it, but you&#039;re right, most of the posts around the net about configuring apache involve httpd.conf. 

Like many, I&#039;m having trouble with permissions. Will you post an example of the symlinks you use to create a new site somewhere in ~ and make it live on localhost? 

Here&#039;s a summary of my problem: 

&lt;code&gt;
$ gnome-open /var/www/index.html
// 403 &quot;You don&#039;t have permission to access / on this server.&quot;
$ ls -l /var/www/index.html
// -rwxr-xr-x 1 root root 177 2010-09-11 01:36 /var/www/index.html
&lt;/code&gt;

And if I try to set it up with symlinks ...
&lt;code&gt;
$ cd ~
$ mkdir public_html
$ cd /var/www/
$ cp index.html ~/public_html
$ ln -s ~/public_html ./
$ export UN=`whoami`
$ sudo adduser $UN www-data
$ sudo adduser www-data $UN
$ cd ~
$ chown -R $UN:$UN public_html
$ chmod -R a+r public_html
$ gnome-open http://localhost/
// 403 &quot;You don&#039;t have permission to access / on this server.&quot;
$ ls -l public_html/index.html
// -rwxr-xr-x  1  $UN:$UN ... ... index.html
&lt;/code&gt;

I&#039;m kind of afraid that I&#039;ve hosed my LAMP trying to set up Named Virtual Hosts, but I&#039;d rather try to debug the situation if I can ...</description>
		<content:encoded><![CDATA[<p>Great post &#8211; clear and thorough! I love your blog. This is actually the first time I&#8217;ve seen that httpd.conf has been deprecated; I suspected it since it was blank when I installed it, but you&#8217;re right, most of the posts around the net about configuring apache involve httpd.conf. </p>
<p>Like many, I&#8217;m having trouble with permissions. Will you post an example of the symlinks you use to create a new site somewhere in ~ and make it live on localhost? </p>
<p>Here&#8217;s a summary of my problem: </p>
<p><code><br />
$ gnome-open /var/www/index.html<br />
// 403 "You don't have permission to access / on this server."<br />
$ ls -l /var/www/index.html<br />
// -rwxr-xr-x 1 root root 177 2010-09-11 01:36 /var/www/index.html<br />
</code></p>
<p>And if I try to set it up with symlinks &#8230;<br />
<code><br />
$ cd ~<br />
$ mkdir public_html<br />
$ cd /var/www/<br />
$ cp index.html ~/public_html<br />
$ ln -s ~/public_html ./<br />
$ export UN=`whoami`<br />
$ sudo adduser $UN www-data<br />
$ sudo adduser www-data $UN<br />
$ cd ~<br />
$ chown -R $UN:$UN public_html<br />
$ chmod -R a+r public_html<br />
$ gnome-open <a href="http://localhost/" rel="nofollow">http://localhost/</a><br />
// 403 "You don't have permission to access / on this server."<br />
$ ls -l public_html/index.html<br />
// -rwxr-xr-x  1  $UN:$UN ... ... index.html<br />
</code></p>
<p>I&#8217;m kind of afraid that I&#8217;ve hosed my LAMP trying to set up Named Virtual Hosts, but I&#8217;d rather try to debug the situation if I can &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

