httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Staf Wagemakers" <staf.wagemak...@gmail.com>
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 <sirio81@gmail.com> wrote:
>
> 2008/9/3 Staf Wagemakers <staf.wagemakers@gmail.com>:
> > Have a lookat:
> >
> > http://ruby-doc.org/docs/ProgrammingRuby/html/web.html
>
> 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 - http://www.wagemakers.be

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message