about summary refs log tree commit homepage
path: root/README
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-02-08 12:48:41 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-02-08 12:48:41 +0000
commit98a33bb30438c2bcbb10d48523afd9d491750a1e (patch)
treec9d06e668e43720cab061ce4a45fa302d357efe8 /README
parent788e4f4902992a9de25f995729b7de713003bcc2 (diff)
downloadunicorn-98a33bb30438c2bcbb10d48523afd9d491750a1e.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@21 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 10 insertions, 2 deletions
diff --git a/README b/README
index 050c3cf..be4da9c 100644
--- a/README
+++ b/README
@@ -11,7 +11,7 @@ scream without too many portability issues.
 
 == Status
 
-The 0.2.1 release of Mongrel features an HTTP core server that is the fastest possible
+The 0.2.2 release of Mongrel features an HTTP core server that is the fastest possible
 thing I could get without using something other than Ruby.  It features a few bug fixes,
 but mostly just a change to the Mongrel::HttpResponse class to make it more feature
 complete.  The remaining development will be spent getting Mongrel to work with
@@ -28,6 +28,9 @@ page found at http://rubyforge.org/projects/mongrel/ thanks to Tom Copland.
 I'll be looking to automate management of this, but feel free to use
 rubyforge to post feature requests, bugs, and join the mailing list.
 
+Finally, it now supports all CGI parameters that don't cause a performance hit,
+and it has a Mongrel::DirHandler which can serve files out of a directory and
+do (optional) directory listings.
 
 == Install
 
@@ -40,7 +43,6 @@ who can build it for you.
 
 Finally, the source includes a setup.rb for those who hate RubyGems.
 
-
 == Usage
 
 The examples/simpletest.rb file has the following code as the simplest
@@ -59,6 +61,7 @@ example:
 
  h = Mongrel::HttpServer.new("0.0.0.0", "3000")
  h.register("/test", SimpleHandler.new)
+ h.register("/files", DirHandler.new("."))
  h.run.join
 
 If you run this and access port 3000 with a browser it will say
@@ -66,6 +69,11 @@ If you run this and access port 3000 with a browser it will say
 give a simple 404.  Check out the Mongrel::Error404Handler for a
 basic way to give a more complex 404 message.
 
+This also shows the DirHandler with directory listings.  This is still
+rough but it should work for basic hosting.  *File extension to mime
+type mapping is missing though.*
+
+
 == Speed
 
 The 0.2.1 release probably consists of the most effort I've ever put into