Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 22079 invoked from network); 4 Sep 2008 11:01:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2008 11:01:20 -0000 Received: (qmail 15184 invoked by uid 500); 4 Sep 2008 11:01:07 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 15173 invoked by uid 500); 4 Sep 2008 11:01:07 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 15162 invoked by uid 99); 4 Sep 2008 11:01:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 04:01:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of staf.wagemakers@gmail.com designates 72.14.220.155 as permitted sender) Received: from [72.14.220.155] (HELO fg-out-1718.google.com) (72.14.220.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 11:00:06 +0000 Received: by fg-out-1718.google.com with SMTP id 16so412153fgg.40 for ; Thu, 04 Sep 2008 04:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8EopZg5fV3556ilgtdCAyKJksQq6rex0S6ZIVJ1++qs=; b=C7CvwojOhXuyiAEelR/0Uz9hBCXrAiR8ncL4mDaff1jEa8ONh7/nq4BWntxtaaonml HWSayxOsOmOeWrvR6ZZfYRAviILutK2m/2p7bhneSOeRJJtKj/QEzk3IM8znFRI1eCXX /V7EdMSMij+K8hRjKh6Le9EgKdg4kKyp47DkQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=klnPQYX9jt9mF0ILOXFs8nCfJDWsp4doC95jwz+wAs9whRT5gIMrnfxMYWiGHeLJSq FOYxw7JMuaKfydjjmKXTOZpjqsExL86BsLYIr0ylTqinwdPypH1nzvb5wxHOayxW8g3z YYT+G1j+rxiPwIihEfTUGsOd3cym3tPR3Vj6A= Received: by 10.181.33.8 with SMTP id l8mr7828681bkj.28.1220526035810; Thu, 04 Sep 2008 04:00:35 -0700 (PDT) Received: by 10.180.248.9 with HTTP; Thu, 4 Sep 2008 04:00:35 -0700 (PDT) Message-ID: Date: Thu, 4 Sep 2008 13:00:35 +0200 From: "Staf Wagemakers" To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Ruby with apache On Thu, Sep 4, 2008 at 11:33 AM, Valerio Pachera wrote: > > 2008/9/3 Staf Wagemakers : > > 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 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