Bill Guindon wrote:

>On Mon, 7 Mar 2005 12:54:39 +0900, Eko Budi Setiyo
><contact_us / haltebis.com> wrote:
>
>  
>
>>Actually, I believe in the single point of entry power.
>>I used it in FuseLogic(php) and QLogic (ruby). index.php or index.rb
>>will decide which module will be executed base on the user response
>>(REQUES_URI).
>>One example of the benefit among the others is, lets say I change my
>>hosting company and some how the install ruby on difference path. What I
>>have to do is just change
>>the first line from #!/bin/ruby to #!/user/bin/ruby (this is example
>>only!) in the index.rb
>>
>>The reason I ask is I already try to use Webrick and doesn't do what I
>>want.
>>What happen to my scripts is, lets say I already use my browser to hit
>>http://127.0.0.1/index.rb/init/version than after that I hit
>>http://127.0.0.1/index.rb/bittorrents/main ,
>>Webrick will always give the same result as
>>http://127.0.0.1/index.rb/init/version
>>
>>I really want to use webrick also for my RubyToday project
>>
>>May be I am doing some thing wrong here. I don't know
>>    
>>
>
>What are you doing in index.rb?  I'd think a simple 'include' would do
>it after you parse the URI, but I could be missing something.
>
>  
>
index.rb is the gate off all the module. inside module there are 
submodule or "fuse'
index.rb is some kind of  the gate to "Front Controller"

regards
Eko