diff options
Diffstat (limited to 'www/mod_ruby/files/httpd.conf.mod_ruby')
-rw-r--r-- | www/mod_ruby/files/httpd.conf.mod_ruby | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www/mod_ruby/files/httpd.conf.mod_ruby b/www/mod_ruby/files/httpd.conf.mod_ruby new file mode 100644 index 000000000000..a4e24b799b46 --- /dev/null +++ b/www/mod_ruby/files/httpd.conf.mod_ruby @@ -0,0 +1,19 @@ +# +# Example configuration for the mod_ruby module +# +# $FreeBSD$ +# + +LoadModule ruby_module libexec/apache/mod_ruby.so + +AddModule mod_ruby.c + +<IfModule mod_ruby.c> + AddHandler ruby-script .rb + +# Alias /ruby/ /usr/local/www/cgi-bin/ +# <Location /ruby/> +# SetHandler ruby-script +# Options ExecCGI +# </Location> +</IfModule> |