Dave,

> > could somebody who is using Apache and Ruby for CGI application send me
> > the file "httpd.conf" -- just the parts I need to include them to get
> > CGI running.
>
> AddType application/x-httpd-eruby .rhtml
> LoadModule ruby_module /tc/usr/apache/libexec/mod_ruby.so
> AddHandler ruby-script .rb
>
> I just copied the following from the README. Files ending with .rb are
> executes as Ruby scripts, and those ending .rhtml are run as .rhtml.
>
> You'll need to change the path in the LoadModule line.

Thank you dave, but I have Apache not compiled to use dynamic modules. It
gives me some problems with PHP, so I have linked PHP to Apache statically
without <apxs>. So, I ask for a way to use Ruby (for CGI scripts) without
recompiling anything else, but just add the *magic entry* to "httpd.conf"
file.

Ciao.

Jilani

--
<jk>
___________________________________________________
http://space.tin.it/scuola/jkhaldi
FreeBSD ~ The Power to Serve