tnx [image: 👍]

use
manage-script-name = true
mount = /trac=trac_wsgi:application

пятница, 18 марта 2016 г., 15:35:08 UTC+2 пользователь Jun Omae написал:
>
> Hi, 
>
> On Fri, Mar 18, 2016 at 8:59 PM, Рома Слєпчик <[email protected] 
> <javascript:>> wrote: 
> > i think i need receive some parameter over environ, but what it i don't 
> > know. 
> > 
> > my uwsgi config 
> > http = :9090 
> > plugins = python 
> > uid = trac 
> > chmod-socket = 770 
> > chown-socket = trac:www-data 
> > virtualenv = /home/trac/.virtualenvs/envtrac 
> > chdir = /var/www/trac/static/cgi-bin 
> > socket = /run/%n.sock 
> > module = trac_wsgi:application 
> > processes = 2 
> > master = 1 
>
> Try to use manage-script-name parameter like this. It works for me. 
>
> manage-script-name = true 
> mount = /basepath=trac.web.main:dispatch_request 
>
> See 
> http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#hosting-multiple-apps-in-the-same-process-aka-managing-script-name-and-path-info
>  
>
>
> -- 
> Jun Omae <[email protected] <javascript:>> (大前 潤) 
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to