From: Jim Freeze Date: 2002-10-07T06:05:08+09:00 Subject: Re: Speed of Ruby/modruby vs PHP Ok, here is how I understand this. Does this look correct? In httpd.conf RubyRequire apache/ruby-run RubyRequire apache/eruby-run RubyRequire apache/preload_timetest.rb # contains MyApp class # If URL is: http://www.mysite/preload_timetest RubyHandler Apache::MyApp # Call Apache::MyApp.handler ?? SetHandler ruby-object RubyHandler Apache::ERubyRun.instance Although no code is required in DocumentRoot when running preloaded scripts, here is the standard layout for the above declarations: mysite +-htdocs *.rhtml - these get executed as ruby files using eruby. -- Jim Freeze