From: Jim Freeze Date: 2002-04-11T11:49:58+09:00 Subject: Re: Switching from PHP to Ruby - Comments Please Sean: I have installed mod_ruby and eruby. I am updating the httpd.conf file, but have a few questions about the extent of the options. When I install php, I don't need near the amount of config options. # If the ruby module is installed, this will be enabled. 10 11 # for Apache::RubyRun 12 RubyRequire apache/ruby-run 13 14 # exec files under /ruby as ruby scripts. => What is exec files for. Is this equivalent to cgi-bin folder? 15 16 SetHandler ruby-object 17 RubyHandler Apache::RubyRun.instance 18 Options ExecCGI 19 20 => What is this? Specifying file extension inside /ruby? 21 # exec *.rbx as ruby scripts. 22 23 SetHandler ruby-object 24 RubyHandler Apache::RubyRun.instance 25 26 27 # # for Apache::ERubyRun 28 # RubyRequire apache/eruby-run 29 # 30 # # handle files under /eruby as eRuby files by eruby. 31 # 32 # SetHandler ruby-object 33 # RubyHandler Apache::ERubyRun.instance => What is the ExecCGI for? 34 # Options ExecCGI 35 # 36 # => So all .rthml files are parsed by eruby? 37 # # handle *.rhtml as eruby files. 38 # 39 # SetHandler ruby-object 40 # RubyHandler Apache::ERubyRun.instance 41 # 42 43 # # for Apache::ERbRun 44 # RubyRequire apache/erb-run 45 # 46 # # handle files under /erb as eRuby files by ERb. 47 # 48 # SetHandler ruby-object 49 # RubyHandler Apache::ERbRun.instance 50 # Options ExecCGI 51 # 52 53 # # for debug 54 # RubyRequire auto-reload 55 Also, PHP has the following DirectoryIndex index.php index.php3 index.html Why does mod ruby not require something like: DirectoryIndex index.rbx index.rhtml Thanks -- Jim Freeze If only I had something clever to say for my comment... ~