Thanks, Manu, for your direction. That sure did the trick. Thanks also for your security recommendation. What's recommended application tree, given an apache DocumentRoot of /www? Will this work well?
/trac - trac static pages (with bin, lib, share dir's and VERSION file) /www/Projects - pages for all projects /www/Projects/MyProject - pages for MyProject within projects Can I just move the Trac static and MyProject area without re-installing? Much appreciated. Thanks, Hamid. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Blot Sent: Monday, August 06, 2007 10:33 AM To: [email protected] Subject: [Trac] Re: Start Page Resources Not Found FWIW, your settings are potentially unsecure: you've installed your Trac environment within a subtree that can be served by Apache. Usually a bad idea, as someone could access your trac.ini file or the whole DB. If everything under /www can be served by Apache as static web pages, you'd better move your Trac environment(s) out of it. Try setting htdocs_location = /trac/share/trac/htdocs anyway, I would suggest you review the whole configuration. Cheers, Manu On 8/6/07, Hamid Majidy <[EMAIL PROTECTED]> wrote: > > Thanks for the response Manu. From httpd.conf: > DocumentRoot "/www" > > <Directory /www/trac/MyProject> > SetHandler mod_python > PythonInterpreter main_interpreter > PythonHandler trac.web.modpython_frontend > PythonOption TracEnv /www/trac/MyProject > PythonDebug on > </Directory> > > From /www/trac/MyProject/conf/trac.ini: > htdocs_location = > > I don't recall the above line from the instructions. Also, the start page > looks find when opened from another link. > > Regards, > Hamid. > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Emmanuel Blot > Sent: Monday, August 06, 2007 7:09 AM > To: [email protected] > Subject: [Trac] Re: Start Page Resources Not Found > > > > Can anyone see the problem? > > You need to add a rule to your Apache config if you want Apache to > serve the static files that comes with Trac - so that Apache knows > that static files are stored in /www/trac/share/trac/htdocs. Moreover, > the /trac/MyProject part of the URL seems weird, what's your > "htdocs_location" parameter value (from trac.ini) ? > > Cheers, > 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 -~----------~----~----~----~------~----~------~--~---
