<?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 on: No-Framework Ruby on the Web using eRuby on Mac OS X</title>
	<atom:link href="http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/</link>
	<description>The brutally honest, first-person account of Meitar Moscovitz&#039;s life.</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:17:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ralovely &#187; Blog Archive &#187; Getting apache2 to serve eRuby files on MacOSX 10.5</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-114090</link>
		<dc:creator>ralovely &#187; Blog Archive &#187; Getting apache2 to serve eRuby files on MacOSX 10.5</dc:creator>
		<pubDate>Wed, 05 Mar 2008 23:34:15 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-114090</guid>
		<description>[...] is mainly maymay.net (if you&#8217;re interested in Rails, hivelogic.com is the [...]</description>
		<content:encoded><![CDATA[<p>[...] is mainly maymay.net (if you&#8217;re interested in Rails, hivelogic.com is the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rubidot</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-114047</link>
		<dc:creator>Rubidot</dc:creator>
		<pubDate>Mon, 03 Mar 2008 09:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-114047</guid>
		<description>Thanks Meitar, it was a problem with MacPorts.   I did something funny when I first installed it, so I reinstalled it and everything worked fine.

I put the AddHandler and Action stuff in a .htaccess to better mimic my host, and I ran into the problem Liam was having (I&#039;m on Tiger).  Kevin&#039;s suggestion fixed the problem.


Thanks for the great article and helpful comments!</description>
		<content:encoded><![CDATA[<p>Thanks Meitar, it was a problem with MacPorts.   I did something funny when I first installed it, so I reinstalled it and everything worked fine.</p>
<p>I put the AddHandler and Action stuff in a .htaccess to better mimic my host, and I ran into the problem Liam was having (I&#8217;m on Tiger).  Kevin&#8217;s suggestion fixed the problem.</p>
<p>Thanks for the great article and helpful comments!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meitar</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-114041</link>
		<dc:creator>Meitar</dc:creator>
		<pubDate>Mon, 03 Mar 2008 05:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-114041</guid>
		<description>Rubidot, I&#039;m unsure as to what that error is about. Sounds like a problem with MacPorts, though. Maybe &lt;a href=&quot;http://www.google.com/search?q=macports+waiting+for+lock&quot; rel=&quot;nofollow&quot;&gt;a Google search&lt;/a&gt; about it would find something helpful…?</description>
		<content:encoded><![CDATA[<p>Rubidot, I&#8217;m unsure as to what that error is about. Sounds like a problem with MacPorts, though. Maybe <a href="http://www.google.com/search?q=macports+waiting+for+lock" rel="nofollow">a Google search</a> about it would find something helpful…?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rubidot</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-114021</link>
		<dc:creator>Rubidot</dc:creator>
		<pubDate>Sat, 01 Mar 2008 00:33:33 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-114021</guid>
		<description>I&#039;m getting stuck at the first step.  I input 

sudo port install eruby

in the Terminal, and it returns

Waiting for lock on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/.macports.readline.state

and just sits there.  I have the latest MacPorts installed.</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting stuck at the first step.  I input </p>
<p>sudo port install eruby</p>
<p>in the Terminal, and it returns</p>
<p>Waiting for lock on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/.macports.readline.state</p>
<p>and just sits there.  I have the latest MacPorts installed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Ethridge</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-112050</link>
		<dc:creator>Kevin Ethridge</dc:creator>
		<pubDate>Sun, 20 Jan 2008 23:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-112050</guid>
		<description>I had the same problem, but I changed: 

&lt;Directory &quot;/Library/WebServer/CGI-Executables&quot;&gt;
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
&lt;/Directory&gt;

To:

&lt;Directory &quot;/Library/WebServer/CGI-Executables&quot;&gt;
    AllowOverride None
    Options FollowSymLinks
    Order allow,deny
    Allow from all
&lt;/Directory&gt;

in /etc/apache2/httpd.conf</description>
		<content:encoded><![CDATA[<p>I had the same problem, but I changed: </p>
<p>&lt;Directory &#8220;/Library/WebServer/CGI-Executables&#8221;&gt;<br />
    AllowOverride None<br />
    Options None<br />
    Order allow,deny<br />
    Allow from all<br />
&lt;/Directory&gt;</p>
<p>To:</p>
<p>&lt;Directory &#8220;/Library/WebServer/CGI-Executables&#8221;&gt;<br />
    AllowOverride None<br />
    Options FollowSymLinks<br />
    Order allow,deny<br />
    Allow from all<br />
&lt;/Directory&gt;</p>
<p>in /etc/apache2/httpd.conf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meitar</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-111106</link>
		<dc:creator>Meitar</dc:creator>
		<pubDate>Tue, 01 Jan 2008 07:23:29 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-111106</guid>
		<description>Great, Liam; glad I could help. Seems as though there&#039;s a difference in the default configuration between Apache 2 and Apache 1.3 as delivered on Mac OS X. As soon as I get a Mac OS X 10.5 machine to play with, I&#039;ll have to update this article. Until then, if anyone else knows the specific changes needed to make this work with Apache 2 on Mac OS X 10.5, please let me know.

Oh, and Happy New Years everyone!</description>
		<content:encoded><![CDATA[<p>Great, Liam; glad I could help. Seems as though there&#8217;s a difference in the default configuration between Apache 2 and Apache 1.3 as delivered on Mac <acronym title="Operating System">OS</acronym> X. As soon as I get a Mac <acronym title="Operating System">OS</acronym> X 10.5 machine to play with, I&#8217;ll have to update this article. Until then, if anyone else knows the specific changes needed to make this work with Apache 2 on Mac <acronym title="Operating System">OS</acronym> X 10.5, please let me know.</p>
<p>Oh, and Happy New Years everyone!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liam</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-111017</link>
		<dc:creator>liam</dc:creator>
		<pubDate>Sun, 30 Dec 2007 18:47:52 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-111017</guid>
		<description>rm /Library/WebServer/CGI-Executables/eruby.cgi
cp /opt/local/bin/eruby /Library/WebServer/CGI-Executables/eruby.cgi

That seemed to solve the problem - obviously it&#039;s a problem with the Apache configuration! Thanks for your help!</description>
		<content:encoded><![CDATA[<p>rm /Library/WebServer/CGI-Executables/eruby.cgi<br />
cp /opt/local/bin/eruby /Library/WebServer/CGI-Executables/eruby.cgi</p>
<p>That seemed to solve the problem &#8211; obviously it&#8217;s a problem with the Apache configuration! Thanks for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meitar</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-110999</link>
		<dc:creator>Meitar</dc:creator>
		<pubDate>Sun, 30 Dec 2007 14:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-110999</guid>
		<description>That&#039;s funny. Unfortunately, I don&#039;t have a Mac OS X 10.5 system on which to test; I&#039;ve only got this working on Tiger. I would double-check all of your Apache configuration files and make doubly sure that you&#039;re allowing symbolic links. One way to test this is to simply delete the symbolic link to the eruby binary and replace it with a copy of the &lt;em&gt;real&lt;/em&gt; binary, like so:

&lt;pre&gt;rm /Library/WebServer/CGI-Executables/eruby.cgi
cp /opt/local/bin/eruby /Library/WebServer/CGI-Executables/eruby.cgi&lt;/pre&gt;

Then try again. If this works, you &lt;em&gt;know&lt;/em&gt; the problem is your Apache configuration. In that case, comb through your Apache files to make sure there are no includes or other directives overwriting your modifications. One such file that typically does this is &lt;code&gt;/etc/apache2/default-server.conf&lt;/code&gt;, so be sure to check that too.</description>
		<content:encoded><![CDATA[<p>That&#8217;s funny. Unfortunately, I don&#8217;t have a Mac <acronym title="Operating System">OS</acronym> X 10.5 system on which to test; I&#8217;ve only got this working on Tiger. I would double-check all of your Apache configuration files and make doubly sure that you&#8217;re allowing symbolic links. One way to test this is to simply delete the symbolic link to the eruby binary and replace it with a copy of the <em>real</em> binary, like so:</p>
<pre>rm /Library/WebServer/CGI-Executables/eruby.cgi
cp /opt/local/bin/eruby /Library/WebServer/CGI-Executables/eruby.cgi</pre>
<p>Then try again. If this works, you <em>know</em> the problem is your Apache configuration. In that case, comb through your Apache files to make sure there are no includes or other directives overwriting your modifications. One such file that typically does this is <code>/etc/apache2/default-server.conf</code>, so be sure to check that too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liam</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-110921</link>
		<dc:creator>liam</dc:creator>
		<pubDate>Sat, 29 Dec 2007 02:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-110921</guid>
		<description>Output seems the same.

liamks$ ls -l /Library/WebServer/CGI-Executables
total 24
lrwxr-xr-x  1 liamks  admin    20 27 Dec 23:43 eruby.cgi -&gt; /opt/local/bin/eruby
..

I&#039;ve tried a million different combinations with my liamks.conf file... a few with httpd.conf and not luck.</description>
		<content:encoded><![CDATA[<p>Output seems the same.</p>
<p>liamks$ ls -l /Library/WebServer/CGI-Executables<br />
total 24<br />
lrwxr-xr-x  1 liamks  admin    20 27 Dec 23:43 eruby.cgi -&gt; /opt/local/bin/eruby<br />
..</p>
<p>I&#8217;ve tried a million different combinations with my liamks.conf file&#8230; a few with httpd.conf and not luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meitar</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-110915</link>
		<dc:creator>Meitar</dc:creator>
		<pubDate>Fri, 28 Dec 2007 22:47:09 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-110915</guid>
		<description>Hmm. Are you positive both the symbolic link and the eruby binary have the proper UNIX permissions set on them? You should get output similar to the following on your machine when you check:

&lt;pre&gt;maymay$ ls -l /Library/WebServer/CGI-Executables/
total 8
lrwxr-xr-x   1 admin  admin  20 Oct 25 00:32 eruby.cgi -&gt; /opt/local/bin/eruby&lt;/pre&gt;

Note the first chunk of the third line that indicates the link is world-readable and world-executable. For basic information on UNIX permissions, see &lt;a href=&quot;//www.dartmouth.edu/~rc/help/faq/permissions.html&quot; rel=&quot;nofollow&quot;&gt;this tutorial&lt;/a&gt;, for example.</description>
		<content:encoded><![CDATA[<p>Hmm. Are you positive both the symbolic link and the eruby binary have the proper UNIX permissions set on them? You should get output similar to the following on your machine when you check:</p>
<pre>maymay$ ls -l /Library/WebServer/CGI-Executables/
total 8
lrwxr-xr-x   1 admin  admin  20 Oct 25 00:32 eruby.cgi -> /opt/local/bin/eruby</pre>
<p>Note the first chunk of the third line that indicates the link is world-readable and world-executable. For basic information on UNIX permissions, see <a href="//www.dartmouth.edu/~rc/help/faq/permissions.html" rel="nofollow">this tutorial</a>, for example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liam</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-110894</link>
		<dc:creator>liam</dc:creator>
		<pubDate>Fri, 28 Dec 2007 15:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-110894</guid>
		<description>Woops, the bracketed Directory stuff got filtered out. Here&#039;s what each options block corresponds to:

Directory /
Directory &quot;/Library/WebServer/Documents&quot;
Directory &quot;/Users/liamks/Sites/&quot;</description>
		<content:encoded><![CDATA[<p>Woops, the bracketed Directory stuff got filtered out. Here&#8217;s what each options block corresponds to:</p>
<p>Directory /<br />
Directory &#8220;/Library/WebServer/Documents&#8221;<br />
Directory &#8220;/Users/liamks/Sites/&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liam</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-110893</link>
		<dc:creator>liam</dc:creator>
		<pubDate>Fri, 28 Dec 2007 15:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-110893</guid>
		<description>Thanks for your quick reply. According to httpd.conf it looks like FollowSymLinks is enabled by default:

# First, we configure the &quot;default&quot; to be a very restrictive set of 
# features.  
#

    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all



   Options Indexes FollowSymLinks MultiViews
   AllowOverride None
   Order allow,deny
   Allow from all


When I modify the following to include FollowSymLinks (for liamks.conf) the same error persists:

    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all

    AddHandler rubypage .erb .rhtml
    Action rubypage /cgi-bin/eruby


Once again, I appreciate your help!</description>
		<content:encoded><![CDATA[<p>Thanks for your quick reply. According to httpd.conf it looks like FollowSymLinks is enabled by default:</p>
<p># First, we configure the &#8220;default&#8221; to be a very restrictive set of<br />
# features.<br />
#</p>
<p>    Options FollowSymLinks<br />
    AllowOverride None<br />
    Order deny,allow<br />
    Deny from all</p>
<p>   Options Indexes FollowSymLinks MultiViews<br />
   AllowOverride None<br />
   Order allow,deny<br />
   Allow from all</p>
<p>When I modify the following to include FollowSymLinks (for liamks.conf) the same error persists:</p>
<p>    Options Indexes FollowSymLinks MultiViews<br />
    AllowOverride None<br />
    Order allow,deny<br />
    Allow from all</p>
<p>    AddHandler rubypage .erb .rhtml<br />
    Action rubypage /cgi-bin/eruby</p>
<p>Once again, I appreciate your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meitar</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-110862</link>
		<dc:creator>Meitar</dc:creator>
		<pubDate>Fri, 28 Dec 2007 07:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-110862</guid>
		<description>Liam, try adding the following line in the appropriate Directory block for your set up:

&lt;code&gt;Options +FollowSymLinks&lt;/code&gt;

Or, just make sure &quot;FollowSymLinks&quot; is a listed option in the Directory block for your home user folder. That&#039;s the directive that tells Apache to follow symlinks to their targets. I thought Apple set up Apache that way by default, but maybe I was mistaken about that…?</description>
		<content:encoded><![CDATA[<p>Liam, try adding the following line in the appropriate Directory block for your set up:</p>
<p><code>Options +FollowSymLinks</code></p>
<p>Or, just make sure &#8220;FollowSymLinks&#8221; is a listed option in the Directory block for your home user folder. That&#8217;s the directive that tells Apache to follow symlinks to their targets. I thought Apple set up Apache that way by default, but maybe I was mistaken about that…?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liam</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-110859</link>
		<dc:creator>liam</dc:creator>
		<pubDate>Fri, 28 Dec 2007 05:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-110859</guid>
		<description>I&#039;m having the same problem as Daniel (I&#039;m using os x 10.5.1).

I get the following error:
======
You don&#039;t have permission to access /cgi-bin/eruby/~liamks/erubytest.rhtml on this server.
======

according to the error log:
[Fri Dec 28 00:06:25 2007] [error] [client 127.0.0.1] Symbolic link not allowed or link target not accessible: /Library/WebServer/CGI-Executables/eruby

====
The link should be fine as I copy and pasted &quot;ln -s /opt/local/bin/eruby /Library/WebServer/CGI-Executables/eruby&quot; into the terminal window. I&#039;ve checked in /opt/local/bin/ and eruby does exists. I&#039;ve checked in /Library/WebServer/CGI-Executables/ and the eruby shortcut does exist... Not sure what to do on this!</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same problem as Daniel (I&#8217;m using os x 10.5.1).</p>
<p>I get the following error:<br />
======<br />
You don&#8217;t have permission to access /cgi-bin/eruby/~liamks/erubytest.rhtml on this server.<br />
======</p>
<p>according to the error log:<br />
[Fri Dec 28 00:06:25 2007] [error] [client 127.0.0.1] Symbolic link not allowed or link target not accessible: /Library/WebServer/CGI-Executables/eruby</p>
<p>====<br />
The link should be fine as I copy and pasted &#8220;ln -s /opt/local/bin/eruby /Library/WebServer/CGI-Executables/eruby&#8221; into the terminal window. I&#8217;ve checked in /opt/local/bin/ and eruby does exists. I&#8217;ve checked in /Library/WebServer/CGI-Executables/ and the eruby shortcut does exist&#8230; Not sure what to do on this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meitar</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-109936</link>
		<dc:creator>Meitar</dc:creator>
		<pubDate>Mon, 10 Dec 2007 19:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-109936</guid>
		<description>Hmmm…at first glance it sounds like either Apache isn&#039;t configured to allow access to the CGI binary or to your local Sites directory, or else it&#039;s actually thinking that you&#039;re trying to get to a file called &lt;code&gt;/cgi-bin/eruby/~danieldeverell/test.rhtml&lt;/code&gt;. In either case, take a look at the error log to see if anything more helpful appears there. (You might also try raising the verbosity using the &lt;a href=&quot;http://httpd.apache.org/docs/2.0/mod/core.html#loglevel&quot; rel=&quot;nofollow&quot;&gt;LogLevel&lt;/a&gt; directive.) If troubleshooting on your own fails, I&#039;ve always found the folks in &lt;a href=&quot;irc://irc.freenode.net/&quot; rel=&quot;nofollow&quot;&gt;#apache&lt;/a&gt; on Freenode are very helpful.

If you figure it out, I&#039;d love to hear what the problem was, as I&#039;ve yet to use Apache 2 heavily. Thanks.</description>
		<content:encoded><![CDATA[<p>Hmmm…at first glance it sounds like either Apache isn&#8217;t configured to allow access to the <acronym title="Common Gateway Interface">CGI</acronym> binary or to your local Sites directory, or else it&#8217;s actually thinking that you&#8217;re trying to get to a file called <code>/cgi-bin/eruby/~danieldeverell/test.rhtml</code>. In either case, take a look at the error log to see if anything more helpful appears there. (You might also try raising the verbosity using the <a href="http://httpd.apache.org/docs/2.0/mod/core.html#loglevel" rel="nofollow">LogLevel</a> directive.) If troubleshooting on your own fails, I&#8217;ve always found the folks in <a href="irc://irc.freenode.net/" rel="nofollow">#apache</a> on Freenode are very helpful.</p>
<p>If you figure it out, I&#8217;d love to hear what the problem was, as I&#8217;ve yet to use Apache 2 heavily. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://maymay.net/blog/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/comment-page-1/#comment-109905</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 10 Dec 2007 11:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://maymay.net/blog/archives/2007/10/25/no-framework-ruby-on-the-web-using-eruby-on-mac-os-x/#comment-109905</guid>
		<description>Interesting article but it didn&#039;t quite work for me in 10.5. 

Port installed eruby just fine and I was able to  view helloworld.rhtm.

The first issue I encountered was with Apache. 10.5 uses Apache 2 by default and doesn&#039;t migrate Apache 1 settings over so I had to
cp /etc/httpd/users/*.conf /etc/apache2/users/
just to get localhost/~username running again.

The creation of the shortcut (eruby -&gt; /opt/local/bin/eruby ) proceeded without issue and I made the changes to the user-specific conf file but it throws a permissions error:
-------
You don&#039;t have permission to access /cgi-bin/eruby/~danieldeverell/test.rhtml on this server.
-------
when I access http://localhost/~danieldeverell/test.rhtml (after restarting Apache).

Any thoughts?

As an aside - I am able to run .rb files from my cgi-bin
i.e. http://localhost/cgi-bin/simple_cgi.rb</description>
		<content:encoded><![CDATA[<p>Interesting article but it didn&#8217;t quite work for me in 10.5. </p>
<p>Port installed eruby just fine and I was able to  view helloworld.rhtm.</p>
<p>The first issue I encountered was with Apache. 10.5 uses Apache 2 by default and doesn&#8217;t migrate Apache 1 settings over so I had to<br />
cp /etc/httpd/users/*.conf /etc/apache2/users/<br />
just to get localhost/~username running again.</p>
<p>The creation of the shortcut (eruby -&gt; /opt/local/bin/eruby ) proceeded without issue and I made the changes to the user-specific conf file but it throws a permissions error:<br />
&#8212;&#8212;-<br />
You don&#8217;t have permission to access /cgi-bin/eruby/~danieldeverell/test.rhtml on this server.<br />
&#8212;&#8212;-<br />
when I access <a href="http://localhost/~danieldeverell/test.rhtml" rel="nofollow">http://localhost/~danieldeverell/test.rhtml</a> (after restarting Apache).</p>
<p>Any thoughts?</p>
<p>As an aside &#8211; I am able to run .rb files from my cgi-bin<br />
i.e. <a href="http://localhost/cgi-bin/simple_cgi.rb" rel="nofollow">http://localhost/cgi-bin/simple_cgi.rb</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

