<Location /projects> SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir /home/projects PythonOption TracUriRoot /projects PythonOption PYTHON_EGG_CACHE /tmp/egg-cache </Location>
I configured correctly? 在 2016年5月6日星期五 UTC+8上午1:34:45,RjOllos写道: > > On Thursday, May 5, 2016 at 1:48:49 AM UTC-7, [email protected] <javascript:> > wrote: >> >> <Location /projects> >> SetHandler mod_python >> PythonInterpreter main_interpreter >> PythonHandler trac.web.modpython_frontend >> PythonOption TracEnvParentDir /var/trac >> PythonOption TracUriRoot /projects >> </Location> >> >> >> *TracEnvParentDir *What should I fill out this path? >> >> > It's the path to the parent directory of your environment directory. > > For example, if your environment is located at /var/trac/myproject, then > TracEnvParentDir should be /var/trac > > If you are hosting only a single project/environment, you can use > TracEnvDir instead. In the previous example TracEnvDir would be set to > /var/trac/myproject. > > https://trac.edgewall.org/wiki/TracModPython#VirtualHostConfiguration > > - Ryan > > > -- 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.
