Re: Ruby with apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 4, 2008 at 11:33 AM, Valerio Pachera <sirio81@xxxxxxxxx> wrote:
>
> 2008/9/3 Staf Wagemakers <staf.wagemakers@xxxxxxxxx>:
> > 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux