Index: [Article Count Order] [Thread]

Date:  Fri, 15 Mar 2002 08:31:21 +0900 (JST)
From:  GOTOU Yuuzou <gotoyuzo@notwork.org>
Subject:  [webricken:45] Re: ERB
To:  webricken@notwork.org
Message-Id:  <20020315.083121.74171231.gotoyuzo@kotetsu.does.notwork.org>
In-Reply-To:  <004c01c1cb2a$e1132dc0$85222fc0@sarion.co.jp>
References:  <20020314.142914.26213627.gotoyuzo@kotetsu.does.notwork.org>	<004c01c1cb2a$e1132dc0$85222fc0@sarion.co.jp>
X-Mail-Count: 00045

In message <004c01c1cb2a$e1132dc0$85222fc0@sarion.co.jp>,
 `"NAKAMURA, Hiroshi" <nahi@keynauts.com>' wrote:
> > From: GOTOU Yuuzou [mailto:gotoyuzo@notwork.org] 
> > Sent: Thursday, March 14, 2002 2:29 PM
> > > 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'?

httpservlet.rb is a shortcut to load all servlets. 
I guess it is as the same as most files are loaded by:

  require 'webrick'

Is it wrong?

--
gotoyuzo