From: Thomas Hurst Date: 2007-01-24T02:23:59+09:00 Subject: Re: Is mod_fastcgi really required for Ruby/Apache 2? * laredotornado@zipmail.com (laredotornado@zipmail.com) wrote: > I'm trying to install the latest version of Ruby to > work with a just-newly installed Apache 2.2 module > on my x86 Fedora Core 5 Linux machine. I read > (http://wiki.rubyonrails.com/rails/pages/RailsOnFedora) that > mod_fastcgi is required, but when I download, copy the appropriate > Makefile and try to make, I get errors (see below if you're really > interested). I also notice that the latest version of mod_fastcgi is > dated 2004. Is this truly required or can I skip this step? You can use an application server like mongrel and just use mod_proxy(_balancer) if you like. I tend to prefer this to faffing about with FastCGI application managers or fcgi.rb hacks to support external servers. > mod_fastcgi.c: In function 'init_module': > mod_fastcgi.c:271: error: 'ap_null_cleanup' undeclared (first use in > this function) Apache 2.2 drops the ap_* functions (or rather, the mapping of ap_* to apr_*). You can either replace them with the appropriate apr functions, or use this patch: http://fastcgi.com/archives/fastcgi-developers/2005-December/004060.html Which pretty much does the same thing. -- Thomas 'Freaky' Hurst http://hur.st/