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