Xeno Campanoli
5/13/2008 6:12:00 PM
I have an eruby application that I need to run on a machine with apache
(and also some Rails stuff, but I suspect that is not a problem), and I
am having a difficult time making the configuration work on Ubuntu that
works on CentOS for eruby:
AddType application/x-httpd-eruby .rhtml
#use which path:
Action application/x-httpd-eruby "/usr/bin/eruby"
AddType application/x-httpd-cgi .rhtml
#not really needed
AddHandler cgi-script .cgi
#ScriptInterpreterSource Registry
#ScriptInterpreterSource registry
DirectoryIndex <b>index.rhtml</b> index.html index.htm
----snip----
The main problem appears to be that Ubuntu Apache2 doesn't know about
the 'Action' directive, but presumably there is a canonical way to do
the configuration on Ubuntu. Anybody know?