HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   mod_ruby (http://www.howtoforge.com/forums/showthread.php?t=60329)

d14279755 25th January 2013 18:29

mod_ruby
 
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/.../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_h...-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.

falko 28th January 2013 14:25

Quote:

Originally Posted by d14279755 (Post 291167)
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?

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


All times are GMT +2. The time now is 11:46.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.