httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Staf Wagemakers" <>
Subject Re: [users@httpd] Ruby with apache
Date Thu, 04 Sep 2008 11:00:35 GMT
On Thu, Sep 4, 2008 at 11:33 AM, Valerio Pachera <> wrote:
> 2008/9/3 Staf Wagemakers <>:
> > Have a lookat:
> >
> >
> Thanks for the link. I gave a watch (didn't try anything yet).
> It seems very simple to install and configure eruby but what scare me
> is this sentence:
> "Be sure to see also the Ruby CGI library, which is documented
> beginning on page 497. "
> What I have less clear is the relationship between eruby and cgi.
> Do I need simple to have the module mod_fcgi installed or do I need to
> configure something else about it?
> Are there relationship between eruby and mod_ruby? Do i need it?
> PHP is running without mod_cgi right?
> So, could I do the same with eruby...?

eruby is executable written in C that parses the rhtml file and
creates ruby code and executes it.

Normally eruby is executed through cgi ( or fastcgi );

AddType application/x-httpd-eruby .rhtml
Action application/x-httpd-eruby /cgi-bin/eruby

There is no relation with mod_ruby.

Normally php is installed with the mod_php apache module, it's also
possible to use PHP with cgi.

As far as I know there is no "mod_eruby".

Staf Wagemakers -

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message