Page Discussion History

Difference between revisions of "MoinMoin"


Latest revision as of 05:59, 8 February 2012

in moin.wsgi:

 app = make_application(shared=False)

This will let the web server serve the static content like CSS, JS, images.


 location /wiki/moin_static193 {
   alias /path/to/MoinMoin/web/static/htdocs;
 location /wiki {
   gzip off;
   include uwsgi_params;
   uwsgi_param SCRIPT_NAME /wiki;
   uwsgi_modifier1 30;
   uwsgi_pass unix:/path/to/uwsgi.socket;

Should be obvious what this is once you've seen/done the WSGI configuration and read the HttpUwsgiModule documentation.

Uwsgi also needs --ignore-script-name (or equivalent config file setting) for MoinMoin otherwise it'll interpret it as a literal path. Moin doesn't do PATH_INFO very well (or at all).