~ubuntu-branches/ubuntu/intrepid/moin/intrepid-updates

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnInstalling(2f)FastCgi/revisions/00000001

  • Committer: Bazaar Package Importer
  • Author(s): Sivan Greenberg
  • Date: 2006-07-09 19:28:02 UTC
  • Revision ID: james.westby@ubuntu.com-20060709192802-oaeuvt4v3e9300uj
Tags: 1.5.3-1ubuntu1
* Merge new debian version.
* Reapply Ubuntu changes:
    + debian/rules:
      - Comment out usage of control.ubuntu.in (doesn't fit!).
    + debian/control.in:
      - Dropped python2.3 binary package.
    + debian/control:
      - Dropped python2.3 binary, again.
      - Dropped python2.3-dev from Build-Depends-Indep.
    + debian/patches/001-attachment-xss-fix.patch:
      - Dropped this patch. It's now in upstream's distribution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
                             )
133
133
}}}
134
134
 
 
135
=== Multiple moin processes automatically started by lighttpd ===
 
136
 
 
137
As an alternative to manually starting multiple processes of moin.fcg and assigning a distinct TCP port to each, this task can be delegated to lighttpd itself. The key is to specify "bin-path" option to fastcgi.server, and to allow multiple moin.fcg processes to be started as configured by "min-procs" and "max-procs" options. The hidden trick is that lighttpd will allocate successive TCP port numbers to each process, starting with "port".
 
138
Tested with lighttpd 1.4.10.
 
139
 
 
140
Example:
 
141
{{{
 
142
fastcgi.server = (  "/mywiki" =>
 
143
  (( "docroot"   => "/",
 
144
     "min-procs" => 4,
 
145
     "max-procs" => 4,
 
146
     # allocate successive port numbers for each process, starting with "port"
 
147
     "bin-path"  => "/usr/local/bin/moin.fcg",
 
148
     "host"      => "127.0.0.1",
 
149
     "port"      => 2200,
 
150
     "check-local" => "disable",
 
151
     "broken-scriptfilename" => "enable",
 
152
  ))
 
153
)
 
154
}}}
135
155
 
136
156
=== MoinMoin Startup script ===
137
157
 
200
220
 
201
221
With this script, moin instances will be started automatically on startup.
202
222
 
203
 
 1. Install [http://darwinports.opendarwin.org/getdp/ drarwinports]
 
223
 1. Install [http://darwinports.opendarwin.org/getdp/ darwinports]
204
224
 2. Install DarwinPortsStartup package: {{{
205
225
sudo port install DarwinPortsStartup
206
226
}}}