mod_ruby

Discussion in 'HOWTO-Related Questions' started by d14279755, Jan 25, 2013.

  1. d14279755

    d14279755 New Member

    Your tutorial, The Perfect Server - CentOS 6.3 x86_64 (Apache2, Dovecot, ISPConfig 3) - Page 4 says:

    Starting with version 3.0.3, ISPConfig 3 has built-in support for Ruby. Instead of using CGI/FastCGI, ISPConfig depends on mod_ruby being available in the server's Apache.
    For CentOS 6.3, there's no mod_ruby package available, so we must compile it ourselves.

    Then, the tutorial says to download mod_ruby:
    wget http://modruby.net/archive/mod_ruby-1.3.0.tar.gz

    My problem is that modruby.net doesn't exist anymore.
    My first question is: is ruby the same as mod_ruby? If I can find a source for Ruby and compile it on my machine, will that allow ISPConfig 3 to run properly?

    BTW, I found what appears to be source for mod_ruby at https://github.com/davidhrbac/specs/blob/master/mod_ruby.spec
    Is this the source and could I compile mod_ruby from this?

    BTW, maybe this source is better...http://fossies.org/unix/www/apache_httpd_modules/mod_ruby-1.3.0.tar.gz/ Maybe I answered my own question...what do you think?

    Yes, I did answer my own question...the wget fossies.org/unix/www/apache_httpd_modules/mod_ruby-1.3-0.tar.gz command appears to have worked and I appear to have installed mod_ruby by following the directions...

    My second unrelated question is: my machine is a 32 bit machine rather than 64 bit...so I'm using the Centos i686 downloads rather than the Centos x86_64 downloads...does your tutorial apply for i686 as well as x86_64?

    Thanks for your help.
     
    Last edited: Jan 25, 2013
  2. falko

    falko Super Moderator ISPConfig Developer

    Yes, that should work with minimal changes (i686 packages, replace lib64 with lib, etc.) as well.
     
: mod_ruby, ruby

Share This Page