On Thu, Jan 22, 2009 at 8:53 AM, Steve Warin <[email protected]> wrote: > > Hi there, > > I'm installing Trac in order to evaluate it against other issue > tracking software. I've had a search through previous posts on this > discussion list but to no avail. > > All seems to work fine until the final stage of running Trac from a > web browser using Apache with mod_python. The "Available projects" > page displays the (so far single) project but clicking on the project > link (or entering the URL in the browser address line) will not > display the project. Details follow: > > Platform is Windows 2008 Server > > I've installed... > Collabnet Subversion Server 1.5.5 (which installs Apache 2.2.8) > Python 2.5 > Setuptools V0.6c7 for Python 2.5 > Genshi 0.5.1 for Python 2.5 > Python bindings for Subversion 1.5.5 and Python 2.5 > Trac (Release 0.11.2.1) Windows installer > > There is a Subversion repository set up for the project, working fine. > > I created directory C:\trac-projects to hold multiple Trac projects, > and used trac-admin to create an environment "Survey_2007" as below: > trac-admin c:\trac-projects\Survey_2007 initenv > Project name [My Project]> Survey_2007 > Database connection string [sqlite:db/trac.db] [default selected] > Repository type [svn]> [default selected] > Path to repository [/path/to/repos]> c:/svn_repositories/ > Survey_2007 > > Testing with the tracd stand-alone server works fine using URL "http:// > localhost:8000/Survey_2007", and integrates with the svn repository. > > Then I added the following to the Apache httpd.conf file: > > # Added code start ----- > <Location /projects> > SetHandler mod_python > PythonInterpreter main_interpreter > PythonHandler trac.web.modpython_frontend > PythonOption TracEnvParentDir C:\trac-projects > PythonOption TracUriRoot /projects > PythonDebug on > </Location> >
Auth is missing here ... isn't it ? > <Location /projects/Survey_2007> > SetHandler mod_python > PythonInterpreter main_interpreter > PythonHandler trac.web.modpython_frontend > PythonOption TracEnv C:\trac-projects\Survey_2007 > PythonOption TracUriRoot /projects/Survey_2007 > PythonDebug on > </Location> > This should not be necessary ... Trac already handles requests sent to this location ... Try removing this ... ;) -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: Mirando la web de una forma distinta con Google Visualization API --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
