Hi Emmanuel, <mailto:[EMAIL PROTECTED]> trac environment created with: trac-admin /v01/trac initenv during this config I put test as name of project <Location /trac/test> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv /v01/trac/test PythonOption TracUriRoot /projects/myproject </Location> what should the values be for PythonOption TracEnv PythonOption TracUriRoot Thanks, Brian
________________________________ From: [email protected] on behalf of Emmanuel Blot Sent: Mon 4/9/2007 3:50 PM To: [email protected] Subject: [Trac] Re: Trac HTTPd.cong\browser config > my httpd.conf file is set like this Well, please re-read my previous email. You obvisouly forgot to define TracUriRoot properly. It does not help if you only copy the Apache configuration: I don't know what are the paths on your environment... Basically: trac-admin /path/to/project initenv then your Apache config file should define something like <Location /tracproject> ... PythonOption TracEnv /path/to/project PythonOption TracUriRoot /tracproject </Location> > > <Location /trac/test> > SetHandler mod_python > PythonHandler trac.web.modpython_frontend > PythonOption TracEnv /v01/trac/test > PythonOption TracUriRoot /projects/myproject > </Location> > the error log throws the error below > s.path.join(self.path, 'VERSION'), 'r') > [Mon Apr 09 15:04:28 2007] [error] [client 10.120.116.216] IOError: [Errno > 2] No such file or directory: '/v01/trac/test/VERSION' > > any idea what's wrong with my location directive? > > Thanks, > Brian > > > > > > > > ________________________________ > From: [email protected] on behalf of Emmanuel Blot > Sent: Mon 4/9/2007 3:10 PM > To: [email protected] > Subject: [Trac] Re: Trac HTTPd.cong\browser config > > > > > > > I set /projects/myproject = /trac/test > > and /var/trac/myproject = /v01/trac/test > > I'm not sure to understand what you meant with these lines ^^^ > > > my trac is in /v01/trac, what should PythonOption TracEnv and Location > > /projects/myproject be set to? > > you need something like: > > <Location /x> > ... > PythonOption TracUriRoot /x > </Location> > > BTW, please refrain from posting HTML emails to the ML. Thanks in advance > Manu > > > > > -- Manu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
