> Hi ...
>
> Thanks to Roberto, I now are able to register apps and relate them when
> mouting, but something is still missing.
>
> This is the main part of my C++ binding :
>
> https://github.com/druppy/spikes/blob/master/cpp/uwsgi/base.cpp
>
> Line 170 is my main request callback, line 148 is the mounting callback
> and line 93 is my register app function.
>
> Now I register an app without a problem, and on mount i bind the app to
> my mount point (as i understand it), and in the request handler I check
> for the appid in the request.
>
> The problem is, the app id is never set.
>
> The config file are here :
>
> https://github.com/druppy/spikes/blob/master/cpp/uwsgi/uwsgi_test.ini
>
> and I use a simple : curl http://localhost:8080/test to see if I could
> end up in the proper app.
>
> But i never get an appid, any idea of why ?
>
> /BL
>
>

hi, with --manage-script-name you intruct uWSGI to search for the appid in
the SCRIPT_NAME variable. In your case that var is not set, you can "fake
it" it with:

route-run = setscriptname:/test

-- 
Roberto De Ioris
http://unbit.com
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to