FastCGI running as an external Application with Apache

Just to help other people new to moin, apache an fastcgi to install and run moin:

  1. Configure apache: for example include this code on your Apache configuration:
    • <IfModule mod_fastcgi.c>
      Alias /moin.fcg "/var/lib/moin/bin/moin.fcg"
      FastCgiExternalServer "/var/lib/moin/bin/moin.fcg" -host localhost:8888
      </IfModule>
  2. Modify moin.fcg (>= 1.5.6):

    • Change
      fcg = thfcgi.FCGI(handle_request, max_requests=max_requests, backlog=backlog, max_threads=max_threads)
      by
      fcg = thfcgi.FCGI(handle_request, 0, 8888, max_requests=max_requests, backlog=backlog, max_threads=max_threads)
  3. Use this script to run moin.fcg (it was tested on debian sarge):
    • moin.sh

MoinMoin: FranciscoRuiz/FastCGIRunningAsAnExternalApplication (last edited 2007-10-29 19:08:42 by localhost)