# Solving the problem of the appearance of .egg-cache in the list of projects PythonOption PYTHON_EGG_CACHE "C: / temp /" Alias / trac / chrome / common "C: / usr / local / python / share / trac / htdocs /" <Directory "C: / usr / local / python / share / trac / htdocs /"> Order allow, deny Allow from all </ Directory> # the path by which projects from the browser will be available # example http: // localhost / trac / foo-store <Location "/ trac"> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir "D: / trac-projects /" PythonOption TracUriRoot / trac </ Location> <LocationMatch "/ trac / [^ /] + / login"> AuthType Basic AuthName "Trac projects" AuthUserFile "C: / usr / local / Apache2 / conf / svn / svnpasswd" Require valid-user </ LocationMatch> # test for work mod_python <Location / mpinfo> SetHandler mod_python PythonHandler mod_python.testhandler </ Location>
# Trac config include conf / extra / trac-all.conf
Available Projects - foo-store - another
Source: https://habr.com/ru/post/53757/
All Articles