Problems with Debian, Apache and eRuby

Hi ruby-talk,

I am trying to configure my Apache web server (Server version:
Apache/1.3.26 (Unix) Debian GNU/Linux) on Debian to be able to use
eRuby. I followed the instructions in Michael Neumann’s “Ruby
Developer’s Guide” (pp.384-386). Here’s what I added to
/etc/apache/conf/httpd.conf:

Then, I restart Apache, and when I list the loaded modules, here’s the
output:

And when I try to view a .rhtml file, I get the following message:

Does anyone know how to fix that problem? Is it Debian related? Thanks.

Vincent

···

Vincent Foley-Bourgon
Email: vinfoley@iquebec.com
Homepage: http://darkhost.mine.nu:81

Vincent Foley wrote:

AddModule mod_ruby.c

I think you need a LoadModule directive also, before the AddModule.
I have:
LoadModule ruby_module /usr/lib/apache/mod_ruby.so
but the location of your .so may vary.

···


([ Kent Dahl ]/)_ ~ [ http://www.stud.ntnu.no/~kentda/ ]/~
))_student
/(( _d L b_/ NTNU - graduate engineering - 5. year )
( __õ|õ// ) )Industrial economics and technological management(
_
/ö____/ (_engineering.discipline=Computer::Technology)