[#3006] mismatched quotation — "stevan apter" <apter@...>

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02862] simple httpd for local use

From: hipster <hipster@...4all.nl>
Date: 2000-05-17 19:48:37 UTC
List: ruby-talk #2862
I created a simple, lightweight httpd in ruby. It's a nice ruby
exercise, not a stab at apache ;). Based on the dualstack-httpd.rb
example with numerous additions, it serves html and images from a local
docroot and has support for CGI-scripts to enable things like search
engines.

I personally use it for access to full-text indexed linux docs/howto's,
a personal WikiWikiWeb and cvsweb.

The httpd forks and disconnects from the tty. By default it runs on
localhost:8080, which can be changed by passing params to Httpd.new, see
TCPServer.new for details. DOCROOT points to the html hierarchy.
Currently the cgi-dir is located at the docroot which is unsafe but np
for local use.

  http://www.xs4all.nl/~hipster/lib/ruby/httpd

This is a work under construction, comments and patches are welcome.

Michel

In This Thread

Prev Next