Hi all, I followed the HowTo (http://wiki.rubyonrails.com/rails/show/FastCGI+on+OS+X) and am getting this error: Syntax error on line 279 of /opt/local/apache2/conf/httpd.conf: Cannot load /opt/local/apache2/modules/mod_fastcgi.so into server: dyld: /opt/local/apache2/bin/httpd Undefined symbols:\n_ap_bflush\n_ap_bgetopt\n_ap_block_alarms\n_ap_bwrite\n_ap_copy_table\n_ap_hard_timeout\n_ap_kill_timeout\n_ap_make_array\n_ap_make_table\n_ap_null_cleanup\n_ap_palloc\n_ap_pcalloc\n_ap_psprintf\n_ap_pstrdup\n_ap_register_cleanup\n_ap_reset_timeout\n_ap_restart_time\n_ap_send_http_header\n_ap_spawn_child\n_ap_standalone\n_ap_table_add\n_ap_table_do\n_ap_table_get\n_ap_table_set\n_ap_table_setn\n_ap_table_unset\n_ap_unblock_alarms\n_ap_cpystrn\n_ap_pstrcat\n_ap_pstrndup\n_ap_destroy_pool\n_ap_group_id\n_ap_make_sub_pool\n_ap_signal\n_ap_snprintf\n_ap_sys_siglist\n_ap_user_id\n_ap_user_name\n_ap_popendir\n_ap_push_array\n Any idea what might be up? Thanks, Ben -- Ben Jackson Diretor de Desenvolvimento INCOMUM Design & Conceito +55 (21) 9997-0593 ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org http://www.incomumdesign.com
The FastCGI on OSX howto is meant for apache 1.3 (as shipped with panther) and probably doesn''t apply to Apache 2.0 installed via ports. You probably need to build the fastcgi apache module from scratch (using apxs or ports) rather than using the prebuilt one that the howto references and refer to apache2/fcgi docs for installing fastcgi on apache 2.0. In your log, it looks like a library version mismatch as symbols are missing. Good luck, Brian On 5/4/05, Ben Jackson <ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote:> Hi all, > > I followed the HowTo > (http://wiki.rubyonrails.com/rails/show/FastCGI+on+OS+X) and am getting > this error: > > Syntax error on line 279 of /opt/local/apache2/conf/httpd.conf: > Cannot load /opt/local/apache2/modules/mod_fastcgi.so into server: dyld: > /opt/local/apache2/bin/httpd Undefined > symbols:\n_ap_bflush\n_ap_bgetopt\n_ap_block_alarms\n_ap_bwrite\n_ap_copy_table\n_ap_hard_timeout\n_ap_kill_timeout\n_ap_make_array\n_ap_make_table\n_ap_null_cleanup\n_ap_palloc\n_ap_pcalloc\n_ap_psprintf\n_ap_pstrdup\n_ap_register_cleanup\n_ap_reset_timeout\n_ap_restart_time\n_ap_send_http_header\n_ap_spawn_child\n_ap_standalone\n_ap_table_add\n_ap_table_do\n_ap_table_get\n_ap_table_set\n_ap_table_setn\n_ap_table_unset\n_ap_unblock_alarms\n_ap_cpystrn\n_ap_pstrcat\n_ap_pstrndup\n_ap_destroy_pool\n_ap_group_id\n_ap_make_sub_pool\n_ap_signal\n_ap_snprintf\n_ap_sys_siglist\n_ap_user_id\n_ap_user_name\n_ap_popendir\n_ap_push_array\n > > Any idea what might be up? Thanks, > > Ben > > -- > Ben Jackson > Diretor de Desenvolvimento > INCOMUM Design & Conceito > > +55 (21) 9997-0593 > ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org > http://www.incomumdesign.com > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- The years ahead pick up their dark bags. They move closer. There''s a slight rise in the silence then nothing. -- (If you''re receiving this in response to mail sent to bluczkie-OM76b2Iv3yLQjUSlxSEPGw@public.gmane.org, don''t be concerned This is my new address, but mail will be forwarded here indefinitely)
If you''re using Apache 2.0 from DarwinPorts, I suspect "port install mod_fastcgi" will do exactly what you need. - Sam On May 4, 2005, at 6:34 PM, Brian L. wrote: The FastCGI on OSX howto is meant for apache 1.3 (as shipped with panther) and probably doesn''t apply to Apache 2.0 installed via ports. You probably need to build the fastcgi apache module from scratch (using apxs or ports) rather than using the prebuilt one that the howto references and refer to apache2/fcgi docs for installing fastcgi on apache 2.0. In your log, it looks like a library version mismatch as symbols are missing. Good luck, Brian On 5/4/05, Ben Jackson <ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: (deleted for brevity)
Hi, The apache was configured and I created an alias to /myrailsapp/public/ Now I try to run the application and the apache give: -------------- Forbidden You don''t have permission to access /cms/index.html on this server. ------------------------------------------------------------------------ Apache/2.0.50 (Unix) DAV/2 SVN/1.0.6 PHP/4.3.10 mod_fastcgi/2.4.2 Server at 192.168.254.1 Port 8080 -------------------- /What I need to change in .htaccess or dispatch.cgi?? / Pedro Sam Leibowitz escreveu:> If you''re using Apache 2.0 from DarwinPorts, I suspect "port install > mod_fastcgi" will do exactly what you need. > > - Sam > > > On May 4, 2005, at 6:34 PM, Brian L. wrote: > > The FastCGI on OSX howto is meant for apache 1.3 (as shipped with > panther) and probably doesn''t apply to Apache 2.0 installed via ports. > > You probably need to build the fastcgi apache module from scratch > (using apxs or ports) rather than using the prebuilt one that the > howto references and refer to apache2/fcgi docs for installing fastcgi > on apache 2.0. In your log, it looks like a library version mismatch > as symbols are missing. > > Good luck, > > Brian > > > On 5/4/05, Ben Jackson <ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: > (deleted for brevity) > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >-- Pedro C. Valentini pedro-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org +55 (21) 8708-8035