FastCGI running as an external Application with Apache
Just to help other people new to moin, apache an fastcgi to install and run moin:
- 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>
Modify moin.fcg (>= 1.5.6):
- Change
fcg = thfcgi.FCGI(handle_request, max_requests=max_requests, backlog=backlog, max_threads=max_threads)
byfcg = thfcgi.FCGI(handle_request, 0, 8888, max_requests=max_requests, backlog=backlog, max_threads=max_threads)
- Change
- Use this script to run moin.fcg (it was tested on debian sarge):