Apache config is rather default.
I''m running Apache 2.2 on one server and 1.3 on the other
I''m using mod_fastcgi on both case, never heard of mod_fcgid before.
but I
see it as an available ports.
I got everything to work fine on FreeBSD/Apache 2.2, but I had to modify
camping code.
I moved everything the other server RH/Apache 1.3, and everything crash the
hell out. under CGI it worked not too bad. but its slow and we cannot use
multipart/form-data on CGI. under FastCGI, I got all kind of error.
but mostly crashing on this line.
class NotFound < R()
because R() always return a new Class instance and for some reason that code
was executed more than once.
about the config again, well.
LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so
AddModule mod_fastcgi.c
<Directory /home/mathieu/public_html_host.com/>
AddHandler cgi-script .cgi
AddHandler fastcgi-script .fcgi
AddHandler fastcgi-script .rb
Options +FollowSymLinks +ExecCGI -Includes
Order deny,allow
Allow from all
</Directory>
there is not much to configure, just enable fastcgi for the vhost.
the idea of running a camping app under apache/fastcgi is that it does not
require configuration.
I just drop the file by FTP for example, et voila.
thanks and good luck.
On 8/1/06, Jonas Pfenniger <zimba.tm at gmail.com>
wrote:>
> Also :
>
> server == ''Apache 1'' or server == ''Apache
2''
>
> if server == ''Apache 2''
> fcgi == ''libapache2-mod-factcgi'' or fcgi ==
''libapache2-mod-fcgid''
> end
>
> On 01/08/06, Jonas Pfenniger <zimba.tm at gmail.com> wrote:
> > On 01/08/06, Mathieu Jobin <mathieu at justbudget.com> wrote:
> > > trying to get the example blog running under Apache/FastCGI with
> Camping
> > > 1.4.143
> >
> > Can you post your Apache configuration too ? I''ll give it a
try.
> >
> > --
> > Cheers,
> > zimbatm
> >
> > http://zimbatm.oree.ch
> >
>
>
> --
> Cheers,
> zimbatm
>
> http://zimbatm.oree.ch
> _______________________________________________
> Camping-list mailing list
> Camping-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
--
gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o
-lruby-static
-ldl -lcrypt -lm -o ruby
Everyone is trying their hardest to do their job but management has set it
up so that it''s impossible.
Take the control over your money, track your expenses http://justbudget.com
Mathieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/camping-list/attachments/20060802/fcfd2b91/attachment.html