Index: [Article Count Order] [Thread]

Date:  Thu, 14 Mar 2002 20:27:25 -0500
From:  David Corbin <dcorbin@imperitek.com>
Subject:  [webricken:48] Re: ERB
To:  webricken@notwork.org
Message-Id:  <3C914DFD.2020102@imperitek.com>
References:  <20020314.142914.26213627.gotoyuzo@kotetsu.does.notwork.org>	<004c01c1cb2a$e1132dc0$85222fc0@sarion.co.jp> <20020315.083121.74171231.gotoyuzo@kotetsu.does.notwork.org>
X-Mail-Count: 00048

GOTOU Yuuzou wrote:

>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
>
>
What if there were a server config option that you could specify that 
said "load all servlets".  Or do the reverse make one that says load no 
servlets automatically.