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

Re: eruby, .rhtml, and apache2 -- How?



Hello Bob,

Sorry for the not-so-quick reply!
I am not very familiar with this stuff, but I'll give it a shot.
(This is why I initially didn't answer.)

On Sun, Jan 29, 2006 at 12:24:08PM -0700, Bob Proulx wrote:
> I am working with some .rhtml examples and would like to install eruby
> to handle them in apache2.  I can run eruby on a .rhtml page fine and
> get expected text/html out.  I can create a .cgi script which does
> this too.  But I can't seem to figure out how to add eruby as a
> handler for .rhtml pages directly.
> [...]
>         cat >/etc/apache2/conf.d/eruby <<-EOF
>         AddType application/x-httpd-eruby .rhtml
>         Action application/x-httpd-eruby /cgi-bin/eruby
>         EOF
> 
>         /etc/init.d/apache2 reload
>         Reloading web server config...Syntax error on line 3 of /etc/apache2/conf.d/eruby:
>         Invalid command 'Action', perhaps mis-spelled or defined by a module not included in the server configuration

a2enmod actions?

Paul

-- 
Student @ Eindhoven                         | email: paulvt@debian.org
University of Technology, The Netherlands   | JID: paul@luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181

Attachment: signature.asc
Description: Digital signature


Reply to: