Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zdavatz/820255 to your computer and use it in GitHub Desktop.
Save zdavatz/820255 to your computer and use it in GitHub Desktop.
mod_ruby.conf Windows 2.2.17 in C:\Aapche2.2\conf\extra\mod_ruby.conf
LoadModule ruby_module modules/mod_ruby.so
<IfModule mod_ruby.c>
RubyRequire apache/ruby-run
<Location /ruby>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
Options ExecCGI
</Location>
AddHandler cgi-script .rbx
<Files *.rbx>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment