updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / mod_ruby-git / httpd.conf.patch
blob4fbd3050dd4a328c09b341917958f6ed381f5b9a
1 --- a/examples/httpd.conf 2009-11-28 23:03:15.000000000 +0000
2 +++ b/examples/httpd.conf 2009-11-28 23:17:41.000000000 +0000
3 @@ -1,6 +1,6 @@
4 # Note: /usr/local/apache/libexec/mod_ruby.so is just an example.
5 # You should specify the correct path to mod_ruby.so.
6 -LoadModule ruby_module /usr/local/apache/libexec/mod_ruby.so
7 +LoadModule ruby_module modules/mod_ruby.so
9 # # If ClearModuleList is used in your httpd.conf, you should use AddModule
10 # # to activate the ruby module.
11 @@ -12,11 +12,11 @@
12 RubyRequire apache/ruby-run
14 # exec files under /ruby as ruby scripts.
15 - <Location /ruby>
16 - SetHandler ruby-object
17 - RubyHandler Apache::RubyRun.instance
18 - Options +ExecCGI
19 - </Location>
20 +# <Location /ruby>
21 +# SetHandler ruby-object
22 +# RubyHandler Apache::RubyRun.instance
23 +# Options +ExecCGI
24 +# </Location>
26 # exec *.rbx as ruby scripts.
27 <Files *.rbx>