I need to build an Apache httpd to use with Passenger. Does anyone have recommended/suggested args to configure? TIA, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
This should all the info you need:http://www.modrails.com/documentation/Users%20guide%20Apache.html Here''s what I''ve running on my local development: LoadModule passenger_module /home/.rvm/gems/ruby-1.8.7-p249/gems/passenger-2.2.15/ext/apache2/mod_passenger.so PassengerRoot /home/.rvm/gems/ruby-1.8.7-p249/gems/passenger-2.2.15 PassengerRuby /home/.rvm/rubies/ruby-1.8.7-p249/bin/ruby <VirtualHost *:80> ServerName 127.0.0.0 DocumentRoot /home/rails/playground/public AllowOverride all Options -MultiViews </Directory> RailsEnv development RailsAllowModRewrite off </VirtualHost> -sunny http://ezror.com -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Oct 15, 2010 at 2:04 AM, Sunny Ezror <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> This should all the info you > need:http://www.modrails.com/documentation/Users%20guide%20Apache.htmlI''ve looked through that document already, and I don''t see anything at all about configuration directives to *build* httpd. But If I''m wrong about that, maybe you have a more specific link? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
In my experience, adding passenger to a working apache is trivial, as in sudo gem install passenger and follow the one screen of instructions that follow the compile step. Installing Apache itself is a fairly well-worn path, and should be as simple as [your package manager here] apache2, apache2 source or dev... Are you looking for a set of recommended install options? Can you tell us a little more about your server? Walter On Oct 15, 2010, at 10:36 AM, Hassan Schroeder wrote:> On Fri, Oct 15, 2010 at 2:04 AM, Sunny Ezror <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: >> This should all the info you >> need:http://www.modrails.com/documentation/Users%20guide >> %20Apache.html > > I''ve looked through that document already, and I don''t see anything at > all about configuration directives to *build* httpd. > > But If I''m wrong about that, maybe you have a more specific link? > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassan > > -- > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails- > talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > . >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Oct 15, 2010 at 7:41 AM, Walter Lee Davis <waltd-HQgmohHLjDZWk0Htik3J/w@public.gmane.org> wrote:> In my experience, adding passenger to a working apache is trivial, as in > sudo gem install passenger and follow the one screen of instructions that > follow the compile step. Installing Apache itself is a fairly well-worn > path, and should be as simple as [your package manager here] apache2, > apache2 source or dev... Are you looking for a set of recommended install > options? Can you tell us a little more about your server?There is no httpd currently; I always build from source specifically for the application in question. Hence I''m looking for suggested optimal configure options to build httpd to run Passenger. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I don''t believe there is any specific recipe that favors passenger. Your Apache 2 should be set to allow dynamic libraries (DSOs) and really that''s the only thing that could possibly flummox this as far as I know. I have installed Passenger on a Ubuntu server and a Mac OS X Server 10.5. In the former, I used a package installer for apache and its source code, and for the latter, I used the stock Apache2 that comes with Leopard Server. Perhaps someone else has a more micro-level tale to tell. Walter On Oct 15, 2010, at 11:08 AM, Hassan Schroeder wrote:> On Fri, Oct 15, 2010 at 7:41 AM, Walter Lee Davis > <waltd-HQgmohHLjDZWk0Htik3J/w@public.gmane.org> wrote: >> In my experience, adding passenger to a working apache is trivial, >> as in >> sudo gem install passenger and follow the one screen of >> instructions that >> follow the compile step. Installing Apache itself is a fairly well- >> worn >> path, and should be as simple as [your package manager here] apache2, >> apache2 source or dev... Are you looking for a set of recommended >> install >> options? Can you tell us a little more about your server? > > There is no httpd currently; I always build from source specifically > for the application in question. > > Hence I''m looking for suggested optimal configure options to build > httpd to run Passenger. > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassan > > -- > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails- > talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > . >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Oct 14, 10:27 am, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Does anyone have recommended/suggested args to configure?I''ve just build passenger from source with any stock Apache, really splitting hairs trying to get more performance at that layer. Apache is really only going to serve static content (images, stylesheets, cached pages), all other work is going to be on passenger/ruby/rails/ DB. For performance you''ll probably be better off spending time in the passenger config (PassengerMaxInstancesPerApp, PassengerPoolIdleTime, etc). Even those disappeared from my config once I had the right stack. I happen to use RewriteEngine alot in passenger configs, maybe set up NameVirtualHost if you have multiple sites. But those should all be DSOs in any vendor supplied Apache -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Oct 15, 2010 at 8:59 AM, chris <cherbst-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> But those should all be DSOs in any vendor supplied ApacheThere is no "vendor supplied" httpd in this case, but thanks anyway. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.