The option is "http-modifier1" (the uwsgi protocol has two "modifier" values, modifier1 and modifier2): https://uwsgi-docs.readthedocs.org/en/latest/Options.html#http-modifier1
So try uwsgi --http-modifier1=9 ... > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Gilles > Sent: 25. helmikuuta 2014 18:02 > To: [email protected] > Subject: Re: [uWSGI] Newbie question about uwsgi/uWSGI + Lua > > On Tue, 25 Feb 2014 15:54:00 +0000, Aarni Koskela > <[email protected]> wrote: > > >The default modifier for `http` is 0, that is, HTTP is mapped to Python/WSGI > apps (despite whatever plugins are loaded). > > > >Use `--http-modifier1` to set the modifier for http. CGI's modifier1 value > seems to be 9 and Lua's seems to be 6. > > > >You can also use `--remap-modifier` to remap modifier1 numbers, if that's > better suited for your use. > > > > Thanks Aarni, still no go: > > # ./uwsgi --http :8000 --http-modifier1 --uid nobody --gid nogroup --check- > static /tmp/uwsgi-2.0/www unable to load configuration from nobody > > # ./uwsgi --http :8000 --http-modifier 1 --uid nobody --gid nogroup --check- > static /tmp/uwsgi-2.0/www > ./uwsgi: option '--http-modifier' is ambiguous > getopt_long() error > > Searched the wiki for "http-modifier" or "remap-modifier": "Your search did > not match any documents. Please make sure that all words are spelled > correctly and that you've selected enough categories." > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
