]>
Commit | Line | Data |
---|---|---|
1 | # $Id$ | |
2 | LoadModule ruby_module modules/mod_ruby.so | |
3 | ||
4 | <IfModule mod_ruby.c> | |
5 | RubyRequire apache/ruby-run | |
6 | ||
7 | # Excucute files under /ruby as Ruby scripts | |
8 | <Location /ruby> | |
9 | SetHandler ruby-object | |
10 | RubyHandler Apache::RubyRun.instance | |
11 | Options ExecCGI | |
12 | </Location> | |
13 | ||
14 | # Execute *.rbx files as Ruby scripts | |
15 | <Files *.rbx> | |
16 | SetHandler ruby-object | |
17 | RubyHandler Apache::RubyRun.instance | |
18 | </Files> | |
19 | </IfModule> |