Permalink
Browse files

Move into top level.

  • Loading branch information...
1 parent 559edfb commit 2e98865959e5500f2070d5078e9c7dff657a6665 Evan Weaver committed Nov 22, 2008
Showing with 207 additions and 23,365 deletions.
  1. +41 −16 CHANGELOG
  2. +0 −17 CONTRIBUTORS
  3. +20 −55 COPYING
  4. +19 −69 Manifest
  5. +11 −74 README
  6. +116 −178 Rakefile
  7. 0 {projects/mongrel_service → }/TODO
  8. +0 −284 bin/mongrel_rails
  9. +0 −29 examples/builder.rb
  10. +0 −3 examples/camping/README
  11. +0 −294 examples/camping/blog.rb
  12. +0 −149 examples/camping/tepee.rb
  13. +0 −474 examples/httpd.conf
  14. +0 −3 examples/mime.yaml
  15. +0 −9 examples/mongrel.conf
  16. +0 −92 examples/mongrel_simple_ctrl.rb
  17. +0 −116 examples/mongrel_simple_service.rb
  18. +0 −57 examples/monitrc
  19. +0 −19 examples/random_thrash.rb
  20. +0 −52 examples/simpletest.rb
  21. +0 −20 examples/webrick_compare.rb
  22. +0 −15 ext/http11/ext_help.h
  23. +0 −6 ext/http11/extconf.rb
  24. +0 −527 ext/http11/http11.c
  25. +0 −1,220 ext/http11/http11_parser.c
  26. +0 −49 ext/http11/http11_parser.h
  27. +0 −171 ext/http11/http11_parser.java.rl
  28. +0 −153 ext/http11/http11_parser.rl
  29. +0 −55 ext/http11/http11_parser_common.rl
  30. +0 −13 ext/http11_java/Http11Service.java
  31. +0 −266 ext/http11_java/org/jruby/mongrel/Http11.java
  32. +0 −474 ext/http11_java/org/jruby/mongrel/Http11Parser.java
  33. 0 {projects/mongrel_service → }/lib/ServiceFB/ServiceFB.bas
  34. 0 {projects/mongrel_service → }/lib/ServiceFB/ServiceFB.bi
  35. 0 {projects/mongrel_service → }/lib/ServiceFB/ServiceFB_Utils.bas
  36. 0 {projects/mongrel_service → }/lib/ServiceFB/ServiceFB_Utils.bi
  37. 0 {projects/mongrel_service → }/lib/ServiceFB/_internals.bi
  38. 0 {projects/mongrel_service → }/lib/ServiceFB/_utils_internals.bi
  39. +0 −364 lib/mongrel.rb
  40. +0 −107 lib/mongrel/camping.rb
  41. +0 −181 lib/mongrel/cgi.rb
  42. +0 −222 lib/mongrel/command.rb
  43. +0 −388 lib/mongrel/configurator.rb
  44. +0 −110 lib/mongrel/const.rb
  45. +0 −203 lib/mongrel/debug.rb
  46. +0 −22 lib/mongrel/gems.rb
  47. +0 −468 lib/mongrel/handlers.rb
  48. +0 −28 lib/mongrel/header_out.rb
  49. +0 −155 lib/mongrel/http_request.rb
  50. +0 −166 lib/mongrel/http_response.rb
  51. +0 −10 lib/mongrel/init.rb
  52. +0 −616 lib/mongrel/mime_types.yml
  53. +0 −185 lib/mongrel/rails.rb
  54. +0 −89 lib/mongrel/stats.rb
  55. +0 −18 lib/mongrel/tcphack.rb
  56. +0 −76 lib/mongrel/uri_classifier.rb
  57. 0 {projects/mongrel_service → }/lib/mongrel_service/init.rb
  58. +0 −20 mongrel-public_cert.pem
  59. 0 {projects/mongrel_service → }/native/_debug.bi
  60. 0 {projects/mongrel_service → }/native/boolean.bi
  61. 0 {projects/mongrel_service → }/native/console_process.bas
  62. 0 {projects/mongrel_service → }/native/console_process.bi
  63. 0 {projects/mongrel_service → }/native/mongrel_service.bas
  64. 0 {projects/mongrel_service → }/native/mongrel_service.bi
  65. +0 −14 projects/cgi_multipart_eof_fix/CHANGELOG
  66. +0 −55 projects/cgi_multipart_eof_fix/LICENSE
  67. +0 −6 projects/cgi_multipart_eof_fix/Manifest
  68. +0 −40 projects/cgi_multipart_eof_fix/README
  69. +0 −18 projects/cgi_multipart_eof_fix/Rakefile
  70. +0 −127 projects/cgi_multipart_eof_fix/lib/cgi_multipart_eof_fix.rb
  71. +0 −59 projects/cgi_multipart_eof_fix/test/test_cgi_multipart_eof_fix.rb
  72. +0 −7 projects/fastthread/CHANGELOG
  73. +0 −9 projects/fastthread/Manifest
  74. +0 −28 projects/fastthread/Rakefile
  75. +0 −2 projects/fastthread/ext/fastthread/.gitignore
  76. +0 −28 projects/fastthread/ext/fastthread/extconf.rb
  77. +0 −1,201 projects/fastthread/ext/fastthread/fastthread.c
  78. +0 −1,585 projects/fastthread/setup.rb
  79. +0 −6 projects/fastthread/test/test_all.rb
  80. +0 −34 projects/fastthread/test/test_condvar.rb
  81. +0 −74 projects/fastthread/test/test_mutex.rb
  82. +0 −79 projects/fastthread/test/test_queue.rb
  83. +0 −4 projects/gem_plugin/CHANGELOG
  84. +0 −504 projects/gem_plugin/COPYING
  85. +0 −55 projects/gem_plugin/LICENSE
  86. +0 −15 projects/gem_plugin/Manifest
  87. +0 −115 projects/gem_plugin/README
  88. +0 −28 projects/gem_plugin/Rakefile
  89. +0 −60 projects/gem_plugin/bin/gpgen
  90. +0 −297 projects/gem_plugin/lib/gem_plugin.rb
  91. +0 −1 projects/gem_plugin/resources/COPYING
  92. +0 −1 projects/gem_plugin/resources/LICENSE
  93. +0 −5 projects/gem_plugin/resources/README
  94. +0 −61 projects/gem_plugin/resources/Rakefile
  95. +0 −6 projects/gem_plugin/resources/lib/project/init.rb
  96. +0 −2 projects/gem_plugin/resources/resources/defaults.yaml
  97. +0 −1,360 projects/gem_plugin/setup.rb
  98. +0 −72 projects/gem_plugin/test/test_plugins.rb
  99. +0 −6 projects/mongrel_cluster/CHANGELOG
  100. +0 −506 projects/mongrel_cluster/COPYING
  101. +0 −55 projects/mongrel_cluster/LICENSE
  102. +0 −12 projects/mongrel_cluster/Manifest
  103. +0 −56 projects/mongrel_cluster/README
  104. +0 −29 projects/mongrel_cluster/Rakefile
  105. +0 −70 projects/mongrel_cluster/bin/mongrel_cluster_ctl
  106. +0 −362 projects/mongrel_cluster/lib/mongrel_cluster/init.rb
  107. +0 −6 projects/mongrel_cluster/lib/mongrel_cluster/recipes.rb
  108. +0 −104 projects/mongrel_cluster/lib/mongrel_cluster/recipes_1.rb
  109. +0 −118 projects/mongrel_cluster/lib/mongrel_cluster/recipes_2.rb
  110. +0 −2 projects/mongrel_cluster/resources/defaults.yaml
  111. +0 −51 projects/mongrel_cluster/resources/mongrel_cluster
  112. +0 −2 projects/mongrel_config/CHANGELOG
  113. +0 −504 projects/mongrel_config/COPYING
  114. +0 −55 projects/mongrel_config/LICENSE
  115. +0 −21 projects/mongrel_config/Manifest
  116. +0 −7 projects/mongrel_config/README
  117. +0 −16 projects/mongrel_config/Rakefile
  118. +0 −158 projects/mongrel_config/lib/mongrel_config/app.rb
  119. +0 −75 projects/mongrel_config/lib/mongrel_config/init.rb
  120. +0 −85 projects/mongrel_config/lib/mongrel_config/win32.rb
  121. +0 −251 projects/mongrel_config/lib/mongrel_config/win32_app.rb
  122. +0 −2 projects/mongrel_config/resources/defaults.yaml
  123. BIN projects/mongrel_config/resources/images/0170_bubble.png
  124. BIN projects/mongrel_config/resources/images/0171_new_page.png
  125. BIN projects/mongrel_config/resources/images/bottom.gif
  126. BIN projects/mongrel_config/resources/images/bottom_orig.gif
  127. BIN projects/mongrel_config/resources/images/middle.jpg
  128. BIN projects/mongrel_config/resources/images/top.jpg
  129. BIN projects/mongrel_config/resources/images/topbar.jpg
  130. +0 −71 projects/mongrel_config/resources/index.html
  131. +0 −68 projects/mongrel_config/resources/index_win32.html
  132. +0 −170 projects/mongrel_config/resources/style.css
  133. +0 −53 projects/mongrel_config/test/test_config.rb
  134. +0 −2 projects/mongrel_console/CHANGELOG
  135. +0 −1 projects/mongrel_console/COPYING
  136. +0 −55 projects/mongrel_console/LICENSE
  137. +0 −8 projects/mongrel_console/Manifest
  138. +0 −5 projects/mongrel_console/README
  139. +0 −15 projects/mongrel_console/Rakefile
  140. +0 −83 projects/mongrel_console/lib/mongrel_console/console.rb
  141. +0 −27 projects/mongrel_console/lib/mongrel_console/init.rb
  142. +0 −2 projects/mongrel_console/resources/defaults.yaml
  143. +0 −2 projects/mongrel_experimental/CHANGELOG
  144. +0 −504 projects/mongrel_experimental/COPYING
  145. +0 −55 projects/mongrel_experimental/LICENSE
  146. +0 −17 projects/mongrel_experimental/Manifest
  147. +0 −3 projects/mongrel_experimental/README
  148. +0 −15 projects/mongrel_experimental/Rakefile
  149. +0 −14 projects/mongrel_experimental/ext/uri_classifier/ext_help.h
  150. +0 −5 projects/mongrel_experimental/ext/uri_classifier/extconf.rb
  151. +0 −40 projects/mongrel_experimental/ext/uri_classifier/tst.h
  152. +0 −23 projects/mongrel_experimental/ext/uri_classifier/tst_cleanup.c
  153. +0 −146 projects/mongrel_experimental/ext/uri_classifier/tst_delete.c
  154. +0 −38 projects/mongrel_experimental/ext/uri_classifier/tst_grow_node_free_list.c
  155. +0 −41 projects/mongrel_experimental/ext/uri_classifier/tst_init.c
  156. +0 −218 projects/mongrel_experimental/ext/uri_classifier/tst_insert.c
  157. +0 −73 projects/mongrel_experimental/ext/uri_classifier/tst_search.c
  158. +0 −216 projects/mongrel_experimental/ext/uri_classifier/uri_classifier.c
  159. +0 −3 projects/mongrel_experimental/lib/mongrel_experimental.rb
  160. +0 −262 projects/mongrel_experimental/test/test_uriclassifier.rb
  161. +0 −41 projects/mongrel_service/CHANGELOG
  162. +0 −20 projects/mongrel_service/COPYING
  163. +0 −55 projects/mongrel_service/LICENSE
  164. +0 −21 projects/mongrel_service/Manifest
  165. +0 −11 projects/mongrel_service/README
  166. +0 −138 projects/mongrel_service/Rakefile
  167. +0 −2 projects/mongrel_status/CHANGELOG
  168. +0 −504 projects/mongrel_status/COPYING
  169. +0 −55 projects/mongrel_status/LICENSE
  170. +0 −6 projects/mongrel_status/Manifest
  171. +0 −6 projects/mongrel_status/README
  172. +0 −16 projects/mongrel_status/Rakefile
  173. +0 −32 projects/mongrel_status/lib/mongrel_status/init.rb
  174. +0 −2 projects/mongrel_upload_progress/CHANGELOG
  175. +0 −1 projects/mongrel_upload_progress/COPYING
  176. +0 −55 projects/mongrel_upload_progress/LICENSE
  177. +0 −7 projects/mongrel_upload_progress/Manifest
  178. +0 −5 projects/mongrel_upload_progress/README
  179. +0 −15 projects/mongrel_upload_progress/Rakefile
  180. +0 −90 projects/mongrel_upload_progress/lib/mongrel_upload_progress/init.rb
  181. +0 −3 projects/mongrel_upload_progress/resources/defaults.yaml
  182. 0 {projects/mongrel_service → }/resources/defaults.yaml
  183. +0 −1,585 setup.rb
  184. +0 −11 test/benchmark/previous.rb
  185. +0 −11 test/benchmark/simple.rb
  186. +0 −82 test/benchmark/utils.rb
  187. +0 −3 test/mime.yaml
  188. +0 −1 test/mongrel.conf
  189. +0 −79 test/test_helper.rb
  190. +0 −45 test/tools/trickletest.rb
  191. +0 −26 test/unit/test_cgi_wrapper.rb
  192. +0 −86 test/unit/test_command.rb
  193. +0 −107 test/unit/test_conditional.rb
  194. +0 −88 test/unit/test_configurator.rb
  195. +0 −25 test/unit/test_debug.rb
  196. +0 −136 test/unit/test_handlers.rb
  197. +0 −178 test/unit/test_http_parser.rb
  198. +0 −45 test/unit/test_redirect_handler.rb
  199. +0 −100 test/unit/test_request_progress.rb
  200. +0 −127 test/unit/test_response.rb
  201. +0 −35 test/unit/test_stats.rb
  202. +0 −261 test/unit/test_uriclassifier.rb
  203. +0 −116 test/unit/test_ws.rb
  204. 0 {projects/mongrel_service → }/tests/all_tests.bas
  205. 0 {projects/mongrel_service → }/tests/fixtures/mock_process.bas
  206. 0 {projects/mongrel_service → }/tests/test_console_process.bas
  207. 0 {projects/mongrel_service → }/tests/test_helpers.bas
  208. 0 {projects/mongrel_service → }/tests/test_helpers.bi
  209. 0 {projects/mongrel_service → }/tools/freebasic.rb
View
@@ -1,16 +1,41 @@
-
-v1.1.4. Fix camping handler. Correct treatment of @throttle parameter.
-
-v1.1.3. Fix security flaw of DirHandler; reported on mailing list.
-
-v1.1.2. Fix worker termination bug; fix JRuby 1.0.3 load order issue; fix require issue on systems without Rubygems.
-
-v1.1.1. Fix mongrel_rails restart bug; fix bug with Rack status codes.
-
-v1.1. Pure Ruby URIClassifier. More modular architecture. JRuby support. Move C URIClassifier into mongrel_experimental project.
-
-v1.0.4. Backport fixes for versioning inconsistency, mongrel_rails bug, and DirHandler bug.
-
-v1.0.3. Fix user-switching bug; make people upgrade to the latest from the RC.
-
-v1.0.2. Signed gem; many minor bugfixes and patches.
+* 0.3.5 *
+
+ * Wait longer for child process terminate properly (max 20 seconds). Imported
+ tests from RubyServices project. (Closes #18).
+ * Updated ServiceFB to work with FB > 0.18.
+
+* 0.3.4 *
+
+ * Strict Gem dependencies for mongrel_service. This version is compatible
+ only with mongrel 1.0.x, 1.1.x and with win32-service 0.5.x.
+
+ * Fixed issues realted to Win32::Service and gem_plugin being registered with
+ different names due win32-service changes.
+
+* 0.3.3 *
+
+ * Properly display package/gem version for mongrel_service. Closes #13823.
+
+ * Updated ServiceFB to r80 to solve issue when compiling with FB > 0.17.
+
+* 0.3.2 *
+
+ * Solved detection of parent process at ServiceFB level
+ (solves the x64 Windows issues).
+
+ * Upgraded to ServiceFB 'trunk' (but pistoned it, just in case).
+
+ * Fixed problems with ruby installations outside PATH or inside folders with spaces.
+
+ * Activate FB pedantic warnings by default (is really useful).
+
+* 0.3.1 *
+
+ * Single Service (SingleMongrel) object type implemented.
+
+ * Updated Rakefile to reflect the new building steps.
+
+ * Removed SendSignal, too hackish for my taste, replaced with complete FB solution.
+
+ * Added basic Process monitoring and re-spawning.
+
View
@@ -1,17 +0,0 @@
-
-Zed A. Shaw
-Luis Lavena
-Wilson Bilkovich
-Why the Lucky Stiff
-Dan Kubb
-MenTaLguY
-Filipe Lautert
-Rick Olson
-Wayne E. Seguin
-Kirk Haines
-Bradley Taylor
-Matt Pelletier
-Ry Dahl
-Nick Sieger
-Evan Weaver
-Marc-André Cournoyer
View
75 COPYING
@@ -1,55 +1,20 @@
-Mongrel Web Server (Mongrel) is copyrighted free software by Zed A. Shaw
-<zedshaw at zedshaw dot com> You can redistribute it and/or modify it under
-either the terms of the GPL or the conditions below:
-
-1. You may make and give away verbatim copies of the source form of the
- software without restriction, provided that you duplicate all of the
- original copyright notices and associated disclaimers.
-
-2. You may modify your copy of the software in any way, provided that
- you do at least ONE of the following:
-
- a) place your modifications in the Public Domain or otherwise make them
- Freely Available, such as by posting said modifications to Usenet or an
- equivalent medium, or by allowing the author to include your
- modifications in the software.
-
- b) use the modified software only within your corporation or
- organization.
-
- c) rename any non-standard executables so the names do not conflict with
- standard executables, which must also be provided.
-
- d) make other distribution arrangements with the author.
-
-3. You may distribute the software in object code or executable
- form, provided that you do at least ONE of the following:
-
- a) distribute the executables and library files of the software,
- together with instructions (in the manual page or equivalent) on where
- to get the original distribution.
-
- b) accompany the distribution with the machine-readable source of the
- software.
-
- c) give non-standard executables non-standard names, with
- instructions on where to get the original software distribution.
-
- d) make other distribution arrangements with the author.
-
-4. You may modify and include the part of the software into any other
- software (possibly commercial). But some files in the distribution
- are not written by the author, so that they are not under this terms.
-
-5. The scripts and library files supplied as input to or produced as
- output from the software do not automatically fall under the
- copyright of the software, but belong to whomever generated them,
- and may be sold commercially, and may be aggregated with this
- software.
-
-6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE.
-
-
+Copyright (c) 2006 Luis Lavena, luislavena@gmail.com
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -1,71 +1,21 @@
-bin/mongrel_rails
-CHANGELOG
-CONTRIBUTORS
-COPYING
-examples/builder.rb
-examples/camping/blog.rb
-examples/camping/README
-examples/camping/tepee.rb
-examples/httpd.conf
-examples/mime.yaml
-examples/mongrel.conf
-examples/mongrel_simple_ctrl.rb
-examples/mongrel_simple_service.rb
-examples/monitrc
-examples/random_thrash.rb
-examples/simpletest.rb
-examples/webrick_compare.rb
-ext/http11/ext_help.h
-ext/http11/extconf.rb
-ext/http11/http11.c
-ext/http11/http11_parser.c
-ext/http11/http11_parser.h
-ext/http11/http11_parser.java.rl
-ext/http11/http11_parser.rl
-ext/http11/http11_parser_common.rl
-ext/http11_java/Http11Service.java
-ext/http11_java/org/jruby/mongrel/Http11.java
-ext/http11_java/org/jruby/mongrel/Http11Parser.java
-lib/mongrel/camping.rb
-lib/mongrel/cgi.rb
-lib/mongrel/command.rb
-lib/mongrel/configurator.rb
-lib/mongrel/const.rb
-lib/mongrel/debug.rb
-lib/mongrel/gems.rb
-lib/mongrel/handlers.rb
-lib/mongrel/header_out.rb
-lib/mongrel/http_request.rb
-lib/mongrel/http_response.rb
-lib/mongrel/init.rb
-lib/mongrel/mime_types.yml
-lib/mongrel/rails.rb
-lib/mongrel/stats.rb
-lib/mongrel/tcphack.rb
-lib/mongrel/uri_classifier.rb
-lib/mongrel.rb
+bin/mongrel_service.exe
+tools/freebasic.rb
+TODO
+resources/defaults.yaml
+README
+native/mongrel_service.bi
+native/mongrel_service.bas
+native/console_process.bi
+native/console_process.bas
+native/_debug.bi
LICENSE
+lib/ServiceFB/ServiceFB_Utils.bi
+lib/ServiceFB/ServiceFB_Utils.bas
+lib/ServiceFB/ServiceFB.bi
+lib/ServiceFB/ServiceFB.bas
+lib/ServiceFB/_utils_internals.bi
+lib/ServiceFB/_internals.bi
+lib/mongrel_service/init.rb
+COPYING
+CHANGELOG
Manifest
-mongrel-public_cert.pem
-README
-setup.rb
-test/benchmark/previous.rb
-test/benchmark/simple.rb
-test/benchmark/utils.rb
-test/mime.yaml
-test/mongrel.conf
-test/test_helper.rb
-test/tools/trickletest.rb
-test/unit/test_cgi_wrapper.rb
-test/unit/test_command.rb
-test/unit/test_conditional.rb
-test/unit/test_configurator.rb
-test/unit/test_debug.rb
-test/unit/test_handlers.rb
-test/unit/test_http_parser.rb
-test/unit/test_redirect_handler.rb
-test/unit/test_request_progress.rb
-test/unit/test_response.rb
-test/unit/test_stats.rb
-test/unit/test_uriclassifier.rb
-test/unit/test_ws.rb
View
85 README
@@ -1,74 +1,11 @@
-= Mongrel: Simple Fast Mostly Ruby Web Server
-
-Mongrel is a small library that provides a very fast HTTP 1.1 server for Ruby web applications. It is not particular to any framework, and is intended to be just enough to get a web application running behind a more complete and robust web server.
-
-What makes Mongrel so fast is the careful use of an Ragel extension to provide fast, accurate HTTP 1.1 protocol parsing. This makes the server scream without too many portability issues.
-
-See http://mongrel.rubyforge.org for more information.
-
-== License
-
-Mongrel is copyright 2007 Zed A. Shaw and contributors. It is licensed under the Ruby license and the GPL2. See the include LICENSE file for details.
-
-== Quick Start
-
-The easiest way to get started with Mongrel is to install it via RubyGems and then run a Ruby on Rails application. You can do this easily:
-
- $ gem install mongrel
-
-Now you should have the mongrel_rails command available in your PATH, so just do the following:
-
- $ cd myrailsapp
- $ mongrel_rails start
-
-This will start it in the foreground so you can play with it. It runs your application in production mode. To get help do:
-
- $ mongrel_rails start -h
-
-Finally, you can then start in background mode:
-
- $ mongrel_rails start -d
-
-And you can stop it whenever you like with:
-
- $ mongrel_rails stop
-
-All of which should be done from your application's directory. It writes the PID of the process you ran into log/mongrel.pid.
-
-There are also many more new options for configuring the rails runner including changing to a different directory, adding more MIME types, and setting processor threads and timeouts.
-
-== Install
-
-It doesn't explicitly require Camping, but if you want to run the examples/camping/ examples then you'll need to install Camping 1.2 at least (and redcloth I think). These are all available from RubyGems.
-
-The library consists of a C extension so you'll need a C compiler or at least a friend 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 example:
-
- require 'mongrel'
-
- class SimpleHandler < Mongrel::HttpHandler
- def process(request, response)
- response.start(200) do |head,out|
- head["Content-Type"] = "text/plain"
- out.write("hello!\n")
- end
- end
- end
-
- h = Mongrel::HttpServer.new("0.0.0.0", "3000")
- h.register("/test", SimpleHandler.new)
- h.register("/files", Mongrel::DirHandler.new("."))
- h.run.join
-
-If you run this and access port 3000 with a browser it will say "hello!". If you access it with any url other than "/test" it will 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.*
-
-== Contact
-
-E-mail the Mongrel list at http://rubyforge.org/mailman/listinfo/mongrel-users and someone will help you. Comments about the API are welcome.
+== Mongrel Native Win32 Service Plugin
+
+This plugin offer native win32 services for rails. This replace mongrel_rails_service.
+It will work like before, with this this syntax when calling mongrel_rails:
+
+service::install
+service::remove
+service::update
+
+= Author:
+ Luis Lavena
Oops, something went wrong.

0 comments on commit 2e98865

Please sign in to comment.