<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments for bryanthompson's blog</title>
	<link>http://www.bryanthompson.us</link>
	<description>Ruby on Rails, and some other random stuff</description>
	<pubDate>Tue, 07 Sep 2010 04:45:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.3</generator>

	<item>
		<title>Comment on Apache 2.2 + Mongrel on Fedora Core 5 installation guide by Bryce Berny</title>
		<link>http://www.bryanthompson.us/2006/08/29/22/#comment-960</link>
		<pubDate>Fri, 09 Feb 2007 21:23:53 +0000</pubDate>
		<guid>http://www.bryanthompson.us/2006/08/29/22/#comment-960</guid>
					<description>can be really frustrating if you default install FC5.  Use:

/usr/sbin/setsebool httpd_can_network_connect true</description>
		<content:encoded><![CDATA[<p>can be really frustrating if you default install FC5.  Use:</p>
<p>/usr/sbin/setsebool httpd_can_network_connect true
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Installing Rails and Apache on OS X (Intel) by the howto scribbles &#187; Blog Archive &#187; Apache - Rails Checklist</title>
		<link>http://www.bryanthompson.us/2006/05/03/installing-rails-and-apache-on-os-x-intel/#comment-948</link>
		<pubDate>Fri, 09 Feb 2007 03:25:04 +0000</pubDate>
		<guid>http://www.bryanthompson.us/2006/05/03/installing-rails-and-apache-on-os-x-intel/#comment-948</guid>
					<description>[...] * Fix permissions for rails directories so apache can use them Ref: http://bryan.e4industries.com/?p=6 sudo chgrp -R www-data railsapp chmod 0775 db chmod 0777 log chmod 0775 public chmod 0666 log/*.log [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] * Fix permissions for rails directories so apache can use them Ref: <a href='http://bryan.e4industries.com/?p=6' rel='nofollow'>http://bryan.e4industries.com/?p=6</a> sudo chgrp -R www-data railsapp chmod 0775 db chmod 0777 log chmod 0775 public chmod 0666 log/*.log [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Apache 2.2 + Mongrel on Fedora Core 5 installation guide by Dev::Blog :: Plesk Capistrano, and Mongrel: a love story</title>
		<link>http://www.bryanthompson.us/2006/08/29/22/#comment-577</link>
		<pubDate>Thu, 04 Jan 2007 23:57:43 +0000</pubDate>
		<guid>http://www.bryanthompson.us/2006/08/29/22/#comment-577</guid>
					<description>[...] Upgrading requires a few steps. I used Bryan Thompson&amp;#8217;s guide to get Apache in, but it turned out I needed to compile it with &amp;#8211;enable-openssl. Once that was in, I had to figure out how to handle the server config. Plesk likes to overwrite /etc/httpd/conf/httpd.conf a lot, and it keeps its virtual server config info (with other files) in /etc/httpd/conf.d. I didn&amp;#8217;t care much about the non-virtual stuff - I can set that up myself, so I kept httpd.conf in its new /usr/local/apache2/conf directory and added an Include /etc/httpd/conf.d/zz010_psa_httpd.conf to keep the one file I wanted in play. I also had to include mod_suexec to keep everything happy. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Upgrading requires a few steps. I used Bryan Thompson&#8217;s guide to get Apache in, but it turned out I needed to compile it with &#8211;enable-openssl. Once that was in, I had to figure out how to handle the server config. Plesk likes to overwrite /etc/httpd/conf/httpd.conf a lot, and it keeps its virtual server config info (with other files) in /etc/httpd/conf.d. I didn&#8217;t care much about the non-virtual stuff - I can set that up myself, so I kept httpd.conf in its new /usr/local/apache2/conf directory and added an Include /etc/httpd/conf.d/zz010_psa_httpd.conf to keep the one file I wanted in play. I also had to include mod_suexec to keep everything happy. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Apache 2.2 + Mongrel on Fedora Core 5 installation guide by Adam Block</title>
		<link>http://www.bryanthompson.us/2006/08/29/22/#comment-546</link>
		<pubDate>Sat, 23 Dec 2006 04:00:44 +0000</pubDate>
		<guid>http://www.bryanthompson.us/2006/08/29/22/#comment-546</guid>
					<description>I see... following the link below to your other post has the answer to my BalancerMember question.  In my browser at least the httpd.conf items in brackets () are not visible in the code block above. Hence the confusion.</description>
		<content:encoded><![CDATA[<p>I see&#8230; following the link below to your other post has the answer to my BalancerMember question.  In my browser at least the httpd.conf items in brackets () are not visible in the code block above. Hence the confusion.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Apache 2.2 + Mongrel on Fedora Core 5 installation guide by Adam Block</title>
		<link>http://www.bryanthompson.us/2006/08/29/22/#comment-545</link>
		<pubDate>Sat, 23 Dec 2006 03:58:20 +0000</pubDate>
		<guid>http://www.bryanthompson.us/2006/08/29/22/#comment-545</guid>
					<description>This is very helpful. Thanks for putting it together! A few minor errata:

- Consistent \ for non-terminating lines would be great. I think a few are missing;
- The mongrel_rails configuration command has the -c parameter given twice
- Where in httpd.conf do the BalancerMember lines go? They cause errors if they're at the root level.
- The second symlink command in the Setting Paths section doesn't appear to have a target.

Sorry if any of my comments are noob misunderstandings.

/afb</description>
		<content:encoded><![CDATA[<p>This is very helpful. Thanks for putting it together! A few minor errata:</p>
<p>- Consistent \ for non-terminating lines would be great. I think a few are missing;<br />
- The mongrel_rails configuration command has the -c parameter given twice<br />
- Where in httpd.conf do the BalancerMember lines go? They cause errors if they&#8217;re at the root level.<br />
- The second symlink command in the Setting Paths section doesn&#8217;t appear to have a target.</p>
<p>Sorry if any of my comments are noob misunderstandings.</p>
<p>/afb
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Installing Rails and Apache on OS X (Intel) by Jonathan Dobbie</title>
		<link>http://www.bryanthompson.us/2006/05/03/installing-rails-and-apache-on-os-x-intel/#comment-266</link>
		<pubDate>Wed, 15 Nov 2006 21:38:14 +0000</pubDate>
		<guid>http://www.bryanthompson.us/2006/05/03/installing-rails-and-apache-on-os-x-intel/#comment-266</guid>
					<description>Please help.  I'm spamming here because this is about the only intel specific install guid that I've found.  I'm using the default ruby, but it works with lighttp and webrick, so I don't think it's the problem.  I want to do some stuff that requires apache, but I keep getting:


Application error

Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html

If some kind person with a solution could email me at jdobbie@gmail.com it would be greatly appreciated

at the About your application’s environment

The development log has:


Operation not permitted - /Users/jdobbie/Sites/TestRailsSite/public/../config/../tmp/sessions//ruby_sess.9559d1397957123a
/usr/lib/ruby/1.8/cgi/session/pstore.rb:72:in `chmod'
/usr/lib/ruby/1.8/cgi/session/pstore.rb:72:in `initialize'
/usr/lib/ruby/1.8/cgi/session/pstore.rb:71:in `transaction'
/usr/lib/ruby/1.8/pstore.rb:129:in `catch'
/usr/lib/ruby/1.8/pstore.rb:129:in `transaction'
/usr/lib/ruby/1.8/cgi/session/pstore.rb:71:in `initialize'
/usr/lib/ruby/1.8/cgi/session.rb:273:in `new'
/usr/lib/ruby/1.8/cgi/session.rb:273:in `initialize'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:112:in `new'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:112:in `session'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:108:in `stale_session_check!'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:108:in `session'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:918:in `assign_shortcuts_without_flash'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/flash.rb:141:in `assign_shortcuts'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:402:in `process_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in `process_without_session_management_support'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in `process'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in `process_request'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in `process!'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in `each_cgi'
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each'
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in `process!'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in `process!'
/Users/jdobbie/Sites/TestRailsSite/public/dispatch.fcgi:24</description>
		<content:encoded><![CDATA[<p>Please help.  I&#8217;m spamming here because this is about the only intel specific install guid that I&#8217;ve found.  I&#8217;m using the default ruby, but it works with lighttp and webrick, so I don&#8217;t think it&#8217;s the problem.  I want to do some stuff that requires apache, but I keep getting:</p>
<p>Application error</p>
<p>Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html</p>
<p>If some kind person with a solution could email me at <a href="mailto:jdobbie@gmail.com">jdobbie@gmail.com</a> it would be greatly appreciated</p>
<p>at the About your application’s environment</p>
<p>The development log has:</p>
<p>Operation not permitted - /Users/jdobbie/Sites/TestRailsSite/public/../config/../tmp/sessions//ruby_sess.9559d1397957123a<br />
/usr/lib/ruby/1.8/cgi/session/pstore.rb:72:in `chmod&#8217;<br />
/usr/lib/ruby/1.8/cgi/session/pstore.rb:72:in `initialize&#8217;<br />
/usr/lib/ruby/1.8/cgi/session/pstore.rb:71:in `transaction&#8217;<br />
/usr/lib/ruby/1.8/pstore.rb:129:in `catch&#8217;<br />
/usr/lib/ruby/1.8/pstore.rb:129:in `transaction&#8217;<br />
/usr/lib/ruby/1.8/cgi/session/pstore.rb:71:in `initialize&#8217;<br />
/usr/lib/ruby/1.8/cgi/session.rb:273:in `new&#8217;<br />
/usr/lib/ruby/1.8/cgi/session.rb:273:in `initialize&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:112:in `new&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:112:in `session&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:108:in `stale_session_check!&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:108:in `session&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:918:in `assign_shortcuts_without_flash&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/flash.rb:141:in `assign_shortcuts&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:402:in `process_without_filters&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in `process_without_session_management_support&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in `process&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in `process_request&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in `process!&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in `each_cgi&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in `process!&#8217;<br />
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in `process!&#8217;<br />
/Users/jdobbie/Sites/TestRailsSite/public/dispatch.fcgi:24
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on rails app throwing (NSURLErrorDomain:-1005) error? by bryan</title>
		<link>http://www.bryanthompson.us/2006/06/03/rails-app-throwing-nsurlerrordomain-1005-error/#comment-155</link>
		<pubDate>Fri, 20 Oct 2006 03:15:06 +0000</pubDate>
		<guid>http://www.bryanthompson.us/2006/06/03/rails-app-throwing-nsurlerrordomain-1005-error/#comment-155</guid>
					<description>Hi Keegan,

I had written a script that grabs the PID numbers of all of the fcgi processes, then it killed them.  The problem is that Apache probably will need to be bounced as well.  We switched to mongrel and haven't had any problems, so I suggest at least looking at it, unless you have a reason that forces you to stay with fcgi.  With Mongrel you can still use Apache the same way, plus you gain load balancing and some other cool things.</description>
		<content:encoded><![CDATA[<p>Hi Keegan,</p>
<p>I had written a script that grabs the PID numbers of all of the fcgi processes, then it killed them.  The problem is that Apache probably will need to be bounced as well.  We switched to mongrel and haven&#8217;t had any problems, so I suggest at least looking at it, unless you have a reason that forces you to stay with fcgi.  With Mongrel you can still use Apache the same way, plus you gain load balancing and some other cool things.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on rails app throwing (NSURLErrorDomain:-1005) error? by Keegan Meuer</title>
		<link>http://www.bryanthompson.us/2006/06/03/rails-app-throwing-nsurlerrordomain-1005-error/#comment-154</link>
		<pubDate>Fri, 20 Oct 2006 01:42:48 +0000</pubDate>
		<guid>http://www.bryanthompson.us/2006/06/03/rails-app-throwing-nsurlerrordomain-1005-error/#comment-154</guid>
					<description>How do i stop apache, and kill all fcgi's? will this have any effect on my computer? what does apache do? i have a macbook that runs a the new tiger version of mac OSX version 10. 4. 6.</description>
		<content:encoded><![CDATA[<p>How do i stop apache, and kill all fcgi&#8217;s? will this have any effect on my computer? what does apache do? i have a macbook that runs a the new tiger version of mac OSX version 10. 4. 6.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Installing Rails and Apache on OS X (Intel) by Scott Meves</title>
		<link>http://www.bryanthompson.us/2006/05/03/installing-rails-and-apache-on-os-x-intel/#comment-36</link>
		<pubDate>Wed, 30 Aug 2006 03:04:03 +0000</pubDate>
		<guid>http://www.bryanthompson.us/2006/05/03/installing-rails-and-apache-on-os-x-intel/#comment-36</guid>
					<description>Regarding FastCGI: I could not compile fcgi because I continually received an error &quot;-lSystem is not an object file&quot; or &quot;lc is not an object file&quot; from libtool. According to http://crschmidt.net/blog/archives/119/os-x-104-compile-failures-due-to-libtool/ the problem stems from upgrading to Tiger but without upgrading the Developer Tools (Xcode 2). Although this own't help any Intel users (assuming they all have Tiger installed to begin with, and not an upgraded OS), I found myself searching this page for a solution to that problem. Hope this helps!</description>
		<content:encoded><![CDATA[<p>Regarding FastCGI: I could not compile fcgi because I continually received an error &#8220;-lSystem is not an object file&#8221; or &#8220;lc is not an object file&#8221; from libtool. According to <a href='http://crschmidt.net/blog/archives/119/os-x-104-compile-failures-due-to-libtool/' rel='nofollow'>http://crschmidt.net/blog/archives/119/os-x-104-compile-failures-due-to-libtool/</a> the problem stems from upgrading to Tiger but without upgrading the Developer Tools (Xcode 2). Although this own&#8217;t help any Intel users (assuming they all have Tiger installed to begin with, and not an upgraded OS), I found myself searching this page for a solution to that problem. Hope this helps!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Installing Rails and Apache on OS X (PPC) by bryan</title>
		<link>http://www.bryanthompson.us/2006/05/03/installing-rails-and-apache-on-os-x-ppc/#comment-12</link>
		<pubDate>Wed, 07 Jun 2006 14:31:57 +0000</pubDate>
		<guid>http://www.bryanthompson.us/2006/05/03/installing-rails-and-apache-on-os-x-ppc/#comment-12</guid>
					<description>Hi Yves,

It could be that you are using Apache 1.4 insead of 2, but I haven't done any testing with older versions myself.  Is there any reason you haven't upgraded to the new apache?  

It looks like my post got munched a little bit during an edit.  There should be four lines here that need to be added to the httpd.conf:
&amp;#60;IfModule mod_fastcgi.c&amp;#62;
  FastCgiIpcDir /tmp/fcgi_ipc/
  AddHandler fastcgi-script .fcgi
&amp;#60;/IfModule&amp;#62;

if you run apachectl configtest, does it pass okay?</description>
		<content:encoded><![CDATA[<p>Hi Yves,</p>
<p>It could be that you are using Apache 1.4 insead of 2, but I haven&#8217;t done any testing with older versions myself.  Is there any reason you haven&#8217;t upgraded to the new apache?  </p>
<p>It looks like my post got munched a little bit during an edit.  There should be four lines here that need to be added to the httpd.conf:<br />
&lt;IfModule mod_fastcgi.c&gt;<br />
  FastCgiIpcDir /tmp/fcgi_ipc/<br />
  AddHandler fastcgi-script .fcgi<br />
&lt;/IfModule&gt;</p>
<p>if you run apachectl configtest, does it pass okay?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
