Displaying 20 results from an estimated 10000 matches similar to: "Mongrel HTTP Library 0.2.2 (Serving Directories)"
2006 Feb 10
22
Mongrel 0.3 -- Runs Ruby On Rails
Hello Folks,
This is the long awaited release of the Mongrel HTTP library that
supports *Ruby On Rails*. I know tons of people have been waiting
for it, so I''ve got a few things to lay down first before you get all
excited:
1) It''s very very ALPHA support for Rails. It will run a Rails app,
and runs my simple apps, but it''s not fast or correct as it needs to
2006 Feb 14
6
Mongrel 0.3.3 -- Bug Fix
Hey Folks,
This is a quick release that fixes a major bug. I forgot to require the
timeout library properly in mongrel.rb so people using Mongrel outside of
Rails would see pauses. 0.3.3 fixes this all up.
The 0.3.3 release also has a small change to the examples/simpletest.rb file
with some gzip response using Ruby''s zlib support. Curious what people
think about this and whether it
2006 Jun 20
1
Performance tweak when local files are not served by mongrel
Hello Zed !
I''ve experimented a simple but limited performance tweak in the mongrel
rails loader.
With the following apache 2.2 mod proxy loadbalancer setup :
# Redirect all non-static requests to cluster
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L]
We can assume that mongrel is called only when the
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring..
uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2006 Apr 08
1
Mongrel 0.3.12.4 Pre-Release -- Please Test (Not Win32)
Morning Folks,
I have a pre-release of Mongrel 0.3.12.4 up on the releases site that I''d
appreciate everyone testing out. This release fixes the following:
* Corrects the date format returned so that months are three chars only.
* Fixes a problem where DirHandler wasn''t returning Last-Modified and Etag
headers for unknown MIME types.
* Implements a default mime type for
2006 May 20
9
Mongrel 0.3.13 Update -- Code Review, Code Coverage
Hey Folks,
I''ve been holding off the official 0.3.13 release so that Luis can get
the win32 side very nice and clean. We fixed a major problem last night
so it''s only a short time before we get it out. Luis is working really
hard on it, so just be patient.
In the meantime, I''ve been doing a code audit of the Mongrel code as it
is now and fixing any little things I
2006 Aug 07
1
DirHandler in surplus slashing / unrequited unescaping
im using Mongrels to serve up /usr/portage/packages for other gentoo boxen. since i guess im the guinea pig with the DirHandler, ran into a couple issues:
first, the client showed no files in the remote binhost, turns out the DirHandler was adding a trailing "/" to every filename, presumably making the client think they were directories, not files. attached is a patch which fixes this
2006 Apr 10
1
Mongrel Web Server 0.3.12.4 -- Relaxed Parser, Date Fix
Hello Everyone,
Just a small announcement for Mongrel 0.3.12.4 which fixes the following
things:
* Corrects the date format returned so that months are three chars only.
* Fixes a problem where DirHandler wasn''t returning Last-Modified and Etag
headers for unknown MIME types.
* Implements a default mime type for anything it doesn''t know about, and
lets you set it via an
2006 Oct 31
12
Moving page_cache_directory
Howdy. I''m working on a RoR CMS and need cached pages to all be in
public/cache rather than public [in order to set svn:ignore on all the files
properly]. I can get page_cache_directory set correctly and the pages are
cached in the right place but Mongrel isn''t serving them because it''s only
looking for them in public. During development I know I can set -r
public/cache
2006 Dec 27
3
Multiple DocRoots
I''m wondering if it''s possible to setup mongrel to have multiple document
roots? The use case I''m trying to solve is one where I have a library of
shared CSS/JS/Images and would like multiple rails application to use them.
I have written a proxy controller and added some routes to serve the static
files and it works reasonably well, but is extremely slow, because
2006 Jul 10
4
Test Mongrel 0.3.13.4 Please
Hey Folks,
There''s a nasty little bug in 0.3.13.3 when running in development mode
which could cause all sorts of problems.
Please grab the pre-release of 0.3.13.4 and tell me if it works for you:
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
Thanks!
--
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.railsmachine.com/ -- Need
2006 Feb 14
2
Mongrel 0.3.2 -- The Right Site/All Requests Answered
"Another Mongrel release?! Is he insane?" Yeah, basically.
This is yet another release of Mongrel that adds a bunch of little features
people requested and I found were needed. This release is almost entirely
targeted at Ruby on Rails folks as the majority of the changes went into the
mongrel_rails runner.
Get this release from the (correctly linked) site:
*
2007 Dec 10
4
Mongrel and http 1.1 OPTIONS keyword
Hello.
I just seen some errors in my mongrel application log:
It seems related to the httpd OPTIONS keyword
Example:
Processing LoginController#login (for .30.5.208 at 2007-12-10 09:00:23)
[OPTIONS]
and our ruby application does not know what to do with it. and finally
send an error
Does mongrel (which is the http server) is supposed to deal with these
kind of request ?
I think these
2006 Feb 16
9
Mongrel 0.3.4 -- Win32 Gems/Better CGIWrapper
Hello Everyone,
Today''s Mongrel is the first release to sport spiffy pre-built win32 gems.
This comes thanks to Wilson Bilkovich donating some Rakefile magic that does
the stuff for me. Everyone who uses win32 should send Wilson a thank-you
since without him you''d be a victim of my laziness for at least a few more
weeks.
People who are testing and trying Mongrel out should
2006 Jun 30
12
Mongrel 0.3.13.3 -- Ruby Licensed Release
Hello Everyone,
This is the official 0.3.13.3 release of Mongrel.
Mongrel is now released under the *Ruby license* instead of the LGPL.
I''m hoping this increases the adoption of Mongrel even further and
hopefully I can start pushing to get Mongrel included in Ruby directly.
INSTALL
As usual, you install it with your friendly gem install method of
choice:
gem install mongrel
Or
2007 Mar 13
18
Daemonizing a camping server
I''m having no luck trying to daemonize mongrel running a camping server.
When mongrel daemonizes, I get:
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:723:in
`accept'': closed stream (IOError)
from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:293:in
`join''
...
(This was after I disabled the unhandled exception catchall in the
2006 Mar 27
24
Mongrel Web Server 0.3.12 -- Pre-Release
Hello Everyone,
Mongrel is due for a 0.3.12 release which will feature some pretty insane
goodies for everyone. There''s talk of IOWA support, lots of speed
improvements (including sendfile support), a great Configurator which makes
configuring Mongrel a snap (especially for framework implementers), and a
ton of debugging stuff.
WARNING
This is a pre-release announcement for the
2006 May 26
2
Plugin Question
I got some advice from Rick last night and started coding this handler
to allow for time-based secure downloading similar to mod_secdownload
that lighttpd offers. I got most of the code in the handler worked out
and packaged into a gem but am still having the following problems:
1) I have a configuration script as follows
require ''mongrel''
config = Mongrel::Configurator.new
2006 Feb 20
8
Graceful stop in, timeouts out (for now)
Hey Luis,
Just implemented the first cut at a graceful stop setup. It seems to mostly
work except for a few hicups here and there which I''ll test out. I''ve
tested this under OSX and will test on the other platforms soon.
To use it take a look at the examples/simpletest.rb and see how I setup an
"INT" handler to call HttpServer.stop.
Hopefully this will help with
2006 Oct 25
33
[ADV] "Mongrel: Serving, Deploying, and Extending Your Ruby Applications" BOOK
Time for some all time pimpage folks.
Me and Matt Pelletier wrote a small PDF book on Mongrel entitled: "Mongrel: Serving, Deploying, and Extending Your Ruby Applications" since we really wanted you to know what it was about. It''s published by Addison Wesley Professional, has just over 100 pages of goodness, and is available for $14.99 at:
http://safari.oreilly.com/0321483502