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.