[Trac] FAQ: static pages

osimons.24238619 at bloglines.com osimons.24238619 at bloglines.com
Thu Jul 13 15:11:41 CDT 2006


> > Hi.
> > 
> >> What is /proj/htdocs directory for, and is it documented
anywhere?
> > 
> > See for example:
> > http://trac.edgewall.org/wiki/TracStandalone#Servingstaticcontent

> 
> I see. So htdocs is there for tracd only.
> 

Not at all - it should
work with any setup. I use it for Apache/mod_python in production, and fast_cgi
in my dev/test setup. However, I only use it for projectlogo and similar 'safe'
uses as there is no permission control on the resources through Trac.

Any
file placed inside the project htdocs directory can be referenced as:
.../my-project/chrome/site/projectlogo.jpg


The 'global' Trac htdocs directory is available as:
.../my-project/chrome/common/trac_banner.png


:::simon
- at coderesort dot com



More information about the Trac mailing list