Skip to content
Embedding Ruby in the Apache web server
C Ruby CSS
Find file
Latest commit 0456c7c @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.
examples `Options ExecCGI' -> `Options +ExecCGI'.
lib fixes for Ruby 1.9.
.gitignore added .gitignore.
COPYING imported mod_ruby.
LEGAL included libapreq.
LICENSE.apreq included libapreq. fixes for Ruby 1.9.
Makefile.libdir imported mod_ruby.
Makefile.tmpl imported mod_ruby.
NOTICE included libapreq.
README.en removed =begin and =end.
README.ja removed =begin and =end.
apache_cookie.c supported Apache 2.2. Thanks, Michael Sullivan.
apache_cookie.h supported Apache 2.2. Thanks, Michael Sullivan.
apache_multipart_buffer.c supported Apache 2.2. Thanks, Michael Sullivan.
apache_multipart_buffer.h included libapreq.
apache_request.c supported Apache 2.2. Thanks, Michael Sullivan.
apache_request.h supported Apache 2.2. Thanks, Michael Sullivan.
apachelib.c fixes for Ruby 1.9.
apachelib.h does the following:
array_header.c fixes for Ruby 1.9.
autoconf.rb fixes for Ruby 1.9.
bucket.c added new exception Apache::AprError.
configure.rb fixes for Ruby 1.9. supported Ruby 1.6.
connection.c does the following:
cookie.c fixes for Ruby 1.9.
error.c does the following:
install-rb imported mod_ruby. imported mod_ruby.
mod_ruby.c use ruby_options() instead of ruby_init_prelude().
mod_ruby.h fixes for Ruby 1.9. The patch at…
multival.c fixes for Ruby 1.9.
paramtable.c fixes for Ruby 1.9.
request.c suppress rb_warn message.
ruby_config.c fixes for Ruby 1.9.
ruby_config.h does the following:
ruby_shared_stub.c added modelines for vim.
server.c added modelines for vim.
table.c supported Apache 2.2. Thanks, Michael Sullivan.
upload.c fixes for Ruby 1.9.
uri.c does the following:


= 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

Something went wrong with that request. Please try again.