Since I have 2 apache installed on the system - once from redhat distribution(/usr/sbin/httpd -2.0.40) and on I compiled myself(/usr/local/apache/bin/httpd2 - 2.0.43/. The latter work beautifully! Then I installed ruby-1.6.7, mod_ruby-1.0.1, and mod_eruby-0.9.8 The explanation and the examples configuration of httpd.conf are quite confusing, e.g: there are no files under /usr/local/apache/libexec. Anyway, I compiled both mod_ruby and e_ruby fine. Now is how to configure Apache to recognize both mod_ruby and mod_eruby. There are mod_ruby.so created under /usr/local/apache/modules/mod_ruby.so (and other such as libphp4.so, mod_perl.so..). Modify httpd.conf as stated on the installation instruction of both mod_ruby and mod_eruby. I DID NOT WORK! When I try to access any.rbx, any1.rhtml, any3.rb, it's just print the file on the browser. If I put <% script/variables/etc %>, it just never executed or printed on the browsers. Thanks.