[Mongrel] using mongrel on port 80

paul.vudmaska at gmail.com paul.vudmaska at gmail.com
Tue Jun 27 15:37:21 EDT 2006


Just so you know, I've read the manual :)

http://mongrel.rubyforge.org/docs/choosing_deployment.html

No php or ssl needed - that is me - simple. So I should be good to go
but thought I'd ask. BTW, sorry about the stupid subject. Listening to
BNL, you know ;)


On 6/27/06, mongrel-users-request at rubyforge.org
<mongrel-users-request at rubyforge.org> wrote:
> Send Mongrel-users mailing list submissions to
>         mongrel-users at rubyforge.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://rubyforge.org/mailman/listinfo/mongrel-users
> or, via email, send a message with subject or body 'help' to
>         mongrel-users-request at rubyforge.org
>
> You can reach the person managing the list at
>         mongrel-users-owner at rubyforge.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Mongrel-users digest..."
>
>
> Today's Topics:
>
>    1. Re: mongrel start oddities (Zed Shaw)
>    2. Bare naked server (paul.vudmaska at gmail.com)
>    3. Mongrel, sit!, good god! -- said Rails core. (Luis Lavena)
>    4. Re: Bare naked server (James Moore)
>    5. Re: Mongrel, sit!, good god! -- said Rails core. (Zed Shaw)
>    6. Re: Mongrel, sit!, good god! -- said Rails core. (Metin Amiroff)
>    7. Re: Bare naked server (paul.vudmaska at gmail.com)
>    8. Re: Mongrel, sit!, good god! -- said Rails core. (Berger, Daniel)
>    9. Re: Mongrel, sit!, good god! -- said Rails core. (Marcus Rueckert)
>   10. Re: Mongrel, sit!, good god! -- said Rails core. (Luis Lavena)
>   11. Re: Mongrel, sit!, good god! -- said Rails core. (Luis Lavena)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 26 Jun 2006 19:27:38 -0400
> From: Zed Shaw <zedshaw at zedshaw.com>
> Subject: Re: [Mongrel] mongrel start oddities
> To: doug at dougselph.com, mongrel-users at rubyforge.org
> Message-ID: <1151364458.6118.13.camel at localhost.localdomain>
> Content-Type: text/plain
>
> On Fri, 2006-06-23 at 22:56 +0000, Doug Selph wrote:
> > I am running mongrel-0.3.13.1. Have used lighty and fcgi in the past,
> > and I must say that apache-2.0.x proxying to mongrel is much nicer to
> > deal with! I am having this problem, however.
> >
> <snip>
> > However, if I am in the same location and issue this command (when no
> > mongrel is running, obviously):
> >
> > ---------
> > mongrel_rails start -C /etc/mongrel/mongrel_myapp.conf
> > ---------
>
> Hey Doug, that's something I have to change soon.  For now just specify
> the full path to the log and pid file manually and the problem will go
> away.
>
>
> --
> Zed A. Shaw
> http://www.zedshaw.com/
> http://mongrel.rubyforge.org/
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 27 Jun 2006 10:24:28 -0500
> From: paul.vudmaska at gmail.com
> Subject: [Mongrel] Bare naked server
> To: mongrel-users at rubyforge.org
> Message-ID:
>         <ca7669e70606270824y4eca666bjbd210bcbccc1fd70 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Thanks, Zed, for mongrel :!)
>
> I've been on TextDrive for some time running my sites behind apache
> w/lighttpd. Once it got running it was cool enough. When it ran. And
> there was still the webmin dance and all.
>
> So I decided to set things up on my little dedicated redhat server -
> since I'd had so much success locally w/mongrel. Fast. Simple. It has
> been great and I managed to move all my sites into it and off TD.
> Smooth as glass thus far.  So, I decided I did not need no stinking
> apache ;-)
>
> Zed said :
> >Mongrel was
> >specifically designed to be run as a non-privileged user on a higher
> >port in order to avoid these kinds of things.  In reality if you're
> >running Mongrel you should put it behind another web server and let that
> >web server defend port 80 for you.
>
> Doh. My understanding was that running a server in front of apache was
> primarily because apache(other) was good/better at serving static
> files. But since my performance thus far has been good(much faster now
> than apache/mod_ruby) I've not sweat it.(thinking in the future I'd
> serve images from another server if nec.)
>
> Are there other reasons, besides load, that I might be stupid for
> leaving mongrel running bare on port 80? Are the mongrel police going
> to come get me?
>
> I did have one interesting error that was being thrown because I was
> unable to grab the host name for a request. For some reason
> http:///w00tw00t.at.ISC.SANS.DFind: was landing on my port. I'm
> sending :status => 404 now(rather than dieing, which is caught by
> exception notifier) Are these the type of things I should be worried
> about?
>
> http://www.atlink.it/~conti/2006/03/04/w00tw00tatiscsansdfind-update/
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 27 Jun 2006 14:02:03 -0300
> From: "Luis Lavena" <luislavena at gmail.com>
> Subject: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
> To: mongrel-users at rubyforge.org
> Message-ID:
>         <71166b3b0606271002p622cbc2bkb45e22b2644f5acd at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Oh well, needed a good subject, sounds funny enough?
>
> http://dev.rubyonrails.org/ticket/5475
>
> Add "automatic" mongrel support to script/server
>
> Status: closed, commited in rev #4486.
>
> That is good news, right?
>
> Ok, back to work, enoguh relax for me ;-)
>
> --
> Luis Lavena
> Multimedia systems
> -
> Leaders are made, they are not born. They are made by hard effort,
> which is the price which all of us must pay to achieve any goal that
> is worthwhile.
> Vince Lombardi
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 27 Jun 2006 11:02:21 -0700
> From: "James Moore" <banshee at banshee.com>
> Subject: Re: [Mongrel] Bare naked server
> To: <paul at vudmaska.com>, <mongrel-users at rubyforge.org>
> Message-ID: <01e501c69a13$d639b4c0$6401a8c0 at BansheeSoftware.local>
> Content-Type: text/plain;       charset="us-ascii"
>
> Multiple incoming requests?  Mongrel (or, more specifically, Rails itself)
> can only handle a single request at a time, right?
>
>  - James Moore
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 27 Jun 2006 14:08:37 -0400
> From: Zed Shaw <zedshaw at zedshaw.com>
> Subject: Re: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
> To: mongrel-users at rubyforge.org
> Message-ID: <1151431717.7791.37.camel at localhost.localdomain>
> Content-Type: text/plain
>
> On Tue, 2006-06-27 at 14:02 -0300, Luis Lavena wrote:
> > Oh well, needed a good subject, sounds funny enough?
> >
> > http://dev.rubyonrails.org/ticket/5475
> >
> > Add "automatic" mongrel support to script/server
> >
> > Status: closed, commited in rev #4486.
> >
> > That is good news, right?
> >
> > Ok, back to work, enoguh relax for me ;-)
> >
>
> Yeah man, it's very cool.  If people have mongrel installed then they
> can do script/server mongrel and it'll start right up.  Should make lots
> of folks happy.
>
>
> --
> Zed A. Shaw
> http://www.zedshaw.com/
> http://mongrel.rubyforge.org/
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 27 Jun 2006 21:14:29 +0300
> From: "Metin Amiroff" <amiroff at gmail.com>
> Subject: Re: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
> To: mongrel-users at rubyforge.org
> Message-ID:
>         <9328906b0606271114l7d053007vc3f792053dec5b43 at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Is there any reason for not including Mongrel as a default RoR application
> server besides that "Made with %100 Ruby" argument?
>
> Now, _that_ would make even more folks happy...
>
> On 6/27/06, Zed Shaw <zedshaw at zedshaw.com> wrote:
> >
> > On Tue, 2006-06-27 at 14:02 -0300, Luis Lavena wrote:
> > > Oh well, needed a good subject, sounds funny enough?
> > >
> > > http://dev.rubyonrails.org/ticket/5475
> > >
> > > Add "automatic" mongrel support to script/server
> > >
> > > Status: closed, commited in rev #4486.
> > >
> > > That is good news, right?
> > >
> > > Ok, back to work, enoguh relax for me ;-)
> > >
> >
> > Yeah man, it's very cool.  If people have mongrel installed then they
> > can do script/server mongrel and it'll start right up.  Should make lots
> > of folks happy.
> >
> >
> > --
> > Zed A. Shaw
> > http://www.zedshaw.com/
> > http://mongrel.rubyforge.org/
> >
> >
> > _______________________________________________
> > Mongrel-users mailing list
> > Mongrel-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/mongrel-users
> >
>
>
>
> --
> Pace Peace Paix Paz Frieden Pax Pok?j Fri?ur Fred B?ke
> Hasiti Lap? Hetep Malu M?? Wolakota Santiphap Irini Peoch
> Shanti Vrede Bar?? R?j M?r Taika Rongo S?lh Py'guapy
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060627/95100586/attachment-0001.html
>
> ------------------------------
>
> Message: 7
> Date: Tue, 27 Jun 2006 13:36:45 -0500
> From: paul.vudmaska at gmail.com
> Subject: Re: [Mongrel] Bare naked server
> To: "James Moore" <banshee at banshee.com>, mongrel-users at rubyforge.org
> Message-ID:
>         <ca7669e70606271136l59f7f80ue16c083abc159599 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hmm, I did not know - that would be a good reason :) So, apache,
> lighty and all divvy up the requests so mongrel does not have to?
>
> On TD, I figured we were using apache/lighty so multiple ports could
> be used - and therefor use  a shared ip, with a lot of instances of
> lighty(which I was thinking played a role in the server dying so
> much). I thought that was the main reason.
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 27 Jun 2006 14:04:53 -0500
> From: "Berger, Daniel" <Daniel.Berger at qwest.com>
> Subject: Re: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
> To: <mongrel-users at rubyforge.org>
> Message-ID:
>         <39AA6550E5AA554AB1456707D6E5563D0259E6E9 at QTOMAE2K3M01.AD.QINTRA.COM>
> Content-Type: text/plain;       charset="us-ascii"
>
> >-----Original Message-----
> >From: mongrel-users-bounces at rubyforge.org
> [mailto:mongrel-users-bounces at rubyforge.org] On Behalf Of Metin Amiroff
> >Sent: Tuesday, June 27, 2006 12:14 PM
> >To: mongrel-users at rubyforge.org
> >Subject: Re: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
>
> >Is there any reason for not including Mongrel as a default RoR
> application server besides that "Made with %100 Ruby" argument?
>
> That would require making Mongrel a required dependency for RoR.  I
> dunno that they want to do that.
>
> Regards,
>
> Dan
>
>
> This communication is the property of Qwest and may contain confidential or
> privileged information. Unauthorized use of this communication is strictly
> prohibited and may be unlawful.  If you have received this communication
> in error, please immediately notify the sender by reply e-mail and destroy
> all copies of the communication and any attachments.
>
>
> ------------------------------
>
> Message: 9
> Date: Tue, 27 Jun 2006 21:09:21 +0200
> From: Marcus Rueckert <mrueckert at suse.de>
> Subject: Re: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
> To: mongrel-users at rubyforge.org
> Message-ID: <20060627190921.GH5504 at suse.de>
> Content-Type: text/plain; charset=us-ascii
>
> On 2006-06-27 14:04:53 -0500, Berger, Daniel wrote:
> > >-----Original Message-----
> > >From: mongrel-users-bounces at rubyforge.org
> > [mailto:mongrel-users-bounces at rubyforge.org] On Behalf Of Metin Amiroff
> > >Sent: Tuesday, June 27, 2006 12:14 PM
> > >To: mongrel-users at rubyforge.org
> > >Subject: Re: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
> >
> > >Is there any reason for not including Mongrel as a default RoR
> > application server besides that "Made with %100 Ruby" argument?
> >
> > That would require making Mongrel a required dependency for RoR.  I
> > dunno that they want to do that.
>
> why?
> lighttpd isnt an hard requirement and preferred if found aswell.
> so you could do the same with mongrel.
>
> a simple:
>
> begin
>     require "mongrel"
> rescue
>
> should do it no?:)
>
> darix
>
> --
>           openSUSE - SUSE Linux is my linux
>               openSUSE is good for you
>                   www.opensuse.org
>
>
> ------------------------------
>
> Message: 10
> Date: Tue, 27 Jun 2006 16:13:42 -0300
> From: "Luis Lavena" <luislavena at gmail.com>
> Subject: Re: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
> To: mongrel-users at rubyforge.org
> Message-ID:
>         <71166b3b0606271213u7fc7e483y337433ecb3410280 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 6/27/06, Berger, Daniel <Daniel.Berger at qwest.com> wrote:
> > >-----Original Message-----
> > >From: mongrel-users-bounces at rubyforge.org
> > [mailto:mongrel-users-bounces at rubyforge.org] On Behalf Of Metin Amiroff
> > >Sent: Tuesday, June 27, 2006 12:14 PM
> > >To: mongrel-users at rubyforge.org
> > >Subject: Re: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
> >
> > >Is there any reason for not including Mongrel as a default RoR
> > application server besides that "Made with %100 Ruby" argument?
> >
> > That would require making Mongrel a required dependency for RoR.  I
> > dunno that they want to do that.
> >
>
> Actually if mongrel is installed, will run with it, if not, will
> default to webrick (like was doing with lighty, now plus mongrel). Is
> up to the developer to install mongrel or not, anyway your rails
> applications will work.
>
> http://dev.rubyonrails.org/changeset/4486
>
>
> --
> Luis Lavena
> Multimedia systems
> -
> Leaders are made, they are not born. They are made by hard effort,
> which is the price which all of us must pay to achieve any goal that
> is worthwhile.
> Vince Lombardi
>
>
> ------------------------------
>
> Message: 11
> Date: Tue, 27 Jun 2006 16:15:11 -0300
> From: "Luis Lavena" <luislavena at gmail.com>
> Subject: Re: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
> To: mongrel-users at rubyforge.org
> Message-ID:
>         <71166b3b0606271215r671e4195o650364db8510ed58 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 6/27/06, Marcus Rueckert <mrueckert at suse.de> wrote:
> > On 2006-06-27 14:04:53 -0500, Berger, Daniel wrote:
> > > >-----Original Message-----
> > > >From: mongrel-users-bounces at rubyforge.org
> > > [mailto:mongrel-users-bounces at rubyforge.org] On Behalf Of Metin Amiroff
> > > >Sent: Tuesday, June 27, 2006 12:14 PM
> > > >To: mongrel-users at rubyforge.org
> > > >Subject: Re: [Mongrel] Mongrel, sit!, good god! -- said Rails core.
> > >
> > > >Is there any reason for not including Mongrel as a default RoR
> > > application server besides that "Made with %100 Ruby" argument?
> > >
> > > That would require making Mongrel a required dependency for RoR.  I
> > > dunno that they want to do that.
> >
> > why?
> > lighttpd isnt an hard requirement and preferred if found aswell.
> > so you could do the same with mongrel.
> >
> > a simple:
> >
> > begin
> >     require "mongrel"
> > rescue
> >
> > should do it no?:)
> >
>
> yeah, it does:
>
> http://rails.techno-weenie.net/question/2006/6/23/starting-mongrel-with-script-server
>
> I replaced my script/server with the one I proposed on that page, long time ago.
>
> --
> Luis Lavena
> Multimedia systems
> -
> Leaders are made, they are not born. They are made by hard effort,
> which is the price which all of us must pay to achieve any goal that
> is worthwhile.
> Vince Lombardi
>
>
> ------------------------------
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
> End of Mongrel-users Digest, Vol 5, Issue 17
> ********************************************
>


More information about the Mongrel-users mailing list