<?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 Ruby, Rails, OSX and Linux fun</title>
	<atom:link href="http://www.frederico-araujo.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frederico-araujo.com</link>
	<description>Ruby, Rails, OSX and linux sysadmin</description>
	<lastBuildDate>Thu, 02 Sep 2010 08:03:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Install a Rails enviroment on Snow Leopard with Macports, Mysql and ModRails Passenger (updated) by admin</title>
		<link>http://www.frederico-araujo.com/2010/08/19/installing-rails-enviroment-on-snow-leopard-with-macports-mysql-and-modrails-passenger/comment-page-1/#comment-1093</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 02 Sep 2010 08:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederico-araujo.com/?p=175#comment-1093</guid>
		<description>Hi, thank you for you nice comment.

Your error is happening probably because one of your rails apps is default host of your apache and you dont have any other default vhost.
The default is actually the first rails vhost on the passenger file. 

To be able to enable php and others you will have to enable another default vhost with localhost as servername. 

This is what did to fix your problem: 
Edit the file /etc/apache2/httpd.conf to enable vhosts 

&lt;pre lang=&quot;apache&quot; line=&quot;1&quot;&gt;
# Virtual hosts
Include /private/etc/apache2/extra/httpd-vhosts.conf
&lt;/pre&gt;

then open /private/etc/apache2/extra/httpd-vhosts.conf file, 
delete or comment everything from there and add this block ONLY: 

&lt;pre lang=&quot;apache&quot; line=&quot;1&quot;&gt;
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

# Change /Users/fred/ to your appropriate login name
&lt;VirtualHost *:80&gt;
    ServerName localhost
    DocumentRoot /Users/fred/Sites/
    RewriteEngine On
    DefaultType text/html
    &lt;Directory &quot;/Users/fred/Sites&quot;&gt;
        DefaultType text/html
        Options +ExecCGI FollowSymLinks Indexes
        AllowOverride All
        Order allow,deny
        Allow from all
    &lt;/Directory&gt;
&lt;/VirtualHost&gt;
&lt;/pre&gt;

there you go, worked nice for me.</description>
		<content:encoded><![CDATA[<p>Hi, thank you for you nice comment.</p>
<p>Your error is happening probably because one of your rails apps is default host of your apache and you dont have any other default vhost.<br />
The default is actually the first rails vhost on the passenger file. </p>
<p>To be able to enable php and others you will have to enable another default vhost with localhost as servername. </p>
<p>This is what did to fix your problem:<br />
Edit the file /etc/apache2/httpd.conf to enable vhosts</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;"># Virtual hosts</span>
<span style="color: #00007f;">Include</span> /private/etc/apache2/extra/httpd-vhosts.conf</pre></td></tr></table></div>

<p>then open /private/etc/apache2/extra/httpd-vhosts.conf file,<br />
delete or comment everything from there and add this block ONLY:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;">#</span>
<span style="color: #adadad; font-style: italic;"># Use name-based virtual hosting.</span>
<span style="color: #adadad; font-style: italic;">#</span>
<span style="color: #00007f;">NameVirtualHost</span> *:<span style="color: #ff0000;">80</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Change /Users/fred/ to your appropriate login name</span>
&lt;<span style="color: #000000; font-weight:bold;">VirtualHost</span> *:<span style="color: #ff0000;">80</span>&gt;
    <span style="color: #00007f;">ServerName</span> localhost
    <span style="color: #00007f;">DocumentRoot</span> /Users/fred/Sites/
    <span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">On</span>
    <span style="color: #00007f;">DefaultType</span> text/html
    &lt;<span style="color: #000000; font-weight:bold;">Directory</span> <span style="color: #7f007f;">&quot;/Users/fred/Sites&quot;</span>&gt;
        <span style="color: #00007f;">DefaultType</span> text/html
        <span style="color: #00007f;">Options</span> +ExecCGI <span style="color: #0000ff;">FollowSymLinks</span> <span style="color: #0000ff;">Indexes</span>
        <span style="color: #00007f;">AllowOverride</span> <span style="color: #00007f;">All</span>
        <span style="color: #00007f;">Order</span> <span style="color: #00007f;">allow</span>,<span style="color: #00007f;">deny</span>
        <span style="color: #00007f;">Allow</span> <span style="color: #00007f;">from</span> <span style="color: #00007f;">all</span>
    &lt;/<span style="color: #000000; font-weight:bold;">Directory</span>&gt;
&lt;/<span style="color: #000000; font-weight:bold;">VirtualHost</span>&gt;</pre></td></tr></table></div>

<p>there you go, worked nice for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Install a Rails enviroment on Snow Leopard with Macports, Mysql and ModRails Passenger (updated) by sanjayayogi</title>
		<link>http://www.frederico-araujo.com/2010/08/19/installing-rails-enviroment-on-snow-leopard-with-macports-mysql-and-modrails-passenger/comment-page-1/#comment-1090</link>
		<dc:creator>sanjayayogi</dc:creator>
		<pubDate>Mon, 30 Aug 2010 14:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederico-araujo.com/?p=175#comment-1090</guid>
		<description>I did everything here according to your instructions on Snow Leopard OSX 10.6.

It worked great and I have my rails apps up and running locally.

However, I seem to have several problems:

1. I had a phpinfo.php in my htdocs root:

http://localhost/phpinfo.php

Routing Error

No route matches &quot;/phpinfo.php&quot; with {:method=&gt;:get}

So, course, now it apears that the document route is the rails app rather than the apache2 htdocs.

I have the same problem accessing phpmyadmin

http://localhost/phpmyadmin/index.php?

Routing Error

No route matches &quot;/phpmyadmin/index.php&quot; with {:method=&gt;:get}

Same issue.

Not a big deal but will need to add more information for clarifying these types of routing issues.

Thanks looking forward to seeing more of your posts.

Sanjaya Yogi</description>
		<content:encoded><![CDATA[<p>I did everything here according to your instructions on Snow Leopard OSX 10.6.</p>
<p>It worked great and I have my rails apps up and running locally.</p>
<p>However, I seem to have several problems:</p>
<p>1. I had a phpinfo.php in my htdocs root:</p>
<p><a href="http://localhost/phpinfo.php" rel="nofollow">http://localhost/phpinfo.php</a></p>
<p>Routing Error</p>
<p>No route matches &#8220;/phpinfo.php&#8221; with {:method=&gt;:get}</p>
<p>So, course, now it apears that the document route is the rails app rather than the apache2 htdocs.</p>
<p>I have the same problem accessing phpmyadmin</p>
<p><a href="http://localhost/phpmyadmin/index.php?" rel="nofollow">http://localhost/phpmyadmin/index.php?</a></p>
<p>Routing Error</p>
<p>No route matches &#8220;/phpmyadmin/index.php&#8221; with {:method=&gt;:get}</p>
<p>Same issue.</p>
<p>Not a big deal but will need to add more information for clarifying these types of routing issues.</p>
<p>Thanks looking forward to seeing more of your posts.</p>
<p>Sanjaya Yogi</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Server monitoring with gentoo and iStat on the iPhone by admin</title>
		<link>http://www.frederico-araujo.com/2010/06/25/server-monitoring-with-gentoo-and-istat-on-the-iphone/comment-page-1/#comment-799</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 18 Jul 2010 14:24:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederico-araujo.com/?p=137#comment-799</guid>
		<description>That&#039;s cool, Im checking out the ebuild. 
and I will update the post with the ebuild link.</description>
		<content:encoded><![CDATA[<p>That&#8217;s cool, Im checking out the ebuild.<br />
and I will update the post with the ebuild link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Server monitoring with gentoo and iStat on the iPhone by hal</title>
		<link>http://www.frederico-araujo.com/2010/06/25/server-monitoring-with-gentoo-and-istat-on-the-iphone/comment-page-1/#comment-787</link>
		<dc:creator>hal</dc:creator>
		<pubDate>Sat, 17 Jul 2010 11:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederico-araujo.com/?p=137#comment-787</guid>
		<description>hey fred,

the ebuild has been released and can be found in the sunrise overlay and in the bug thread.

cheers,
hal</description>
		<content:encoded><![CDATA[<p>hey fred,</p>
<p>the ebuild has been released and can be found in the sunrise overlay and in the bug thread.</p>
<p>cheers,<br />
hal</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Server monitoring with gentoo and iStat on the iPhone by hal</title>
		<link>http://www.frederico-araujo.com/2010/06/25/server-monitoring-with-gentoo-and-istat-on-the-iphone/comment-page-1/#comment-753</link>
		<dc:creator>hal</dc:creator>
		<pubDate>Tue, 13 Jul 2010 10:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederico-araujo.com/?p=137#comment-753</guid>
		<description>yeah, gentoo still rocks. :) got it on my htpc as a base for xbmc.
nice to see that you are interested in an ebuild. there&#039;s another user on the bugtracker showing interest in creating an ebuild. maybe it would be wise to coordinate your efforts.

cheers,
hal</description>
		<content:encoded><![CDATA[<p>yeah, gentoo still rocks. <img src='http://www.frederico-araujo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  got it on my htpc as a base for xbmc.<br />
nice to see that you are interested in an ebuild. there&#8217;s another user on the bugtracker showing interest in creating an ebuild. maybe it would be wise to coordinate your efforts.</p>
<p>cheers,<br />
hal</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Server monitoring with gentoo and iStat on the iPhone by admin</title>
		<link>http://www.frederico-araujo.com/2010/06/25/server-monitoring-with-gentoo-and-istat-on-the-iphone/comment-page-1/#comment-708</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 05 Jul 2010 11:48:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederico-araujo.com/?p=137#comment-708</guid>
		<description>hey,
Thanks for submitting the bug report. 
actually it&#039;s a really good idea to have an ebuild. 
Good to see active Gentoo users. I wish I was more active too. 
:)
I have done a couple of ebuilds many years back. I might give it a try now. 
Fred</description>
		<content:encoded><![CDATA[<p>hey,<br />
Thanks for submitting the bug report.<br />
actually it&#8217;s a really good idea to have an ebuild.<br />
Good to see active Gentoo users. I wish I was more active too.  <img src='http://www.frederico-araujo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I have done a couple of ebuilds many years back. I might give it a try now.<br />
Fred</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Server monitoring with gentoo and iStat on the iPhone by hal</title>
		<link>http://www.frederico-araujo.com/2010/06/25/server-monitoring-with-gentoo-and-istat-on-the-iphone/comment-page-1/#comment-707</link>
		<dc:creator>hal</dc:creator>
		<pubDate>Mon, 05 Jul 2010 09:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederico-araujo.com/?p=137#comment-707</guid>
		<description>hey,

nice tutorial. do you have an intention to create an ebuild?
i created a bugreport, so this might be good point to start at in case someone is interested in creating an ebuild for gentoo linux.

-&gt; http://bugs.gentoo.org/show_bug.cgi?id=326965

regards,
hal</description>
		<content:encoded><![CDATA[<p>hey,</p>
<p>nice tutorial. do you have an intention to create an ebuild?<br />
i created a bugreport, so this might be good point to start at in case someone is interested in creating an ebuild for gentoo linux.</p>
<p>-&gt; <a href="http://bugs.gentoo.org/show_bug.cgi?id=326965" rel="nofollow">http://bugs.gentoo.org/show_bug.cgi?id=326965</a></p>
<p>regards,<br />
hal</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About me by Thomas S</title>
		<link>http://www.frederico-araujo.com/about-me/comment-page-1/#comment-703</link>
		<dc:creator>Thomas S</dc:creator>
		<pubDate>Tue, 29 Jun 2010 19:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://wp.frederico-araujo.com/?page_id=2#comment-703</guid>
		<description>Hi

Looking for a RoR developer for a little project. Would you send me a little email with your prices?:) Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Looking for a RoR developer for a little project. Would you send me a little email with your prices?:) Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Really checking the content-type/mime_type of a file in OSX and Linux by Ches</title>
		<link>http://www.frederico-araujo.com/2009/06/14/really-finding-the-content-type-of-a-file-in-osx-and-linux/comment-page-1/#comment-702</link>
		<dc:creator>Ches</dc:creator>
		<pubDate>Mon, 31 May 2010 13:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederico-araujo.com/?p=95#comment-702</guid>
		<description>Beside the whole point, but as a side note the case construct allows you some regex matching convenience. The above can equivalently be written as:

&lt;pre&gt;&lt;code&gt;
real_type = case content_type
            when /image&#124;png&#124;jpg&#124;jpeg&#124;gif/
              &#039;image&#039;
            when /pdf/
              &#039;pdf&#039;
            # etc.
            end
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Beside the whole point, but as a side note the case construct allows you some regex matching convenience. The above can equivalently be written as:</p>
<pre><code>
real_type = case content_type
            when /image|png|jpg|jpeg|gif/
              'image'
            when /pdf/
              'pdf'
            # etc.
            end
</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About me by G Dee</title>
		<link>http://www.frederico-araujo.com/about-me/comment-page-1/#comment-657</link>
		<dc:creator>G Dee</dc:creator>
		<pubDate>Mon, 11 Jan 2010 03:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://wp.frederico-araujo.com/?page_id=2#comment-657</guid>
		<description>Hi
We are looking for a reliable experience RoR developer. If you are free and would like to discuss the contract, please reply with with moire info on yourself &amp; contact details.
Thanks
G Dee</description>
		<content:encoded><![CDATA[<p>Hi<br />
We are looking for a reliable experience RoR developer. If you are free and would like to discuss the contract, please reply with with moire info on yourself &amp; contact details.<br />
Thanks<br />
G Dee</p>
]]></content:encoded>
	</item>
</channel>
</rss>
