Skip to content
Embedding Ruby in the Apache web server
C Ruby CSS
Find file
Latest commit 0456c7c Oct 28, 2013 @shugo Merge pull request #4 from nishidayuya/suppress_rb_warn
suppress rb_warn message.
Failed to load latest commit information.
doc added RubyGcPerRequest to documents. Feb 19, 2006
examples `Options ExecCGI' -> `Options +ExecCGI'. Aug 13, 2004
lib fixes for Ruby 1.9. Nov 28, 2009
.gitignore added .gitignore. Aug 9, 2011
COPYING imported mod_ruby. Jul 1, 2004
LEGAL included libapreq. Sep 23, 2004
LICENSE.apreq included libapreq. Sep 23, 2004
Makefile.in fixes for Ruby 1.9. Nov 28, 2009
Makefile.libdir imported mod_ruby. Jul 1, 2004
Makefile.tmpl imported mod_ruby. Jul 1, 2004
NOTICE included libapreq. Sep 23, 2004
README.en removed =begin and =end. Jul 16, 2004
README.ja removed =begin and =end. Jul 16, 2004
apache_cookie.c supported Apache 2.2. Thanks, Michael Sullivan. Jan 31, 2006
apache_cookie.h supported Apache 2.2. Thanks, Michael Sullivan. Jan 31, 2006
apache_multipart_buffer.c supported Apache 2.2. Thanks, Michael Sullivan. Jan 31, 2006
apache_multipart_buffer.h included libapreq. Sep 23, 2004
apache_request.c supported Apache 2.2. Thanks, Michael Sullivan. Jan 31, 2006
apache_request.h supported Apache 2.2. Thanks, Michael Sullivan. Jan 31, 2006
apachelib.c fixes for Ruby 1.9. Jan 15, 2008
apachelib.h does the following: Jul 31, 2007
array_header.c fixes for Ruby 1.9. Jan 15, 2008
autoconf.rb fixes for Ruby 1.9. Nov 28, 2009
bucket.c added new exception Apache::AprError. Oct 14, 2004
configure.rb fixes for Ruby 1.9. Nov 28, 2009
configure.rb.in supported Ruby 1.6. May 22, 2006
connection.c does the following: Jul 31, 2007
cookie.c fixes for Ruby 1.9. Nov 8, 2008
error.c does the following: Jul 31, 2007
install-rb imported mod_ruby. Jul 1, 2004
libruby.module.in imported mod_ruby. Jul 1, 2004
mod_ruby.c use ruby_options() instead of ruby_init_prelude(). Aug 9, 2011
mod_ruby.h fixes for Ruby 1.9. The patch at http://redmine.ruby-lang.org/issues/… Aug 9, 2011
multival.c fixes for Ruby 1.9. Nov 8, 2008
paramtable.c fixes for Ruby 1.9. Nov 8, 2008
request.c suppress rb_warn message. Oct 28, 2013
ruby_config.c fixes for Ruby 1.9. Jan 15, 2008
ruby_config.h does the following: Jul 31, 2007
ruby_shared_stub.c added modelines for vim. Jul 16, 2004
server.c added modelines for vim. Jul 16, 2004
table.c supported Apache 2.2. Thanks, Michael Sullivan. Jan 31, 2006
upload.c fixes for Ruby 1.9. Jan 15, 2008
uri.c does the following: Jul 31, 2007

README.en

= README for mod_ruby

== What's mod_ruby?

mod_ruby embeds the Ruby interpreter into the Apache web server,
allowing Ruby CGI scripts to be executed natively. These scripts will
start up much faster than without mod_ruby.

== Required environment

* Ruby version 1.6.x or later.
  (Recommends version 1.6.4 or later.)
* Apache version 1.3.3 or later.

You can use Apache 2.0 also, but there are some restrictions.

* You should build mod_ruby as a DSO module. (Please use --with-apxs
  option instead of --with-apache option when running configure.rb.)
* Some methods are not implemented for Apache 2.0 because Apache 2.0
  API is different from Apache 1.x API.

== Installation

(1) Type `./configure.rb' to create Makefile.
    (Type `./configure.rb --help' to get a help message.)

(2) Type `make' to compile mod_ruby.

(3) Type `make install' to install files.

(4) Edit `httpd.conf'. (see examples/httpd.conf.)

(5) Restart Apache.

== Official Web Site

((<URL:http://modruby.net/>))
Something went wrong with that request. Please try again.