Index: [Article Count Order] [Thread]

Date:  Thu, 14 Mar 2002 16:35:56 +0900
From:  "NAKAMURA, Hiroshi" <nahi@keynauts.com>
Subject:  [webricken:42] Re: ERB
To:  <webricken@notwork.org>
Message-Id:  <004c01c1cb2a$e1132dc0$85222fc0@sarion.co.jp>
In-Reply-To:  <20020314.142914.26213627.gotoyuzo@kotetsu.does.notwork.org>
X-Mail-Count: 00042

Hi,

> From: GOTOU Yuuzou [mailto:gotoyuzo@notwork.org] 
> Sent: Thursday, March 14, 2002 2:29 PM

> > > > Hmm.  Authors, is there easy way to let webrick/httpserver.rb
> > > > load my customized httpservlet.rb?

> > Why don't you remove cgihandler and erbhandler from
> > webrick/httpservlet.rb?  You can remove filehandler,
> > too (All request will cause "path not found" then :-)
> > httpserver.rb as a brick.

> What do you think about :DocumentRoot and
> :DirectoryListEnable the HTTPServer configurations?
> They are for FileHandler servlet.

I found that httpserver.rb tried to mount FileHandler.
httpserver.rb relies on filehandler.rb.  Don't you think
that httpserver.rb should require filehandler.rb
if it means?  Or, httpservlet.rb should be renamed to
'httpservletwithfilehandler.rb'?

> And I have written about them in an article for a
> Japanese magazine. It is printing now :-)

That was a nice job you did.

Regards,
// NaHi